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

Does linux cp command overwrite?

587


List the three main parts of an operating system command?

504


Why bash is used in linux?

546


What is umask 000?

549


What is dos and its commands?

610






Enlist some linux networking and troubleshooting commands?

523


How do I test my cpu speed?

511


Explain about chmod options filename?

641


How do you insert comments in the command line prompt?

764


How do I find the umask value in linux?

513


How do I move to root in linux?

512


What does c mean in linux?

574


You issue the command head * what would the resulting output be?

535


How to recover /etc/passwd file and /etc/shadow file?

550


What is make in linux?

530