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 can I create a file with cmd?
You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?
Explain getopts command of linux?
What is the role of case sensitivity in affecting the way commands are used?
What is echo command in batch file?
How do I find previous commands in linux?
Who am I command in linux?
How does diff command work?
Which command will show you free/used memory? Does free memory exist on linux?
Where can I find bash in linux?
What are the commands used in command prompt?
How do I run a .sh file in linux?
What is difference between free and available memory in linux?
What are the 7 types of sentences?
How can you check the amount of lines in a file?