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
What does c mean in linux?
How do I check disk space in linux?
You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?
What is top command in linux?
Who linux commands?
How cp command works in linux?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
How to root mirror in linux?
List the three main parts of an operating system command?
What does chmod 777 do?
How do I open a text file in cmd?
How do you insert comments in the command line prompt?
How do I run a .sh file in linux?
Which command is used to terminate a process?
How do I navigate in cmd?