Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-11-2004, 03:46 PM   #1
Registered: Feb 2003
Posts: 47

Rep: Reputation: 15

k, I'm running slackware and when I exit, i would like to not only end X, but reboot the machine. As it stands now, I exit, and go into tty1, then have to exit, sign in as root and type reboot. Its not the end of the world, but rather annoying. What can I change? I tried changing the permissions for reboot and halt to include users, but that didn't work.

Any solutions?

Old 04-11-2004, 03:53 PM   #2
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
man su
man sudo

Old 04-11-2004, 05:18 PM   #3
Registered: Feb 2004
Location: New York City
Distribution: Debian
Posts: 97

Rep: Reputation: 15
if you open an terminal, you can su (or use sudo) to a user with the level of permissions necessary to halt. You do not need to logout, it wiil log you out as everything changes runlevel.
Old 04-11-2004, 05:21 PM   #4
Registered: Jan 2004
Location: The land of the free and the home of the brave
Distribution: Slack 10
Posts: 239

Rep: Reputation: 30
Or you can type "shutdown -r now" as root in console.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rebooting into a different OS apberzerk Linux - General 2 02-04-2004 08:42 AM
Need help rebooting SynnerST Slackware 5 10-29-2003 11:21 AM
Self Rebooting System hubergeek Linux - General 2 06-11-2003 09:36 PM
Shutdown -h Rebooting shusseina Linux - Software 5 05-25-2003 06:13 AM
rebooting to a cd lot2learn Linux - Software 6 07-19-2001 10:29 AM

All times are GMT -5. The time now is 09:51 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