In my linux machine, i lost /etc/passwd file
and /etc/shadow file, then how can i recover it?
Answer Posted / anil kumar
1. reboot
2. singal user mode (init=/bin/bash)
3. pwconv
4. check /etc/passwd and /etc/shadow files are there
5. sync
6. init 3
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How use more command in linux?
What is nbtstat command?
How do I permanently set ulimit in linux?
What is the example of command sentence?
How do you check which file consuming more space in linux?
you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.
How do I check memory usage on linux?
How lilo is useful in linux?
What language is a makefile written in?
What is umask 000?
What does mkdir mean?
How do I create a .txt file?
How much ram do I have linux?
What is the use of man command in linux?
You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?