Download your favorite Linux distribution at LQ ISO.
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 08-25-2003, 06:57 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
RedHat 9 SIngle-User Mode

Dear Everyone

I am using RedHat 9, GRUB boot loader.

I have two questions.

First question. I would like to know how one can boot to single-user mode. I know that I can use "init 1", or "telinit 1" to transfer to single-user mode. Is this the only way? When I was using Solaris I used something like "reboot -- -s" to reboot to single user mode. I have read the man page but could not find any way to reboot to single-user mode. Is there any way to interact with GRUB to boot to single-user mode?

Second question. When I log in GNOME as a normal user, I can still shutdown the system or reboot the system using the menu in the GNOME X-window interface. To prevent this I change the permission of shutdown, halt commands in /sbin. Now I cannot shutdown the system if I am logon as a normal user. But I still can shutdown the system from the logon window using the menu given below on the logon window. Isn't this a security problem?
Old 08-25-2003, 07:01 AM   #2
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
to enter single user mode from grub press e to edit grub kernel arguement and add 'single' and press b to boot.
Old 08-25-2003, 10:37 AM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Booting into Single-User Mode

As for the shutdown question, you can take a look at the MAN page for the shutdown command.


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
single user mode... navaladi Mandriva 2 12-26-2004 02:41 AM
single user mode in GRUB isaac_linux Linux - General 1 04-03-2004 09:27 AM
single user mode ? wr3ck3d Slackware 5 03-29-2003 09:52 AM
Single User Mode From GRUB medamnit Linux - Newbie 3 05-20-2002 05:08 AM
What is single-user mode?? rbanonuevo Linux - Newbie 4 01-28-2002 12:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:32 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
Open Source Consulting | Domain Registration