Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-28-2004, 04:58 AM   #1
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
poweroff with own user

How can I shutdown my computer without using root in tty?
Old 12-28-2004, 07:01 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 232Reputation: 232Reputation: 232
Set it up securely using and setting up sudo for you user.
Old 12-28-2004, 07:07 AM   #3
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Poweroff as user Murdock1979 Slackware 18 07-21-2008 05:18 AM
poweroff and shutdown with own user jaakkop Linux - General 6 12-29-2005 10:07 PM
enabling poweroff/reboot for user YBA^[x] Slackware 11 12-13-2004 02:04 AM
giving a user poweroff permission Goatdemon Slackware 7 07-19-2003 06:21 AM
poweroff praveen_2003 Linux - Software 1 07-13-2003 01:31 PM

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration