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


Please Help Members By Posting Answers For Below Questions

Which command is used to see the online manual?

610


What is cpu utilization linux?

540


What are linux commands?

541


What is ll command in unix?

622


What is know about grep commands?

549






What does c mean in linux?

574


What is command example?

563


What is Syntax of any Linux command?

588


What is netstat command in linux?

580


Who is unix command?

557


How many commands are there in linux?

559


How do makefiles work?

539


How do I check my system performance?

569


Explain trap command of linux?

576


What is ls command and what it does?

557