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 is ulimit command?

1051


What is the gcc command?

949


What does umask 022 mean?

1089


How many cmd commands are there?

960


How lilo is useful in linux?

942


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

908


Which of the following tasks cannot be accomplished with the touch command?

911


Explain about the command elm?

984


The command ‘umask -S’

990


How do I check dns entry?

1002


How can I delete a file in linux?

1029


How do I permanently set ulimit in linux?

921


Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?

926


What does uname do in linux?

1060


How often do you use grep command and how in Linux operating system?

1076