I forget my password.what can i do?
I forget my password to startup
|
Can you clarify; do you mean
1. BIOS passwd 2. GRUB passwd 3. root passwd 4. personal acct passwd |
I mean the root passwd,I forget it
|
can you provide the operating linux system you're using.
|
Quote:
Else if you've 'sudo' access with your account, and can login into the machine, then you can reset root passwd by becoming root: Code:
~$ sudo su - root |
You could boot from a live-cd, then mount the root partition and chroot into it. Then you can use the "passwd" command to set a new one. Like:
mount /dev/sdXN /mnt/somedir chroot /mnt/somedir passwd exit umount /mnt/somedir reboot |
Thanks all.I am using the centos5.4. I have entered the single mode,and change the password.
Thanks all again |
All times are GMT -5. The time now is 01:26 AM. |