[Gambas-user] An Issue With Shell command and sudoers rules

Jorge Carrión shordi at ...626...
Fri May 26 00:30:52 CEST 2017


Thanks Lee. I think I've solved it. The solution is in that line.

Best Regards.

El 25 may. 2017 4:47 p. m., "T Lee Davidson" <t.lee.davidson at ...626...>
escribió:

> Disable (ie. comment out) targetpw and the "ALL  ALL=(ALL) ALL" line in
> /etc/sudoers.
>
> Then you should probably allow regular users to execute only certain
> commands with something like:
> %users  ALL=/home/adminuser/bin/comando.sh
> or a special group for 'privileged' users:
> %wheel  ALL=/home/adminuser/bin/comando.sh
>
> See:
> https://www.novell.com/support/kb/doc.php?id=7002705
>
> --
> Lee
>
>
> On 05/25/2017 05:13 AM, Jorge Carrión wrote:
> > Oh... well, I'm afraid that I've a mistake.
> >
> > All of this isn't a gambas issue.
> >
> > BUT if someone knows a way to let a non-sudoer user to update the system
> > without know the admin password I'll be very grateful .
> >
> > Sorry for the noise.
> >
> > Best Regards
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list