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
What is difference between sh and bash?
What is the example of command sentence?
What does p mean linux?
Which daemon is used for scheduling of the commands?
Explain about document formatting?
What is build process?
What language is clang written in?
How to hide the partition in grub booting?
Find command can search for files by
What is the use of mv command in linux?
How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?
What are the 7 types of sentences?
How do you save a file in linux?
What is makefile target?
How does case sensitivity affect the way you use commands?