SVM recover root


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers SVM recover root
# 1  
Old 05-22-2019
SVM recover root

Hi,, i have a solaris 10 machine , that let the root password expire..
I am trying to recover from failsafe mode.
In the old days it was rater simple , boot to cdrom , mount the root disk,
/a cd /a and wipe out root pw string..

Now i have to try and do it remotely , from failsafe and this has svm.

the first problem is , is that i can not find a disk to mount /dev/dsk/,..... /a

Code:
df -h

shows me /ramdisk-root:a mounted on /

Code:
echo | format

does not show c0t0d0s0

it has a boot and an altboot,, but neither can be mounted to /a

how can i find the correct disk to mount to /a so that i can remove the encrypted password from the shadow file?

have not done this in a while,,, but it used to be a pretty simple tasks...

thanks
# 2  
Old 05-23-2019
Hi,

As you are using SVM, there are a couple of things to be aware of particularly whether the root disk is a single disk or a mirror. Depending on the machine type, the internal disks could be under the control of an internal HW RAID Controller.

Also handy to know if the boot disks are internal or is it booting from SAN.

To identfy some of this stuff I'd start with running a devalias at the ok prompt.

Regards

Gull04
This User Gave Thanks to gull04 For This Post:
# 3  
Old 05-29-2019
I have some questions first:

1. What hardware is this? SPARC or x86? Exact model?
2. Do you know what the root filesystem device node is? /dev/md/????? or /dev/dsk/?????
3. Do you know how the RAID1 was configured? Using raidctl command (hardware RAID controller) or meta commands (software RAID, true SVM)?
4. What filesystem is used, UFS or ZFS?

Recovery of root password is completely different for a UFS filesystem as opposed to a ZFS filesystem.
These 2 Users Gave Thanks to hicksd8 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to recover the root password?

Hello forum members, Please help me to recover the root password. i can login with the user in redhat linux but i forget root password. so pleas help me to recover. advance thanks siva. (2 Replies)
Discussion started by: workforsiva
2 Replies

2. Solaris

Root disk mirroring in SVM

I tried doing rootdisk mirroring in my local host , i added a new Ide disk in my system and copied the prtvtoc from root disk to the newly added disk, and then when i tried to add database replicas on both the disks, it was added for boot disk but for the newly added disk i gave the error, which... (6 Replies)
Discussion started by: Laxxi
6 Replies

3. Solaris

Recover root password

How can I recover root password :wall: 1) I am running Solaris 10 (X86) through VMware for practicing. 2) I was practicing root password recovery and deleted the password in /etc/shadow file. 3) Neither cant login the to the CLI nor Console 4) Selected the Soalris X86 failsafe in... (4 Replies)
Discussion started by: vijaykrishna
4 Replies

4. Solaris

Recover root account

Hi everyone! I've got a problem caused by another who did: - He create an user and grant the group (1) to this - The problem appears as "Permission deined when reboot the Server Dec 21 09:13:09 payment dtlogin: open_pam_conf: Owner of /etc/pam.conf is not root Dec 21... (4 Replies)
Discussion started by: trantuananh24hg
4 Replies

5. Solaris

Root Disk mirroring in SVM

Dear All, Please help me to configure root mirroring using SVM in Solaris 9. Thanks and Regards, Lakkireddy BR (3 Replies)
Discussion started by: lbreddy
3 Replies

6. Solaris

Need to recover 'root' password

Dear All, I have lost my data backup server's root password, just have a normal login username and password ..but i need to get back my root passwd....any1 can help me out plz :confused: (7 Replies)
Discussion started by: abir
7 Replies

7. Solaris

How to recover root password

How to recover root password in solaris, I forgot root password. thanks in advance (2 Replies)
Discussion started by: durgaprasadr13
2 Replies

8. UNIX for Dummies Questions & Answers

Root Recover Issues

Trying to recover a root password on a Sun V580. Problem is I can not get it to recognize the STOP A to get to an OK prompt. Using USB keyboard and mouse. Any ideas???? (1 Reply)
Discussion started by: calamine
1 Replies

9. Solaris

Recover root passwd

Any body pls let me know the procedure to recover ROOT password in Sun Netra 20 Server..I forgot the password. (5 Replies)
Discussion started by: gini
5 Replies

10. Solaris

Recover root password

I need to recover root password on a test server (E 10k) running solaris 9. Can someone please tell me how to do this? (1 Reply)
Discussion started by: nitinkgoud
1 Replies
Login or Register to Ask a Question