- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Single user mode startup problem.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 08:36 AM
тАО04-04-2005 08:36 AM
Could you please advice what to do.
I try to login to the system (Red Hat 9) in the single user mode by editing boot process (I add "e" at the end of the line). But when the system goes up at the miidle of the process I get the message:
"Give a root password for maintenance or Cntr-D for normal startup". If I press CNTR-D the system goes in the regular mode (not in the single user). And I don't know the root password. How can I startup or to change root password in that case?
Please help me. I'll be really grateful for any advice.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 09:27 AM
тАО04-04-2005 09:27 AM
SolutionYou must give the root password to boot into single user mode.
If you don't know the root password, then you should boot of a rescue cd and modify the /etc/shadow file for root, then set the root password to something you know.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 05:23 PM
тАО04-04-2005 05:23 PM
Re: Single user mode startup problem.
For example, at the lilo prompt, type:
lilo: linux init=/bin/bash
This should get you into Single user mode with no password.
Then you could ofcourse use, at the lilo prompt (better) :
lilo: linux single
If you type the "e", it would get you in "emergency mode" which is not quite the same as single user-mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 05:33 PM
тАО04-04-2005 05:33 PM
Re: Single user mode startup problem.
Init 1 won't prompt for password,but will let you easily change it.
So edit the boot line (the one with kernel) in /etc.grub.conf
append 1 to it's end and boot this line (press b).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 08:25 AM
тАО04-05-2005 08:25 AM
Re: Single user mode startup problem.
Actually I couldn't start in the single user mode anymore, but I could mount /etc and change /etc/passwd file, so I could login without root's password and then to change it.
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 08:27 AM
тАО04-05-2005 08:27 AM