forgot password


 
Thread Tools Search this Thread
Operating Systems Solaris forgot password
# 8  
Old 07-25-2008
at the ok prompt type "boot cdrom"
# 9  
Old 07-25-2008
Quote:
Originally Posted by pupp
at the ok prompt type "boot cdrom"
...to single user mode:
Code:
boot cdrom -s

# 10  
Old 07-25-2008
o yea... haha Smilie
# 11  
Old 07-25-2008
Smilie Just avoids having to exit from the installation program.
# 12  
Old 07-25-2008
MySQL

Start by inserting the Solaris installation CD-ROM and then halt the system. Press...
Stop-A

This will bring you the OK prompt. Now type:
boot cdrom -s

and after a few minutes you will automatically be logged in as root in single user mode. It is possible that you get messages from your system claiming that some partitions were not cleanly unmounted. If this is the case check the partition as follows (assuming that your root partition is mounted on /dev/dsk/c0t0d0s0):

fsck -y /dev/dsk/c0t0d0s0
Now mount your root partition...
mount /dev/dsk/c0t0d0s0 /a
and edit /a/etc/shadow. Find root's entry in this file and remove the second field (encrypted root password) so it looks like...

root::84624::::::

After making your change, save the file and reboot the system.
reboot
You are now able to log into the system without a password for root. So now use the passwd command to set root's password.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

I have forgot my root password. Solaris 10

hi everyone i have forgot my root password and i have other user to login. can i get the password without restarting the server as that cant be afforded. . it is a Sparc architecture 2U blade server. it is old server mounted and functional since 2009. what should be the modus oprandee. i am novice... (5 Replies)
Discussion started by: janakors
5 Replies

2. Web Development

Forgot MYSQL password root

I have VPS openSUSE 12.2 I forgot MYSQL password root when i run in CMD: > mysql Error Message Show : >> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) (6 Replies)
Discussion started by: CloudniX
6 Replies

3. AIX

Cannot login into AIX machine. Forgot Password!

Hi, I cannot login to an AIX machine. The login mechanism was that we had disabled remote "root" logins. We have only one user that can access over SSH and that is "userabc". Probably have forgotten the password or it has expired. Is there a way to recover or login. I have the password... (2 Replies)
Discussion started by: aixromeo
2 Replies

4. UNIX for Dummies Questions & Answers

Forgot root password

i am a new user of unix . i lost my SGI unix server root password Any body please help me,how get password? (2 Replies)
Discussion started by: vasu.k82
2 Replies

5. UNIX for Dummies Questions & Answers

I forgot my UNIX password!!

Hello, Is there a way to reset the "root" unix password, pretty much like you would do in linux by going into single user mode? :confused: :confused: Thank you in advance. (5 Replies)
Discussion started by: Mr Big
5 Replies

6. UNIX for Advanced & Expert Users

Forgot the privileged access password in ibm pseries615c3

Hi friends, I am having ibm pseries615c3 server. previously i set privileged access password for the firmware. Now i forgot that password. Help me to reset or remove the firmware password from the server. Otherwise anyone plz help me how to change the default boot device in pseries servers. I... (8 Replies)
Discussion started by: muthulingaraja
8 Replies

7. HP-UX

forgot password

i forgot my password on a HP-UX 9.xx machine. is there a possible way of changing it without knowing the root passwd? I would do it with a boot disk and chroot but I dont have a boot disk available.... any ideas? thanks!! Paul Tittel (1 Reply)
Discussion started by: paultittel
1 Replies

8. Linux

forgot password red hat ?

Dear Forum savants, I have a problem that I am not sure how to overcome. Two years ago I had a friend build me computer with a linux os (red hat) for learning purposes. It happens to have an oracle server on it as well... Anyway , because of personal reasons, I lost complete interest in... (5 Replies)
Discussion started by: jxh461
5 Replies
Login or Register to Ask a Question