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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to