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 do you run a command for a limited time?
What could be the problem when a command that was issued gave a different result from the last time it was used?
What does free command do in linux?
How do you execute more than one command or program from a single command line entry?
What does cd do in linux?
Is makefile a shell script?
How do I run multiple commands in linux?
What is command example?
How does case sensitivity affect the way you use commands?
How many interfaces(ethernet cards) are working using single command?
List the three main parts of an operating system command?
What is devops linux?
What is ls command and what it does?
What is Syntax of any Linux command?
What are the ms dos commands?