Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP: Typo in passwd file

Status
Not open for further replies.

cp2000

Technical User
Dec 31, 2002
81
US
Apparently I made a typo in my passwd file. I put an invalid entry for the root shell. Now I have no root access. This is a new system so if all is lost, I can cope. But it will be quite a lose of time. I cannot login the regular conole. I have tried single user mode. Is hteree a way to boot off of the installation CD?
 
Do not use the installation CD... Use the software CD and enter:

ok> boot cdrom -s

You will be in /tmp/root.
Create a mount point: mkdir /tmp/root/mnt0
Mount the root partition: mount /dev/dsk/c0t0d0s0 /tmp/root/mnt0
cd /tmp/root/mnt0/etc

proceed from there.
 
Worked like a Champ!!! THNX!! I just don't do it often enough to remember how. I think the last time was mid-90's
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top