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 option in linux command?
You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?
How do I stress test my cpu?
What command can you use to make a tape archive file of a /home directory and send it to the /dev/tape device?
What does comm do and how to use it?
How do I check dns entry?
What is umask in linux?
What does chmod 777 do?
What is Data Command?
How do I run whois command?
What is a make target?
What is nslookup command?
What are commands in grammar?
How do I check cpu usage?
Who am I command in linux?