RE: NIS User account? or crypt issue?

From: Rigler, Steve (srigler_at_marathonoil.com)
Date: 08/24/04

  • Next message: James Harrison: "RE: NIS User account? or crypt issue?"
    Date: Tue, 24 Aug 2004 11:24:32 -0500
    To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
    
    

    It looks like the biggest difference between the two is that
    "timecard" is 8 characters and "motivation" is 10 characters.

    It doesn't look like this is documented anywhere on Linux,
    but here's an excerpt from "man passwd" on Irix:

     Each password must have at least six characters. Only the first
     eight characters are significant.

    IIRC, this limitation is imposed by crypt() (MD5 allows for much
    longer passwords).

    -Steve

    -----Original Message-----
    From: redhat-list-bounces@redhat.com
    [mailto:redhat-list-bounces@redhat.com] On Behalf Of Dege, Robert C.
    Sent: Tuesday, August 24, 2004 9:58 AM
    To: 'General Red Hat Linux discussion list'
    Subject: RE: NIS User account? or crypt issue?

    I have made some progress on my problem, however I don't feel any closer
    to a solution than before!
    I have been able to eliminate NIS as a possible problem. This seems to
    be more of a authentication issue with login itself. Here's what I did:

    *) first, I took the NIS entry (ypmatch user passwd) && placed it into
    /etc/passwd.
    *) shut off NIS. finger the username to verify that the local passwd
    entry is valid.
    *) I tried to login but was still getting password failures.

    *) I then ran a crypt perl script & changed the encrypted passwd (passwd
    is timecard)
    *) I tried to login & was successful! I could login.

    *) I ran the crypt perl script again & changed the encrypted passwd
    (passwd is motivation)
    *) I tried to login & failed with a password incorrect again.

    # ./crypt.pl timecard
    qiI5rFufWzRBQ

    # ./crypt.pl motivation
    ddo7t1js5n.pE

    -Rob

    > -----Original Message-----
    > From: redhat-list-bounces@redhat.com
    > [mailto:redhat-list-bounces@redhat.com]
    > Sent: Tuesday, August 24, 2004 9:38 AM
    > To: General Red Hat Linux discussion list
    > Subject: RE: NIS User account
    >
    >
    > can you "su - problematic_account" from root?
    >
    > > -----Original Message-----
    > > From: Dege, Robert C. [mailto:robert.dege@ngc.com]
    > > Sent: Mon, August 23, 2004 9:36 PM
    > > To: RedHat List (E-mail)
    > > Subject: NIS User account
    > >
    > >
    > >
    > > I am need of assistance. I have an NIS user account that can
    > > logon to one
    > > machine, but is unable to logon to another. Both NIS clients
    > > share the
    > > same NIS master, and are in the same domain.
    > >
    > > I ran a ypmatch against the user, and NIS entry is identical
    > > from both
    > > machines. A finger on the NIS account from both systems
    > > shows identical
    > > information, along with a valid shell.
    > >
    > > Upon failed authentication, /var/log/messages shows a
    > > PASSWORD INCORRECT
    > > message on system-2. I also tried over ssh & telnet, but
    > to no avail.
    > >
    > > Both systems are redhat 7.2.
    > >
    > > -Rob
    > >
    > >
    > >
    > >
    > **************************************************************
    > *********************
    > Information contained in this email message is intended only
    > for use of the individual or entity named above. If the
    > reader of this message is not the intended recipient, or the
    > employee or agent responsible to deliver it to the intended
    > recipient, you are hereby notified that any dissemination,
    > distribution or copying of this communication is strictly
    > prohibited. If you have received this communication in error,
    > please immediately notify the postmaster@nds.com and destroy
    > the original message.
    > **************************************************************
    > *********************
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: James Harrison: "RE: NIS User account? or crypt issue?"

    Relevant Pages

    • NIS+ - Changing a users forgotten password as root.
      ... NIS+ password information changed for Guest ... The NIS+ credential information for GuestI will not be changed. ... Use NEW passwd for login and OLD passwd for keylogin. ...
      (SunManagers)
    • Re: nfs username and passwd does not work on tty1, tty2, tty3
      ... am not able to login using my nfs username and passwd on tty1, tty2, tty3 etc. ... I suspect you mean NIS username? ...
      (Debian-User)
    • nis plus - user has forgotten their passwd. I cant reset it.
      ... I used the following command and NIS+ is unable to set the password. ... The NIS+ credential information for evera will not be changed. ... Use NEW passwd for login and OLD passwd for keylogin. ...
      (comp.unix.solaris)
    • RE: NIS User account? or crypt issue?
      ... I have been able to eliminate NIS as a possible problem. ... This seems to be more of a authentication issue with login itself. ... finger the username to verify that the local passwd entry is valid. ... *) I tried to login & failed with a password incorrect again. ...
      (RedHat)
    • RE: NIS User account
      ... you different information on the machines where the user can login ... Subject: NIS User account ... I should also mention that other NIS accounts ...
      (RedHat)