LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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, 08:46 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,848

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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



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 11:56 AM
Restoring usernames & passwords to a protected directory under Debian & Plesk CP ppcw Linux - Newbie 2 02-16-2008 04:11 PM
LXer: Voipowering Your Office: Recovering SipX Passwords and DNS Done Right LXer Syndicated Linux News 0 02-26-2007 08:16 PM
Users & passwords in shared /home partition mikieboy Linux - Newbie 1 02-24-2005 06:26 PM
Logon screen, Users & Passwords. DLM Slackware 7 12-14-2003 02:06 PM

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

All times are GMT -5. The time now is 03:31 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
Open Source Consulting | Domain Registration