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
How do I create a .txt file?
How do I open a text file in cmd?
How can we increase disk read performance in single command in Linux operating system?
What is an os command?
How often do you use grep command and how in Linux operating system?
What is cat command in linux?
What does chmod do in linux?
How use linux command line?
What command would you use to check how much memory is being used by linux?
What is makefile in unix?
What is the purpose output of cd command?
Can I delete .bash history?
Explain about chmod options filename?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?
How do I check storage on linux?