![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| root passwd expiration on AIX | aixguy | AIX | 3 | 06-30-2009 03:03 AM |
| How to set new Root Passwd | gini | SUN Solaris | 2 | 12-05-2006 04:33 PM |
| Recover root passwd | gini | SUN Solaris | 5 | 11-29-2006 08:09 AM |
| Need to change root passwd | mayewil | UNIX for Dummies Questions & Answers | 4 | 10-27-2006 06:03 PM |
| Preventing passwd root? | scottsl | UNIX for Advanced & Expert Users | 4 | 01-06-2006 12:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
|||||
|
Not sure what rhel4 means, though.
I seem to recall that one way around this is to boot the server from the op console port in single-user mode, and then to reset the password. When starting in this mode, you should not get a password prompt. |
|
|||||
|
Quote:
![]() |
|
||||
|
IS the filesystem mounted RW? if not remount it with
mount -o remounnt,rw / Check the permission of /etc/shadow and /etc/passwd Do history and see what commands were run related passwd tail /var/log/messages and see related messages. Post here if u dont understand. Good luck! |
|
||||
|
Without being crazy enough to test my hypothesis, this is only speculation, but if you have removed the shadow file, I wouldn't be too surprised if that's the reason you get this error.
Do you have a backup? Can you recreate it somehow? The customary solution is to boot into single user (perhaps from a CD or USB stick) and edit the /etc/passwd or /etc/shadow file to have an empty password field for root. Then boot the regular system, log in as root, and set a new password. |
![]() |
| Bookmarks |
| Tags |
| linux, solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|