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 do I run a bash script in linux?

0 Answers  


What does mkdir mean?

0 Answers  


What is tty in linux command?

0 Answers  


What is a makefile in c?

0 Answers  


what are the features of Linux?

2 Answers  






What language is clang written in?

0 Answers  


What is make command in linux?

0 Answers  


How do I run a shell script?

0 Answers  


what is initrd image?

5 Answers   IBM, Oracle,


ls -l ls -t ls -r ls -a ls -ltr ls -u grep error file.txt grep -v error file.txt perl prg.pl | ./file.txt tee chmod +x chmod -x chmod =x ps bg date +%y%m%d ?

0 Answers   HP,


What is 9 in kill?

0 Answers  


What is the makefile in c?

0 Answers  


Categories