[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re:



Valter Toffolo wrote:

>2005/8/28, Kent West <westk@acu.edu>:
>  
>
>>Prabu Subroto wrote:
>>    
>>
>>>How can I do to make the non-root user can shutdown and reboot a
>>>debian  box.
>>>      
>>>
>>Depends on how X is being started: "startx"? xdm? gdm?
>>    
>>
>you can set /etc/inittab so ctrl+alt+del shutdown instead of rebooting...
>look for a line like
>
># What to do when CTRL-ALT-DEL is pressed.
>ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
>
>and change to
>
>ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
>  
>

But only from the console; different Window Managers tend to have their
own meaning for that key sequence.

-- 
Kent



Reply to: