[Tfug] How to allow the user to reboot?

Paul Scott waterhorse at ultrasw.com
Fri Nov 9 22:08:53 MST 2007


jblais wrote:
>> In sudoers, I modified the sample line to look like this:
>>
>> %joeb  ALL=/sbin/shutdown -h now  NOPASSWD: ALL
>>
>> joe
>>
>>     
>
> well the above didn't compile so i looked at man sudoers and they have an
> example like
>
>
>
> ray  rushmore = NOPASSWD:  /sbin/shutdown
>
> They mention that 'ray' is a user, but what the heck does Mt Rushmore have
> to do with it???
>   
According to "man sudoers" the second item on the line is the computer name.

Paul Scott





More information about the tfug mailing list