- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to reset the root password on Linux RedHat Adv...
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
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
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
тАО03-24-2006 02:34 AM
тАО03-24-2006 02:34 AM
how to reset the root password on Linux RedHat Advenced Server
How can I Reset the Linux RedHat Advenced Server root password on DELL PowerEdge 2650 ?
thnaks for helping me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2006 02:45 AM
тАО03-24-2006 02:45 AM
Re: how to reset the root password on Linux RedHat Advenced Server
At the GRUB prompt, press "a"
Then type in single
Then ENTER
You will start the server in single user. You can use the passwd command.
If the "a" is not available, Select the kernel that you want to boot, and press "e".
Edit the kernel entry and add the word single to the parameters.
Press "b" to boot the kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2006 08:28 AM
тАО03-24-2006 08:28 AM
Re: how to reset the root password on Linux RedHat Advenced Server
If it does, then see if you can scrounge up a first CD of the install set (of this OS or any of the fedora's), and boot up in 'rescue' mode. 'chroot /sysimage', and then use 'passwd' to change the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2006 08:50 AM
тАО03-24-2006 08:50 AM
Re: how to reset the root password on Linux RedHat Advenced Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2006 12:58 PM
тАО03-24-2006 12:58 PM
Re: how to reset the root password on Linux RedHat Advenced Server
root:$1$K.E7S.3T$u.yijiy92l./q.ALX5a6n1:13115:0:99999:7:::
Remove the text between the first two ":" and leave the line like this:
root::13115:0:99999:7:::
Unmount the filesystem and reboot without the boot disk. Now the root account will not ask for a password. Set it immediately with the "passwd" command and you're done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2006 11:47 PM
тАО03-25-2006 11:47 PM
Re: how to reset the root password on Linux RedHat Advenced Server
If you are using GRUB, use the following steps to boot into single-user mode:
1. If you have GRUB password configured, type p and enter the password.
2. Select Red Hat Linux with the version of the kernel that you wish to boot and type 'e' for edit. You will be presented with a list of items in the configuration file for the title you have selected.
3. Select the line that starts with kernel and type 'e' to edit the line.
4. Go to the end of the line and type 'single' as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode.
5. Back at the GRUB screen, type 'b' to boot into single-user mode.
6. After that issue the command "passwd root" give your new password.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2006 07:26 AM
тАО03-26-2006 07:26 AM
Re: how to reset the root password on Linux RedHat Advenced Server
This one goes in my bookmarks.
Nothing more to add. Give the contributors bunny.
Shalom GNOM
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
тАО03-26-2006 08:48 PM
тАО03-26-2006 08:48 PM
Re: how to reset the root password on Linux RedHat Advenced Server
I have assigned points to 0 of 21 responses to my questions. Please assign points who helped you.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2006 09:11 PM
тАО03-26-2006 09:11 PM
Re: how to reset the root password on Linux RedHat Advenced Server
I think the best will be to add init=/bin/bash at the end of the kernel line in Grub. Under other distribution like Debian, the single mode prompt you for the password. With init=/bin/bash, no prompt for password.
Regards,
Pierre-Damien / SCC