![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| /etc/shadow file.... | avcert1998 | UNIX for Advanced & Expert Users | 6 | 01-18-2008 12:40 PM |
| *LK* in /etc/shadow file | vikashtulsiyan | SUN Solaris | 5 | 12-23-2007 08:50 PM |
| shadow file | jbashir | UNIX for Advanced & Expert Users | 3 | 03-14-2006 12:22 AM |
| Doubt on shadow file | Sabari Nath S | High Level Programming | 4 | 08-25-2005 05:29 AM |
| shadow file | arunkumar_mca | UNIX for Dummies Questions & Answers | 3 | 12-31-2004 08:55 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I restore the etc/shadow file
removed this from a friends solaris box via telnet.
root can not login at this point is there anyway to fix this via telnet. I have one session open that is not root |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
I'm wondering... is he still your friend?
Anyway, even if you do have a telnet session open, if you are not root, you will not be able to "su" to root anymore. There have been several postings on this forum about "lost root password" and such things. You may want to do a search on that to see what has been discussed but at the very least, I think you're going to have to get to the console and boot the machine up in maintenence (single user) mode at the very least then you can create a shadow file from the password file (no passwords initially) using pwconv(8)... http://nodevice.com/sections/ManIndex/man1255.html Best of luck. |
|
#3
|
|||
|
|||
|
Yea we are both studying for the solaris cert and I got a little crazy while listing files.
Thanks Bobby |
|||
| Google The UNIX and Linux Forums |