Intel Based Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Intel Based Solaris
# 1  
Old 02-16-2006
Intel Based Solaris

Hello all mentor.

I am a new in this furom and also just self studying unix environment. Smilie
I have installed intel solaris 9 in my laptop and i have forgotten the root password nor maybe the numlock or capslock of the keyboard was enabled
during I enter the password installation process.

my question is:
1. How could I recover the root password
2. hope you can give me the steps on recovering the root password
i meant a detailed on what should i do first.

thanks,

hoping that you will accept my concern
# 2  
Old 02-16-2006
Insert the Solaris 10 DVD (or CD 1) and boot the system (ensure BIOS is set to boot from CD before HD).

When the installation prompt appears type
b -s

This will boot off the CD-ROM in single user mode.

Then...
Assuming that your root slice is /dev/dsk/c0d0s0

Mount
mount /dev/dsk/c0d0s0 /mnt

Then edit the shadow file
vi /mnt/etc/shadow

Remove the root password from this file
i.e. change
root:blahblahblah:whatever::::::
to
root::whatever::::::
and save the file.

Unmount
umount /mnt

Reboot
shutdown -y -g0 -i6

Remember to remove the DVD/CD as the system reboots Smilie

Once the system comes up, you'll be able to log in as root with no password, and enter a new password with the passwd command.

EDIT: Just noticed the OP is using Solaris 9, not 10. Same procedure applies....

Cheers
ZB

Last edited by zazzybob; 02-16-2006 at 01:40 AM..
# 3  
Old 02-16-2006
MySQL

Many many thanks ZB.. I will keep u posted
# 4  
Old 02-20-2006
i have successfully cleared the root password

thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

ILOM Alert messages to Solaris OS - X4250 (Intel based NO ALOM)

Hi, I have a problem when running some tests. I unplug one power cable from the server. No message is sent to/var/adm/messages On the ILOM GUI, it shows power state deasserted. Anyone knows how to forward this message to the OS, perhaps using the alert management settings? IPMI,snmp?... (1 Reply)
Discussion started by: ulemsee
1 Replies
Login or Register to Ask a Question