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 you copy in linux terminal?

0 Answers  


How do you copy in terminal?

0 Answers  


Explain about kernel file in linux?

7 Answers  


How you will uncompress the file?

7 Answers   Linux,


What is df command in unix?

0 Answers  


Hi All of Unix/Linux professional Q.Why soft link file not open by cat command. Ihave make following symbolic link but when i open with #cat linkfilename it does not oped please see the following code and try to answer. # ln -s file1 ~/mydir/filea [root@dhcppc0 ~]# cd mydir [root@dhcppc0 mydir]# ls -l total 4 lrwxrwxrwx 1 root root 5 2010-04-04 09:04 filea -> file1 [root@dhcppc0 mydir]# cat filea cat: filea: No such file or directory

2 Answers  


Is makefile a shell script?

0 Answers  


difference between Tcp and udp

5 Answers  


Explain the ‘ls’ command in linux

0 Answers  


How use linux command line?

0 Answers  


What is ulimit in linux?

0 Answers  


Compare between SYS V launched processes and Xinetd processes in Linux.

1 Answers  


Categories