[Gambas-user] An Issue With Shell command and sudoers rules
T Lee Davidson
t.lee.davidson at ...626...
Thu May 25 16:46:11 CEST 2017
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
More information about the User
mailing list