Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In my linux machine, i lost /etc/passwd file
and /etc/shadow file, then how can i recover it?

Answer Posted / rallapalli

Enter into single user mode
$cp /etc/passwd~ /etc/passwd
$cp /etc/shadow~ /etc/shadow

passwd~ and shadow~ are backup files of passwd, shadow

Thanks,

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

1071


How do you sort cpu in top command?

1077


How do I change directories in linux command line?

950


What does && mean in linux?

1105


Enlist some linux to file content commands?

1062


How does mkdir work in linux?

1214


What is the role of case sensitivity in affecting the way commands are used?

1120


What are linux commands?

1020


What is DISM command?

998


What is devops linux?

975


How do I check my cpu cores?

1006


What does wc command do in unix?

1030


What does grep command do?

1024


What is the use of ls command?

1038


What is bc command in unix?

1041