Results 11 to 14 of 14
Originally Posted by tomamodi
just go to
shadow
remove encrupted passwd
sample
root:$1$dN/PzhOV$de.3Uja9QwQElWnhgVcyP.:12298:0:99999:7:::
root::13046:0:99999:7::: (with out password)
But you've got to already be root to do this, in which case ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-25-2005 #11Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,044
But you've got to already be root to do this, in which case you can just reset the password with the passwd() command.
Originally Posted by tomamodi
- 09-27-2005 #12Linux Newbie
- Join Date
- Mar 2005
- Location
- Romania
- Posts
- 186
Agreed
Originally Posted by adam7979
You can only be young once. But you can always be immature.
- 11-08-2005 #13Just Joined!
- Join Date
- Nov 2005
- Posts
- 1
thanks in advance
So I have tried everything up to here.
on the grub interface highkight you linux distro
press 'e' on the key board
u will be taken to the sub menu
here select the line that starts with the word kernel and hit 'e' again
the line will now appear in editable mode
donot delete anything from the line... go to the end of the line and add '1' without the quotes to it
"kernel ***** ro root=LABEL=/ 1"
hit enter
now u will be taken back to the sub menu
now press 'b'
After this it boots normally into the login screen where I am again locked out of.
Does it matter at all that my kernel line is VERY short and ends in the word quiet?
- 11-10-2005 #14Just Joined!
- Join Date
- Nov 2005
- Location
- Canada
- Posts
- 15
This is a true statement. However using a LiveCD, like Knoppix, or bootdisk and rootdisk diskettes. you can mount your Linux disk to mountpoint.
Originally Posted by scm
example.Now you can go to the mounted diskCode:$ mount /mnt /dev/hda5
Now attempt to edit your file /etc/passwd by vi or sed.Code:cd /mnt
Note: The file you are editing, passwd, is mounted at /mnt/etc/passwd.
You want to edit the line that contains the word "root". For example, if your /etc/passwd contains the lineCode:$ vi /mnt/etc/passwd
edit it and blank out the password field to the next:Code:root:x3FrTg6uYT7.:0:0:root:/:/bin/sh
Save the changes, you will be able to login as root without a password.Code:root::0:0:root:/:/bin/sh
Other possible method:
If you think your root password is a dictionary word or name use "John the Ripper." It is really fast and really easy to use. -google it for more info.


Reply With Quote
