[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] crypt()
- Subject: [ale] crypt()
- From: pekstrom at rugrat.org (Peter Ekstrom)
- Date: Thu, 29 Mar 2001 09:35:28 -0500 (EST)
Chris,
I believe that the number of characters actually used in a password varies
between different implementations of UNIX (and most likely other OSes as well).
I know Solaris only uses the first 8 characters, I think Linux is the same way
but I'm not sure about that. Someone please correct me if I'm wrong!
//Peter
> I'm using the crypt function to check a users passwd word against one in the
> /etc/passwd file. For testing purposes, the password is password. I've
> noticed that when I issue any character past 8 characters that
> the user enters at the password prompt gets ignored by crypt(). I allow the
> user to enter a 32 character password so it they enter password12345 they
> will be allowed access when password is the real password.
> Has anyone else seen this?
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.