11-25-2006
boot the mashine with a cd/dvd or via net to single user, mount the internal disk and replace the password with a known value in /etc/shadow for user root.
10 More Discussions You Might Find Interesting
1. Solaris
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. UNIX for Dummies Questions & Answers
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
3. Solaris
How to recover root password in solaris, I forgot root password.
thanks in advance (2 Replies)
Discussion started by: durgaprasadr13
2 Replies
4. Solaris
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
5. 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
hi
i cant recovery root passwd through serial console mode by using CDROM.. i tried following step but no luck
in ok prompt :
ok boot cdrom -s it comes single user mode
i check format cmd it showing disk
c1t0d0
c1t2d0 then
#mount /dev/dsk/c1t0d0s0 /a
#cd /a
# vi /etc/shadow ( it... (13 Replies)
Discussion started by: coolboys
13 Replies
7. Solaris
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
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. Red Hat
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
10. UNIX for Beginners Questions & Answers
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... (2 Replies)
Discussion started by: goya
2 Replies
LEARN ABOUT FREEBSD
pwconv
pwconv(1M) System Administration Commands pwconv(1M)
NAME
pwconv - installs and updates /etc/shadow with information from /etc/passwd
SYNOPSIS
pwconv
DESCRIPTION
The pwconv command creates and updates /etc/shadow with information from /etc/passwd.
pwconv relies on a special value of 'x' in the password field of /etc/passwd. This value of 'x' indicates that the password for the user is
already in /etc/shadow and should not be modified.
If the /etc/shadow file does not exist, this command will create /etc/shadow with information from /etc/passwd. The command populates
/etc/shadow with the user's login name, password, and password aging information. If password aging information does not exist in
/etc/passwd for a given user, none will be added to /etc/shadow. However, the last changed information will always be updated.
If the /etc/shadow file does exist, the following tasks will be performed:
Entries that are in the /etc/passwd file and not in the /etc/shadow file will be added to the /etc/shadow file.
Entries that are in the /etc/shadow file and not in the /etc/passwd file will be removed from /etc/shadow.
Password attributes (for example, password and aging information) that exist in an /etc/passwd entry will be moved to the corre-
sponding entry in /etc/shadow.
The pwconv command can only be used by the super-user.
FILES
/etc/opasswd
/etc/oshadow
/etc/passwd
/etc/shadow
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
passwd(1), passmgmt(1M), usermod(1M), passwd(4), attributes(5)
DIAGNOSTICS
pwconv exits with one of the following values:
0 SUCCESS.
1 Permission denied.
2 Invalid command syntax.
3 Unexpected failure. Conversion not done.
4 Unexpected failure. Password file(s) missing.
5 Password file(s) busy. Try again later.
6 Bad entry in /etc/shadow file.
SunOS 5.10 9 Mar 1993 pwconv(1M)