Computing.Net > Forums > Solaris > password reset on Solaris, write pr

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.

password reset on Solaris, write pr

Reply to Message Icon

Name: sparcless
Date: November 18, 2003 at 19:07:17 Pacific
OS: 2.5.1
CPU/Ram: --/ 64mb
Comment:

Help!
My old sparc 5 station died and I bought a new (used) one on Ebay. it is working fine but I do not have any user's password, nore root's password. I did some reading here and got information of how to reset the password.
Now, I'm booting as a single user from original solaris installation CD 2.5.1.
but when I mounting:
mount /dev/dsk/c0t0d0s0 /a
I get in return :
/dev/dsk/c0t0d0s0 write-protected.
if i continue the steps as I read in this forum and I get to the stage of editing the shadow file, it is also read only and I cant save it in any way.

How can I remove the write only protection??
I've tried chmod - but no luck, any other tricks?


PLEASE HELP ! I need the station working ASAP.

THANKS.




Sponsored Link
Ads by Google

Response Number 1
Name: cha-to
Date: November 19, 2003 at 20:26:29 Pacific
Reply:

The shadow file is meant to be read-only, however if changes need to be done to it, you have the option of using the bang symbol (exclamation point) when you save in vi. This will force a save on the file. In vi command mode, type

:!w

instead of

:w

D.O.


0

Response Number 2
Name: sparcless
Date: November 23, 2003 at 17:50:43 Pacific
Reply:

Thank you,
but that wasn't it.
I did manage to solve the problem after I discovered that the system didn't recognized the hard-drive while I was booting from the cdrom (external SCSI). after resolving that isuue, I discovered that the file system was on c0t3d0s0 and not on c0t0d0s0 as all messages I read refered to.
after solving these problems everything went smooth - as I read here in the forum.
THANKS, I'M HAPPY !



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: password reset on Solaris, write pr

Apache on solaris urgent help requi www.computing.net/answers/solaris/apache-on-solaris-urgent-help-requi/3350.html

Where to set up logging on Solaris www.computing.net/answers/solaris/where-to-set-up-logging-on-solaris/3936.html

Cron proble on solaris 8 www.computing.net/answers/solaris/cron-proble-on-solaris-8/554.html