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 / hari

hi....
restart->goto shalsh mode(safe mode)->press e->select 2nd kernel line->press e, give 1(for single user mode)nd ENTER
press b(for boot)->sh-3.1# ll appear
then,sh-3.1#passwd root->now give the (new) passwd

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does grep work in linux?

529


What is umask in linux?

544


Hi everyone i want to learn Devops in Hyderabad can anyone please suggest me best institute.

1155


Which command will show you free/used memory?

570


What is command line in unix?

513






What is the command to delete a file linux?

537


What command should you use to check your file system?

539


Can I delete .bash history?

521


What is du command in linux?

556


Brief about finger username?

574


Why is unix used?

560


What does top do in linux?

523


How cp command works in linux?

541


What is bc command in unix?

527


What is the use of man command in linux?

545