Computing.Net > Forums > Solaris > Netra: Reset root password - Mount

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.

Netra: Reset root password - Mount

Reply to Message Icon

Name: Sundar
Date: August 19, 2003 at 18:19:57 Pacific
OS: Solaris
CPU/Ram: sun4u/128MB
Comment:

I am trying to reset the root password of a Solaris 7 box using a Solaris 9 boot disk.

I have booted in single user mode. I am trying to mount the disk so that I can clear the root password. My "mount" command is failing

mount /dev/rdsk/c0t0d0s0 /mnt
mount: /dev/rdsk/c0t0d0s0 not a block device


Any help?



Sponsored Link
Ads by Google

Response Number 1
Name: Sundar
Date: August 19, 2003 at 21:20:56 Pacific
Reply:

Did some reading after that. Figured out I should mount the block logical device. I did

mount /dev/dsk/c0t0d0s0 /mnt

and it worked. vi'ed the shadow file and deleted the 13 char encrypted password and viola, I am in.

-Sundar


0

Response Number 2
Name: joseph_198
Date: September 9, 2003 at 19:02:56 Pacific
Reply:

hi sir

When you boot for cdrom the mount point is not /mnt is /a please check this

in the ok prompt boot -sw cdrom

mount /dev/dsk/c0t0d0s0 /a
set the variable TERM
TERM=vt100
export TERM
vi /a/etc/shadow
and is the password file erase all this looks like that
root::User Root:.....

bye


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 Solaris Forum Home


Sponsored links

Ads by Google


Results for: Netra: Reset root password - Mount

How to reset root password Ultra5? www.computing.net/answers/solaris/how-to-reset-root-password-ultra5/3864.html

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

Netra T1 without password www.computing.net/answers/solaris/netra-t1-without-password/3718.html