[CLUE-Tech] 'Scuse me, but why did the RH7.2 upgrade change my root password.

Jed S. Baer thag at frii.com
Sat Mar 23 18:19:43 MST 2002


On Sat, 23 Mar 2002 18:16:32 -0700
Dave Anselmi <anselmi at americanisp.net> wrote:

> "Jed S. Baer" wrote:
> 
> > [scratching head] I know I have how to change it written down
> > somewhere.
> 
> If you can boot another system easily (from floppy, or get a shell from
> your RH install disks), you can mount your root partition and edit its
> /etc/passwd(or shadow) to remove the root password.
> 
> You can also type init=/bin/bash at the boot prompt and you'll get bash
> instead of init (sort of like being in single user mode).  Remount / to
> be rw and then edit /etc/passwd.

Thanks Dave. I used the "single" parameter at the lilo prompt. Mounts
everything even. Easy enough to issue the passwd command at that point.

I'm somewhat more aggravated now, as I'm discovering certain services
won't start, cuz root isn't the only thing in my passwd/group settings it
went and munged. Why can't RedHat figure that maybe I made changes to my
system cuz I wanted it that way? Does SuSe do stupid stuff like this?

-- 
"Those who expect to reap the blessings of freedom must, like men,
 undergo the fatigue of supporting it."
 - Thomas Paine



More information about the clue-tech mailing list