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 / inam

Recovery of passwd & shadow file

-write on kernel line "init=/bin/bash

-Press enter
-Press b
copy /etc/passwd- /etc/passwd

then use command
pwconf to regenerate shadow from passwd.


u can change password of ur user until u create shadow.

after all these changes just change ur user password with

-passwd username.

( i post one before but it has some mistake)
this opne will work try out

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the command used for search file or files for specific text?

945


How do you create a file in linux?

1115


How do I check cores in linux?

1128


How do I run a command in linux?

1135


What does touch do in linux?

1031


How does grep work in linux?

985


What does umask 077 mean?

1038


How do I set permission to run in linux?

1240


How do I find old commands in linux?

1127


What is know about grep commands?

1243


What are the basic commands in command prompt?

1206


What is cmake in linux?

1206


What is command line in unix?

1094


What is command example?

1154


What are the options of wc command?

1085