The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/etc/shadow file.... avcert1998 UNIX for Advanced & Expert Users 6 01-18-2008 03:40 PM
*LK* in /etc/shadow file vikashtulsiyan SUN Solaris 5 12-23-2007 11:50 PM
shadow file jbashir UNIX for Advanced & Expert Users 3 03-14-2006 03:22 AM
Doubt on shadow file Sabari Nath S High Level Programming 4 08-25-2005 08:29 AM
shadow file arunkumar_mca UNIX for Dummies Questions & Answers 3 12-31-2004 11:55 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-08-2002
Youngadmin Youngadmin is offline
Registered User
  
 

Join Date: Nov 2001
Location: Terrell Tx
Posts: 6
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
  #2 (permalink)  
Old 01-08-2002
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
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 (permalink)  
Old 01-08-2002
Youngadmin Youngadmin is offline
Registered User
  
 

Join Date: Nov 2001
Location: Terrell Tx
Posts: 6
Yea we are both studying for the solaris cert and I got a little crazy while listing files.

Thanks

Bobby
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0