Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   my (simple) sudoers doesn't work (http://www.linux-archive.org/debian-user/406167-my-simple-sudoers-doesnt-work.html)

Tom H 07-30-2010 11:26 AM

my (simple) sudoers doesn't work
 
On Fri, Jul 30, 2010 at 6:43 AM, Gauthier Vandemoortele
<gauthier.v@skynet.be> wrote:
>
> * *STOP ALL= NOPASSWD: SLEEP, HALT, REBOOT

The one thing that jumps at me is that you don't have a "run as" user set

STOP ALL= (root) NOPASSWD: SLEEP, HALT, REBOOT


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimvCkK8EJkU9xGJ_S33U7kSgw1o5wq91Wp8B2cs@mail .gmail.com">http://lists.debian.org/AANLkTimvCkK8EJkU9xGJ_S33U7kSgw1o5wq91Wp8B2cs@mail .gmail.com

Gvdmoort 07-31-2010 09:31 AM

my (simple) sudoers doesn't work
 
Le ven 30 jui, Gauthier Vandemoortele m'a écrit:
> # Cmnd alias specification
> Cmnd_Alias SLEEP = /usr/sbin/acpitool -S
> Cmnd_Alias HALT = /usr/sbin/halt
> Cmnd_Alias REBOOT = /usr/sbin/reboot


I'm sorry, you can disregard this post, it was only mistakes in the
path of the command (take care of copy-paste...):

Cmnd_Alias SLEEP = /usr/bin/acpitool -S
Cmnd_Alias HALT = /sbin/halt
Cmnd_Alias REBOOT = /sbin/reboot

Regards,
--
Gauthier


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100731093156.GA2920@fantasio.champignac">http://lists.debian.org/20100731093156.GA2920@fantasio.champignac


All times are GMT. The time now is 12:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.