Sponsored Content
Full Discussion: SVM recover root
Top Forums UNIX for Beginners Questions & Answers SVM recover root Post 303035393 by goya on Wednesday 22nd of May 2019 05:04:53 PM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
device_remap(1M)					  System Administration Commands					  device_remap(1M)

NAME
device_remap - administer the Solaris I/O remapping feature SYNOPSIS
/usr/platform/sun4v/sbin/device_remap [-v | -R dir] DESCRIPTION
Certain multi-node sun4v platforms, such as T5440 and T5240 servers, have an integrated PCI topology that cause the I/O device paths to change in a CPU node failover condition. The device remapping script, device_remap, remaps the device paths in /etc/path_to_inst file and the symlinks under /dev to match the hardware. OPTIONS
The following options are supported: -v Displays the /etc/path_to_inst and /dev symlink changes. -R dir Perform remapping on the /etc/path_to_inst and /etc/path_to_inst files in the root image at dir. USAGE
The primary function of device_remap is to remap the device paths in the /etc/path_to_inst file and the symlinks under /dev in a CPU node failover condition to match the hardware. After adding CPU node(s) or removing CPU node(s), boot the system to the OBP prompt and use the following procedure: 1. Boot either the failsafe miniroot using: boot -F failsafe , or an install miniroot using boot net -s or similar command. 2. Mount the root disk as /mnt. 3. Change directory to the mounted root disk: # cd /mnt 4. Run device_remap script: # /mnt/usr/platform/sun4v/sbin/device_remap 5. Boot the system from disk. All the error messages are self-explanatory, except for the error message "missing ioaliases node" which means the firmware on the system does not support device remapping. EXAMPLES
Example 1 Displaying Changes Following Failover The following command displays the path_to_inst and /dev changes following a CPU node failover. # device_remap -v Example 2 Changing Directory Prior to Any Changes The following command changes the directory on which the boot image is mounted prior to making any changes. # device_remap -R /newroot ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWkvm.v | +-----------------------------+-----------------------------+ |Interface Stability |Unstable | +-----------------------------+-----------------------------+ SEE ALSO
boot(1M), attributes(5) SunOS 5.11 24 Dec 2008 device_remap(1M)
All times are GMT -4. The time now is 01:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy