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 is clang linux?
What is the role of case sensitivity in affecting the way commands are used?
How do I test my cpu speed?
You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?
What is devops linux?
What is #!/ Bin sh?
Explain the linux directory commands along with the description?
What language is clang written in?
What are linux commands?
Explain trap command; shift command, getopts command of 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?
Explain about document formatting?
Is python faster than bash?
Explain command grouping in linux?
What is phony in makefile?