[Cialug] Wierd account stuff
Tony Bibbs
tony at tonybibbs.com
Thu Jul 6 13:00:01 CDT 2006
I was root when I changed the password. Then I exited out to a normal
user account and did "su - someuser" and entered the password I gave.
And yes, it is in /etc/shadow as well as /etc/passwd.
Most bizarre damned thing I've ever seen.
--Tony
Brandon Griffis wrote:
> If you're logged in as root and do a su - <username> you shouldn't have
> to enter a password. As root it should just go.
>
> Are you sudo'ing it as a regular user? It almost sounds like you're not
> really root when you're doing the su - <username> so it's possible that
> you're not root when you passwd <username> to change the password.
>
> That'd be the only idea off the top of my head. Are there any more
> details? Is "incorrect password" the complete error? Does the old
> password still work?
>
> If you can't get into the account at all you might try checking the
> shadow file in /etc/ to make sure the user exists.
>
> -Gamble
>
> On 7/6/06, *Tony Bibbs* <tony at tonybibbs.com <mailto:tony at tonybibbs.com>>
> wrote:
>
> sorry, I that is what I was doing "su - someuser"
>
> Jon Clemons wrote:
> > Does it do the same thing if you su - username
> >
> > ----- Original Message ----- From: "Tony Bibbs" <
> tony at tonybibbs.com <mailto:tony at tonybibbs.com>>
> > To: <cialug at cialug.org <mailto:cialug at cialug.org>>
> > Sent: Thursday, July 06, 2006 12:18 PM
> > Subject: [Cialug] Wierd account stuff
> >
> >
> >> I've got an account on a FC4 box and if I, as root, change the
> >> password for a specific user and then try to su over I get
> "incorrect
> >> password" errors. I've done this a few times and I keep getting the
> >> same response. Any ideas on what might be going on or what to
> check
> >> next?
> >>
> >> --Tony
> >> _______________________________________________
> >> Cialug mailing list
> >> Cialug at cialug.org <mailto:Cialug at cialug.org>
> >> http://cialug.org/mailman/listinfo/cialug
> >>
> >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org <mailto:Cialug at cialug.org>
> > http://cialug.org/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org <mailto:Cialug at cialug.org>
> http://cialug.org/mailman/listinfo/cialug
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list