This is a discussion on Recovering redhat LINUX (RHEL) root password within the Linux software forums, part of the Linux Getting Started category; Hello, Also i want to know the procedure for recovering redhat root password. Sorry for new question but i am ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hello,
Also i want to know the procedure for recovering redhat root password. Sorry for new question but i am new to linux hope some one point out or help out Regards RAJ SYS ADMIN, INDIA |
| Sponsored Links | ||
|
|
|
|||
|
Boot with the install CD/DVD and choose linux rescue.
It will bring you to the sh3.0# prompt. The partitions in your harddisk are mounted under /mnt/sysimage. You can either go to this directory and issue the following command Code:
cd /mnt/sysimage chroot . # ( see the (.) dot here) passwd New password for root Retype New password Code:
cd /mnt/sysimage cd etc vi passwd # ( you can edit the root informantion by removing the x in the root:x:..........................) I am not sure if this setup works in harddisks setup with LVM and/or RAID partitions. ricc |
|
||||
|
@ricc, good work
@Raj, more urls from our site to help you out: http://www.cyberciti.biz/faqs/2006/0...t-password.php http://www.cyberciti.biz/nixcraft/vi...oot-loader.php
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to change root password | sandromax | Solaris/OpenSolaris | 4 | 10-11-2007 03:43 AM |
| RHEL - redhat linux pen drive mount command | harshala09 | Linux hardware | 4 | 09-03-2007 08:34 PM |
| Redhat Enterprise Linux RHEL - Start service on boot | chimu | Getting started tutorials | 0 | 01-26-2007 08:29 PM |
| Allowing root login in RHEL 4 | ricc | Linux software | 3 | 09-12-2006 04:28 PM |
| I forgot my root password, how do I get into my system? | toor | Linux software | 2 | 07-06-2006 12:59 PM |