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 |
How to know linux os is 32 bit or 64 bit?
What are the basic dos commands?
What does in makefile do?
How many cmd commands are there?
How do I find old commands in linux?
What is cd in cmd?
Please send Security on linux related questions and answers.
What is the copy command in linux?
What is nslookup command?
Explain about kernel file in linux?
Explain command grouping in linux?
What is make command in linux?