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

2017-05-25 Thread Jorge Carrión
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" 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 certa

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

2017-05-25 Thread T Lee Davidson
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/adminus

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

2017-05-25 Thread Jorge Carrión
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 2017-05-25 10:16 GMT+02:00 Jorge Carrión : > In our

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

2017-05-25 Thread Jorge Carrión
In our company, users are "standard" users, they can't update or make administratives jobs. There is another user (the admin user) that can do all that things... but users doesn't know the admin password. Searching make standard users being able of update the sistem I've created this script on admi