Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/usr.sbin/user



Module Name:    basesrc
Committed By:   agc
Date:           Mon Sep 30 10:32:41 UTC 2002

Modified Files:
        basesrc/usr.sbin/user: user.c

Log Message:
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.60 -r1.61 basesrc/usr.sbin/user/user.c

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




Home | Main Index | Thread Index | Old Index