i dont know root password then this situation can we change or
break root password to ant process

Answers were Sorted based on User's Feedback



i dont know root password then this situation can we change or break root password to ant process..

Answer / manas

yes we can, by running the system in single user mode we can
change the password of root if grub password is not given.

Is This Answer Correct ?    35 Yes 0 No

i dont know root password then this situation can we change or break root password to ant process..

Answer / gokul pradeep

wen ur starting the kernel it will show ur OS version
In this press "DEL"(not sure).it will show 3 lines

root(hd0,0)
kernel /vmlinux-something version
initrd /initrd-version.img

In this go to second line and type S or s or 1 anything to
go in single user mode.After entering enter the command

passwd root

now enter ur desire password.

Is This Answer Correct ?    4 Yes 2 No

i dont know root password then this situation can we change or break root password to ant process..

Answer / nikhil maggu

Hey can any1 explain how to switch to single user mode after
boot??

Is This Answer Correct ?    3 Yes 2 No

i dont know root password then this situation can we change or break root password to ant process..

Answer / rajasekar

when ur starting the kernel it will show ur OS version
In this press "space bar", it will show 3 lines

root(hd0,0)
kernel /vmlinux-something version
initrd /initrd-version.img

select kernel label (2nd line)
press e
press e to edit
give a space and type 1 or s
press enter key
press b to boot

now system boots in single user mode
change the root password

Is This Answer Correct ?    1 Yes 0 No

i dont know root password then this situation can we change or break root password to ant process..

Answer / mohan thakur

Type init=/bin/bash as kernel parameter. You will reach to #
prompt without password. Change password using "#passwd
root" command

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

How to know linux os is 32 bit or 64 bit?

0 Answers  


What are the basic dos commands?

0 Answers  


What does in makefile do?

0 Answers  


How many cmd commands are there?

0 Answers  


How do I find old commands in linux?

0 Answers  






What is cd in cmd?

0 Answers  


Please send Security on linux related questions and answers.

0 Answers   Linux,


What is the copy command in linux?

0 Answers  


What is nslookup command?

0 Answers  


Explain about kernel file in linux?

7 Answers  


Explain command grouping in linux?

0 Answers  


What is make command in linux?

0 Answers  


Categories