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
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
How can we increase disk read performance in single command in Linux?
How does grep work in linux?
Explain the linux ‘cd’ command options along with the description?
What is the syntax of mkdir?
How do I run a shell script?
What is the use of finger command in linux?
What is whois command in linux?
What is whois command?
What are different command to check ram, process and hdd of linux machine?
How many linux commands are there?
State and explain about features of UNIX?
How can you copy lines into the buffer in command mode?
What is vnc?
What signal is ctrl c?