Computing.Net > Forums > Solaris > Resetting a lost root password

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Resetting a lost root password

Reply to Message Icon

Name: Diego Rodriguez
Date: June 8, 2005 at 00:30:09 Pacific
OS: Solaris 8
CPU/Ram: Ultra 5
Comment:

I have a SUN Ultra 5 with Solaris 8 but I don´t have the root password. I have booted the station with the option "boot cdrom -s" with the Solaris 8 installation CD. I have mounted the /dev/c0t0d0s0 partition and I have tried to edit the /etc/passwd file with the vi editor. But each time I want to save the changes made using the w! option an error appears telling me that the file system is Read Only. Could you tell me how could I override this protection. Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: cbailey33
Date: June 9, 2005 at 19:52:26 Pacific
Reply:

Make sure that you are editing the mounted password file. i.e. /dev/c0t0d0s0 is mounted on /mnt, vi /mnt/etc/passwd.


0

Response Number 2
Name: David Perry
Date: June 10, 2005 at 04:30:36 Pacific
Reply:

http://forum.sun.com/thread.jspa?threadID=21556&tstart=0



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Solaris on CompactFlash sample Shell script code



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: Resetting a lost root password

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

lost root password www.computing.net/answers/solaris/lost-root-password/3417.html

root password reset www.computing.net/answers/solaris/root-password-reset/813.html