|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Recover root password
How can I recover root password
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 menu.. but not accepting to change the password. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
You edited /etc/shadow. That is normal to remove the root password, however, you need to check again the state that you have left this file in.
Boot from cdrom and check again /etc/shadow. Ensure that the root user information is the first line of the file. If you have accidentally inserted a blank line, or any other character, at the beginning of the file, that will cause what you are seeing. Post back any results. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
I think that you do not need delete info in /etc/shadow you need delete the "x" character in the /etc/passwd Code:
root:x:0:0:root:/root:/bin/bash the "x" indicate that the user have password, you need delete this "x" Code:
root::0:0:root:/root:/bin/bash |
|
#4
|
|||
|
|||
|
Did you try booting from cd rom and getting login at fail safe mode to change the password?
|
| Sponsored Links | |
|
|
#5
|
||||
|
||||
|
VM?
mount the ISO of the install media, change the boot order so that the CDROM is hit first and then follow the prompts to reset the password DON'T reinstall the OS.
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to recover root password in AIX ? | mohammedmostafa | AIX | 3 | 08-29-2011 09:43 PM |
| root password on aix lost, how to recover | prpkrk | UNIX for Dummies Questions & Answers | 1 | 08-16-2011 09:40 AM |
| Need to recover 'root' password | abir | Solaris | 7 | 02-24-2009 03:34 AM |
| How to recover root password | durgaprasadr13 | Solaris | 2 | 10-14-2008 02:23 AM |
| Recover root password | nitinkgoud | Solaris | 1 | 07-18-2006 05:01 PM |
|
|