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
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 |
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 |
Answer / nikhil maggu
Hey can any1 explain how to switch to single user mode after
boot??
| Is This Answer Correct ? | 3 Yes | 2 No |
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 |
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 |
When and how linux developed?
What is makefile target?
In my linux machine, i lost /etc/passwd file and /etc/shadow file, then how can i recover it?
I want to see how many interfaces(ethernet cards) are working using single command?
what is ldd?
7 Answers IBM, Magnum, TCS, Tech Mahindra,
How to write the output of a command to a file?
What does uname command do?
How do I test my cpu speed?
Explain about refer?
Which is the required command for checking the file system?
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
What command would you use to create an empty file without opening it to edit it?