LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2012, 03:27 AM   #1
abhinav4
Member
 
Registered: Jun 2010
Location: India
Distribution: Fedora/Cent OS
Posts: 123

Rep: Reputation: 0
Exclamation /etc/shadow file vanished


I messed with the command pwunconv and as a result my /etc/shadow file is gone.
Interesting thing is the encrypted passwords from the /etc/shadow file came in my /etc/password file.
Now I want to get back my /etc/shadow file.
Is there any way i can revert back pwunconv effect
 
Old 10-11-2012, 03:29 AM   #2
abhinav4
Member
 
Registered: Jun 2010
Location: India
Distribution: Fedora/Cent OS
Posts: 123

Original Poster
Rep: Reputation: 0
So dumb of me.
I got it fixed by using the command

Code:
Quote:
pwconv
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Syncing shadow file with passwd file Issa1 Linux - Newbie 2 05-13-2012 08:12 PM
File Vanished... eh?? Weird! helptonewbie Linux - Newbie 1 09-10-2010 04:35 AM
/etc/shadow file imprise Linux - Newbie 4 05-18-2009 02:28 PM
How to set getpwnam to read a file instead /etc/shadow file ZAMO Linux - General 1 02-02-2009 08:25 AM
shadow file os2 Linux - Security 3 10-18-2005 03:20 PM


All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration