Commit Graph

13 Commits

Author SHA1 Message Date
Todd C. Miller
505b424a56 add DARPA credit on affected files 2003-04-16 00:42:10 +00:00
Todd C. Miller
d6a9e16d95 update copyright year 2003-03-15 20:37:44 +00:00
Todd C. Miller
05d1f02909 Return AUTH_FAILURE in passwd_init() if skeyaccess() denies access
to normal passwords, not AUTH_FATAL (which just causes an exit).
2002-01-17 15:56:15 +00:00
Todd C. Miller
437464847c skeyaccess() wants a struct passwd * not a char *; Patch from Phillip E. Lobbes 2002-01-17 05:24:28 +00:00
Todd C. Miller
65fad4df35 o Reorder some headers and use STDC_HEADERS define properly
o Update copyright year
2001-12-14 19:52:54 +00:00
Todd C. Miller
e299dee342 Add support for skeyaccess(3) if it is present in libskey. 2001-12-14 06:15:08 +00:00
Todd C. Miller
4d4ed8c166 Better fix for handling HP-UX aging info. 2000-03-23 00:27:41 +00:00
Todd C. Miller
cbd8898687 HP-UX adds extra info at the end for password aging so when comparing
the result of crypt to pw_passwd we only compare the first len(epass)
bytes *unless* the user entered an empty string for a password.
2000-03-13 20:52:25 +00:00
Todd C. Miller
8a7226ad7d Truncate unencrypted password to 8 chars if encrypted password is exactly
13 characters (indicateing standard a DES password).  Many versions
of crypt() do this for you, but not all (like HP-UX's).
2000-03-03 23:04:50 +00:00
Todd C. Miller
d40947c0b0 In struct sudo_auth, turn need_root and configured into flags and
add a flag to specify an auth method is running alone (the only
one).  Pass auth methods their sudo_auth pointer, not the data
pointer.  This allows us to get at the flags and tell if we are the
only auth method.  That, in turn, allows the method to be able to
decide what should/should not be a fatal error.  Currently only
rfc1938 uses it this way, which allows us to kill the OTP_ONLY
define and te hackery that went with it.  With access to the
sudo_auth struct, methods can also get at a string holding their
cannonical name (useful in error messages).
1999-08-14 15:36:47 +00:00
Todd C. Miller
0d732401f4 add 4th term to license similar to term 5 in the apache license 1999-07-31 16:19:50 +00:00
Todd C. Miller
f73c3fa0d8 BSD-style copyright 1999-07-22 11:00:49 +00:00
Todd C. Miller
169d85ac9e New authentication API and methods 1999-07-11 00:32:11 +00:00