[ale] [ALE] Question on how to rest password on RHEL 6

Brian Mathis brian.mathis+ale at betteradmin.com
Tue Jan 17 10:51:53 EST 2012


On Mon, Jan 16, 2012 at 11:14 PM, David Ritchie <deritchie at gmail.com> wrote:
> On Mon, Jan 16, 2012 at 10:32 PM, Jeremy T. Bouse
> <jeremy.bouse at undergrid.net> wrote:
>> On 01/16/2012 08:47 PM, Chuck Payne wrote:
>>> Guys,
>>>
>>> Has anyone had to reset the password on RHEL 6? When I go boot into
>>> init 1 like I use to in RHEL 5, and passwd. I could change the
>>> password. Now, I in RHEL 6 when I boot into init 1 type passwd, it
>>> just goes away.
>>>
>>> Any clue?
>
> Googles says:
>
> http://vicker313.wordpress.com/2011/06/08/recover-root-password-in-rhel6/
>
> -- Dave


You can also edit the kernel line from the grub screen and add
"init=/bin/bash" and it will boot directly to a shell with no need for
any password.  You will have to remount the filesystem read-write
before you can change the password:
    mount -o rw,remount /


❧ Brian Mathis



More information about the Ale mailing list