Sponsored Content
Operating Systems Solaris How recover the root password - Solaris 11? Post 302997986 by jlliagre on Tuesday 23rd of May 2017 06:49:53 PM
Old 05-23-2017
Solaris 11 uses ZFS, not UFS so you can't directly mount a partition. You need import a pool instead.

Here is the ZFS way :

Code:
mkdir -p /mnt/a /mnt/b
zpool import -f -R /mnt/a rpool
zfs set mountpoint=legacy rpool/ROOT/solaris
mount -F zfs rpool/ROOT/solaris /mnt/b
vi /mnt/b/etc/shadow
...
umount /mnt/b
zfs set mountpoint=/ rpool/ROOT/solaris
zpool export rpool
init 6


Note that under Solaris 11, root is typically a role, not a regular account and blank passwords might not be accepted.
These 3 Users Gave Thanks to jlliagre For This Post:
 

9 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

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

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

4. UNIX for Dummies Questions & Answers

root password on aix lost, how to recover

Hi guys, we have "forget" the root password for 1 of our AIX machines, how can we reset it? or recover it?? Thanks (1 Reply)
Discussion started by: prpkrk
1 Replies

5. AIX

How to recover root password in AIX ?

Dears, We have Oracle Database installed on AIX Version 5.3 and we have to take action urgently but must by root user but unfortunately we lost password. How to recover root password? Please, be noted that I am Oracle DBA and do not have experience in dealing with AIX Systems. Please, advise... (3 Replies)
Discussion started by: mohammedmostafa
3 Replies

6. Solaris

Failed to recover root password in Solaris 10 on Sparc CPU Sun Ultra10

Failed to recover lost root password for Solaris SunSparc (On Sun Ultra10 - SPARC CPU Hardware, not x86 Intel CPU nor x64 AMD CPU) This Sun Ultra10 workstation comes with an old 6-in wafer probing station purchased from a Surplus equipment vendor. Computer: Sun Ultra 5/10 UPA/PCI... (21 Replies)
Discussion started by: fromtexas0
21 Replies

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

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

9. UNIX for Dummies Questions & Answers

How to recover root password on SuSE?

Hi, We forgot the root password on SuSE version 10 server. Since I didn't have SuSE DVD, I started the server using Redhat. I updated /etc/shadow and removed the root password. I then started the server and I still can't login using root. Any idea? One more question, on Novell web... (6 Replies)
Discussion started by: samnyc
6 Replies
AUTO.MASTER(5)							File Formats Manual						    AUTO.MASTER(5)

NAME
/etc/auto.master - Master Map for automounter DESCRIPTION
The auto.master map is consulted when the autofs(8) script is invoked to set up the necessary mount points for the automounter. Each line in this file describes a mount point and points to another file describing the file systems to be mounted under this mountpoint. The access to those maps is governed by a key. Access to an automounted file system is customarily done using the path scheme: /mountpoint/key/path/file, where the mountpoint will be listed in the auto.master configuration file. The key is matched in the map file pointed to by the master map (See autofs(5)). The path and the file are referring to the file on the file system mounted. FORMAT
The file has three fields separated by an arbitrary number of blanks or tabs. Lines beginning with # are comments. The first field is the mount point. Second field is the map file to be consulted for this mount-point. This field is of the form maptype:mapname, where maptype is one of the supported map types (file, program, yp, nisplus, hesiod, userdir, ldap), and mapname is the name of the map. The third field is optional and can contain options to+ be applied to all entries in the map. Options are cumulative, which is a difference from the behav- ior of the SunOS automounter. The format of the map file and the options are described in autofs(5). EXAMPLE
/home /etc/auto.home /misc /etc/auto.misc /mnt yp:mnt.map This will generate three mountpoints /home, /misc, and /mnt. All accesses to /home will lead to the consultation of the map in /etc/auto.home, all accesses to /misc will consult the map in /etc/auto.misc, and all accesses to /mnt will consult the NIS map mnt.map. SEE ALSO
automount(8), autofs(5), autofs(8). AUTHOR
This manual page was written by Christoph Lameter <chris@waterf.org>, for the Debian GNU/Linux system. Edited by <hpa@transmeta.com>. 19 Jun 2000 AUTO.MASTER(5)
All times are GMT -4. The time now is 08:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy