[ale] shutdown as non-root

Thomas Holmquist fishy at ipa.net
Thu Apr 10 23:54:40 EDT 2003


well I wouldent want non-root to be able to shutdown my server, but this 
is a single user laptop (im the only person that uses it, so it really 
isnt a big deal...)

Douglas Bridges wrote:

>Do you really want non-root users to be able to shut down the machine without 
>having explicit authorization to do so? However, one way to do it is by using 
>a "wheel" group that has permissions.  You can read about it at 
>http://www.linuxgazette.com/issue36/tag/24.html
>
>Doug
>
>On Thursday 10 April 2003 11:32 pm, Thomas Holmquist wrote:
>  
>
>>But thats icky ;)
>>
>>there HAS to be something built-in to shutdown that allows non-users to
>>shutdown :-/
>>
>>James S. Cochrane wrote:
>>    
>>
>>>sudo is your friend.
>>>
>>>James
>>>
>>>At 11:16 PM 4/10/03 -0400, you wrote:
>>>      
>>>
>>>>How can I set my laptop so a non-root user can shut it down (
>>>>shutdown -h now )
>>>>
>>>>Heres what I get when I try to shutdown now:
>>>>
>>>>thomas at inspiron:~$ shutdown -h now
>>>>shutdown: you must be root to do that!
>>>>
>>>>
>>>>_______________________________________________
>>>>Ale mailing list
>>>>Ale at ale.org
>>>>http://www.ale.org/mailman/listinfo/ale
>>>>        
>>>>
>>>_______________________________________________
>>>Ale mailing list
>>>Ale at ale.org
>>>http://www.ale.org/mailman/listinfo/ale
>>>      
>>>
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>>http://www.ale.org/mailman/listinfo/ale
>>    
>>
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>  
>


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list