LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   poweroff with own user (https://www.linuxquestions.org/questions/linux-general-1/poweroff-with-own-user-271074/)

jaakkop 12-28-2004 04:58 AM

poweroff with own user
 
How can I shutdown my computer without using root in tty?

trickykid 12-28-2004 07:01 AM

Set it up securely using and setting up sudo for you user.

heema 12-28-2004 07:07 AM

you can put in sudoers file the shutdown without password.
after that, you call shutdown.
Open a root terminal and type `visudo'. This will open the config file for sudo.

bob ALL=(ALL) NOPASSWD:/sbin/shutdown


All times are GMT -5. The time now is 04:55 AM.