I lost a root password and i need to give it, I treid to
change it through single usermode even though i am not get
a password, then what is the other procedure to give a root
password?
Answer Posted / rallapalli
Enter into Single user mode and check the /etc/shadow file
is there are not if it is not there do this
#cp /etc/shadow~ /etc/shadow
now give the password
#passwd
Thanks
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which command will show you free/used memory? Does free memory exist on linux?
How can I type in cmd?
What Command used to lock user password?
What is an os command?
What are the 7 types of sentences?
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?
How to recover /etc/passwd file and /etc/shadow file?
What does chmod do in linux?
Explain the working of command grouping?
What are grep commands?
Explain any one service which are working on udp only?
How lilo is useful in linux?
What is SFC command?
How do you copy in terminal?
How do I check my disk space?