Computing.Net > Forums > Unix > Proplems with root password. CANT GET IN

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Proplems with root password. CANT GET IN

Reply to Message Icon

Name: Collin
Date: April 23, 2002 at 05:57:13 Pacific
Comment:

Last night something happened to my Unix (SCO) machine and now I cannot login as root. The date on the /etc/passwd file is about 3 weeks old and I didn't change the password. Does anyone know how to fix this? I can still log in as a regular user, but not as root. Please help!



Sponsored Link
Ads by Google

Response Number 1
Name: PaulS
Date: April 24, 2002 at 08:56:21 Pacific
Reply:

In general, you'll have to boot the system off something other than the system disk. A cdrom, etc.

Then mount the root filesystem on say /mnt.
At that point you can cd into /mnt/etc and get at the passwd file (or shadow file since the password is encrypted there in many SVR4 versions of unix).

Either restore a known good passwd file or use vi to remove the encrypted passwd field for root (no passwd set).


0

Response Number 2
Name: Freddie
Date: May 4, 2002 at 16:33:12 Pacific
Reply:

What about passwd -d root in single user
mode??

fred


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Proplems with root password. CANT GET IN

Root Password Deactivation www.computing.net/answers/unix/root-password-deactivation/3045.html

AIX 4 root password problems www.computing.net/answers/unix/aix-4-root-password-problems/5889.html

lost root password www.computing.net/answers/unix/lost-root-password/1726.html