Re: Remove Root Password from Shadow file
From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 03/04/05
- Next message: Villy Kruse: "Re: RPM: how to change the target directory?"
- Previous message: Joerg Morbitzer: "Re: Upgrade kernel 2.4 -> 2.6"
- In reply to: Klist Smith: "Remove Root Password from Shadow file"
- Next in thread: Mike Mol: "Re: Remove Root Password from Shadow file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 4 Mar 2005 08:11:21 GMT
Klist Smith <klistsmith@hotmail.com> writes:
>I forgot my root password for my Linux. Heard that I can simply remove
>the line in the "shadow" file under \etc\.
>What will happen if i simply remove it and reboot? Will it ask for a new
>password or what?
Remover the :x: in /etc/passwd for root. This will make the account
passwordless. Or log on in single user mode (linux 1 at the lilo prompt)
and then run passwd to make a new password for root.
- Next message: Villy Kruse: "Re: RPM: how to change the target directory?"
- Previous message: Joerg Morbitzer: "Re: Upgrade kernel 2.4 -> 2.6"
- In reply to: Klist Smith: "Remove Root Password from Shadow file"
- Next in thread: Mike Mol: "Re: Remove Root Password from Shadow file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|