LinuxQuestions.org
Visit Jeremy's Blog.
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 03-12-2015, 08:36 AM   #1
psp.kgl85
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
Question Recovering users & passwords


Greetings Linux Enthusiasts..

I have one interesting query here..

Consider a scenario in which all /etc/passwd , /etc/passwd- as well as /etc/shadow files deleted.
In such condition what is most sure way to recover all users & passwords..

I hope you guys have solution..
 
Old 03-12-2015, 09:46 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,905

Rep: Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921
if you could have a backup....
Otherwise you need to boot another os and try to recover files from that disk using a recovery tool like TestDisk
 
  


Reply

Tags
passwd, shadow


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
Want to create 25 Users and forcing the users to change passwords James0806 Linux - Newbie 3 10-19-2014 12:56 PM
Restoring usernames & passwords to a protected directory under Debian & Plesk CP ppcw Linux - Newbie 2 02-16-2008 05:11 PM
LXer: Voipowering Your Office: Recovering SipX Passwords and DNS Done Right LXer Syndicated Linux News 0 02-26-2007 09:16 PM
Users & passwords in shared /home partition mikieboy Linux - Newbie 1 02-24-2005 07:26 PM
Logon screen, Users & Passwords. DLM Slackware 7 12-14-2003 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 AM.

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