NIS User account? or crypt issue?

Rigler, Steve srigler at marathonoil.com
Tue Aug 24 16:24:32 UTC 2004


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 at redhat.com
[mailto:redhat-list-bounces at 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 at redhat.com
> [mailto:redhat-list-bounces at 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 at 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 at nds.com and destroy 
> the original message.
> **************************************************************
> *********************
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


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







More information about the redhat-list mailing list