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
Is a command a full sentence?
What is the difference between command ‘ping’ and ‘ping6’?
Explain about communication features in UNIX?
What are the options of wc command?
How do I clear bash history in linux?
What is the difference between find and locate command in linux?
When and how linux developed?
How many commands are there in linux?
What is the fastest way to enter a series of commands from the command-line?
How many linux commands are there?
How do I set permission to run in linux?
What does touch do in linux?
Which command is used to find what is in your home directory?
Brief about the command kill PID?
How do you create a blank file in linux?