SUMMARY: Locked out of sun station

From: Long, Michael (MLONG@karmax.com)
Date: Tue Apr 16 1996 - 15:58:00 CDT


>We changed our root password last Friday. Now after rebooting, we can't
>login in on any account. Any ideas?
>
>The machine is our main DNS server running Solaris 2.5

My /etc/shadow file was corrupt (don't ask me how)! Here's how I
recovered:-

1. bring down the machine: STOP - A
2. boot cdrom single user: boot cdrom -sw
3. mount root partition: /dev/dsk/c0t3d0s0 /a
4. vi shadow and make the
    passwd field blank vi /a/etc/shadow
    ..
    ..
    root:xxx32432wft32z:444:::::
    "remove encripted password info"

5. Reboot cd /
     umount /a
     reboot

Many thanks to the following:-

Karen Svirsky
Fedor Gnuchev
Umesh Vaghela
Thomas Koetter
Henry Katz
Marcos Morales
Kevin Thomas
John Bradley
Srinivasa Yalavarthy
Feng Qiu
Pepper
Stephen
Chad
Edward Zimmermann
Alan Ronemus
Colin F. Melville
Mark Sturtevant

                      

Michael Long.
Operations Analyst
Karmax Heavy Stamping.
mlong@karmax.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:57 CDT