Computing.Net > Forums > Solaris > Lost Root pwd and cannot boot from CD

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.

Lost Root pwd and cannot boot from CD

Reply to Message Icon

Name: Cammy
Date: June 4, 2002 at 04:12:12 Pacific
Comment:

Hey guys HELP!!

I have lost the ROOT passwd to my Netra T1 running Solaris 8. I have followed other posts on here but they don't mention the problem I am having.

Once I boot from the CD I am getting the following prompt:

Type CTRL-D to proceed with normal startup,
(or give ROOT password for system maintainance.)

I still need to give ROOT passwd and cannot get into edit the Shadow passwd file!! V Frustrating!!

Any help most appreciated!
Cheers

Cammy



Sponsored Link
Ads by Google

Response Number 1
Name: sithlord
Date: June 4, 2002 at 09:39:24 Pacific
Reply:

Hey dude do a stop +a then at the prom promt type boot -s this wil boot the system in single usermode and you dont have to suply the root password then you can change the password with passwd


0

Response Number 2
Name: Cammy
Date: June 4, 2002 at 09:53:17 Pacific
Reply:

Hey Sithlord,

I have tried what you suggest but its still coming up with the following:

'Type CTRL-D for to proceed with normal startup, (or enter root password for system maintenance'

Its a Netra T1 running Solaris 8.

Thanks

Cammy


0

Response Number 3
Name: daver
Date: June 5, 2002 at 08:26:07 Pacific
Reply:

try this

boot cdrom -s

this should get you to root.

after that you can change the passwd

you might have to mount your root partition in order to change it cause it will probably not let you if you dont mount it

use something like:


(you need to find out where your root drive is located, might not be c0t0d0s0)

mount c0t0d0s0 /mnt

cd /mnt

ls (you will see the root partitiion of your netra)


0

Response Number 4
Name: Wroytee
Date: June 6, 2002 at 14:51:35 Pacific
Reply:

You have to use cdrom 1 of 2 to recover root password
1. boot cdrom -s from ok prompt
2. mkdir /tmp/a
3. mount /dev/dsk/c0t0d0s0 /tmp/a
4. cd /tmp/a/etc
5. TERM=vt100; export TERM
6. vi shadow
7. delete 13 characters from "root" line
8. reboot
This is the right way, the above were leaving a lot out. Send me an email if you want questions answer.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


unable to mount CDROM solaris8 x86 equievelent ...



Post Locked

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


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Lost Root pwd and cannot boot from CD

Lost root password and unable to mount! www.computing.net/answers/solaris/lost-root-password-and-unable-to-mount/81.html

cannot boot from cdrom www.computing.net/answers/solaris/cannot-boot-from-cdrom/4656.html

Cannot boot from Disk or CDROM www.computing.net/answers/solaris/cannot-boot-from-disk-or-cdrom/4366.html