Subject: CVS commit: [netbsd-1-6] src/usr.sbin/user
To: None <source-changes@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 12/26/2002 09:28:51
Module Name:	src
Committed By:	tron
Date:		Thu Dec 26 07:28:51 UTC 2002

Modified Files:
	src/usr.sbin/user [netbsd-1-6]: user.c

Log Message:
Pull up revision 1.61-1.62 (requested by he in ticket #1041):
Handle PR 18474 in a more safe and scalable fashion - keep a table of
password types, and their associated lengths, and check in useradd or
usermod whether the given encrypted password has the correct length.
This removes the (duplicated) hardcoded lengths which had crept in
with the last commit, and also checks the length of the given password
against the expected length.


To generate a diff of this commit:
cvs rdiff -r1.51.2.2 -r1.51.2.3 src/usr.sbin/user/user.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.