password mismatch

From: Fredderic (fredderic_at_iprimus.DOT.com.DOT.au)
Date: 10/12/03


Date: Sun, 12 Oct 2003 19:10:52 +1000

A friend of mine installed RedHat on his machine (some version he got off
a recent computer mag), and is having a little bit of trouble.

He forgot his root password.

I tried changing it for him using the passwd command, and it seemed to
accept it just fine. But when we tried to log in as root, using the new
password we'd just set, it failed.

I took a look at the password file, and noted something rather odd. The
existing account passwords all had hi-ascii characters in them, but the
one I'd just set with passwd did not. In the end I just copy'n'paste'd
his user account password over his root password, so he could at least use
it. But he still can't figure out how to change his account passwords.

I'm assuming that either his PAM is stuffed up (expecting a different
format password to the one passwd is generating), or RedHat have
effectively ditched passwd and are using their own mechanism for setting
them. Any suggestions? I personally use Debian, so I'm unfamiliar with
the finer points of RedHat-enism.

Fredderic



Relevant Pages

  • Re: password mismatch
    ... > The existing account passwords all had hi-ascii characters in them, ... > one I'd just set with passwd did not. ... > copy'n'paste'd his user account password over his root password, ... but that's hardly an excuse to misunderstand RedHat... ...
    (comp.os.linux)
  • RE: Problem changing local root password
    ... Redhat WS Version 3 machines but we keep getting the error below. ... Changing password for user root. ... passwd: Failed preliminary check by password service ...
    (RedHat)
  • Re: NIS - "incorrect password"
    ... > On RedHat I can 'YPcat passwd' and see the users. ... end of the local passwd and group files before NIS will work. ...
    (comp.os.linux.networking)
  • NIS
    ... I have installed NIS on a Redhat 9 machine. ... I was expecting to see the five users when I issue the command ypcat passwd. ...
    (RedHat)
  • Installing NIS
    ... I have installed NIS on a Redhat 9 machine. ... I was expecting to see the five users when I issue the command ypcat passwd. ...
    (RedHat)