Todd C. Miller
d1bcdd0495
superceded by new auth API
1999-07-22 11:04:02 +00:00
Todd C. Miller
55ced1ba25
BSD-style copyright
1999-07-22 11:02:34 +00:00
Todd C. Miller
5d0a0e44e3
Use snprintf() where it makes sense and add a BSD-style copyright
1999-07-22 11:02:24 +00:00
Todd C. Miller
f73c3fa0d8
BSD-style copyright
1999-07-22 11:00:49 +00:00
Todd C. Miller
61f51d9587
BSD-style copyright
1999-07-22 10:58:10 +00:00
Todd C. Miller
f00f0b239e
this has been rewritten so use my BSD-style copyright
1999-07-22 10:57:09 +00:00
Todd C. Miller
17f22b06cd
include malloc.h if no stdlib.h
1999-07-15 15:21:25 +00:00
Todd C. Miller
143a6195c4
KTH snprintf()/asprintf() for systems w/o them
1999-07-15 14:21:02 +00:00
Todd C. Miller
f47def63fc
strerror() for systems w/o it
1999-07-15 14:20:28 +00:00
Todd C. Miller
b144c103f0
stylistic changes
1999-07-12 10:53:09 +00:00
Todd C. Miller
26be17a3d6
Add contribution info in the main comment
1999-07-12 10:25:14 +00:00
Todd C. Miller
68ee11667f
remove missed ref to PAM_nullpw
1999-07-11 20:10:25 +00:00
Todd C. Miller
d0c6d75813
pasto
1999-07-11 20:10:00 +00:00
Todd C. Miller
baadc4ede3
more or less complete now--still untested
1999-07-11 19:19:18 +00:00
Todd C. Miller
61e798ffd0
don't use user_name macro, it will go away
1999-07-11 19:09:21 +00:00
Todd C. Miller
2ad09786a1
combine skey/opie code into rfc1938.c
1999-07-11 18:42:34 +00:00
Todd C. Miller
0e40c78886
DCE authentication method; basically unchanged from dce_pwent.c
1999-07-11 11:22:16 +00:00
Todd C. Miller
ce2573d997
AIX authenticate() support. Could probably be much better
1999-07-11 10:44:59 +00:00
Todd C. Miller
d1c145f41f
Fix an uninitialized variable and some cleanup. Now works (tested)
1999-07-11 10:43:42 +00:00
Todd C. Miller
c9e9f07ac3
SIA support for digital unix
1999-07-11 09:37:19 +00:00
Todd C. Miller
14854258ab
don't use prompt global, it will go away
1999-07-11 09:33:01 +00:00
Todd C. Miller
2d8417f59d
correct copyright years
1999-07-11 09:32:52 +00:00
Todd C. Miller
169d85ac9e
New authentication API and methods
1999-07-11 00:32:11 +00:00
Todd C. Miller
d22fe7a98d
regen
1999-07-08 10:46:46 +00:00
Todd C. Miller
63209c1348
only save an entry if user_matches && host_matches, even if the stack is empty (fix for previous commit)
1999-07-08 10:46:28 +00:00
Todd C. Miller
5ab9fa82e1
regen
1999-07-08 10:35:58 +00:00
Todd C. Miller
fb54a0311a
1) Always save an entry on the stack if it is empty. This fixes the
...
-l and -v flags that were broken by earlier parser changes.
2) In a Runas list, don't negate FALSE -> TRUE since that would make !foo
match any time the user specified a runas user (via -u) other than foo.
1999-07-08 10:35:28 +00:00
Todd C. Miller
feb78be26e
interfaces and num_interfaces are now auto, not extern
1999-07-08 09:45:16 +00:00
Todd C. Miller
b7a4a6c787
use a static global to keep stae about empty passwords
1999-07-07 18:09:00 +00:00
Todd C. Miller
cc68b825cc
make PASSWORD_NOT_CORRECT logging consistent with other modules
1999-07-07 18:08:22 +00:00
Todd C. Miller
1b023dc9dd
PAM prompt code was wrong, looks like we have to kludge it after all.
1999-07-05 20:53:54 +00:00
Todd C. Miller
3bdb3e41ca
In the PAM code, when a user hits return at the first password prompt, exit without a warning just like the normal auth code
1999-07-05 20:35:30 +00:00
Todd C. Miller
0f648f1069
kludge around cross-compiler false positives
1999-07-05 20:15:44 +00:00
Todd C. Miller
69a00325ec
New (correct) PAM code
...
Tgetpass now takes an echo flag for use with PAM_PROMPT_ECHO_ON
Block SIGINT and SIGTSTP during auth
remove a useless umask setting
Change error from BAD_ALLOCATION -> BAD_AUTH_INIT (for use with sia/PAM)
Some cosmetic changes to auth.c for consistency
1999-07-05 20:14:21 +00:00
Todd C. Miller
20002b5fe2
Some -Wall and kill some trailing spaces
1999-07-05 20:11:50 +00:00
Todd C. Miller
82353107e2
define -D__EXTENSIONS__ for solaris so we get crypt() proto
1999-07-05 20:10:21 +00:00
Todd C. Miller
34fa2fc237
add Dynix 4.4.4
1999-06-22 13:42:30 +00:00
Todd C. Miller
8e30e833f5
for kerberos V < version, fall back on old kerb4 auth code
1999-06-22 13:30:25 +00:00
Todd C. Miller
81cf00633b
clarify some things
1999-06-22 10:41:02 +00:00
Todd C. Miller
a11c148681
typos
1999-06-22 10:38:39 +00:00
Todd C. Miller
b3cd9b1f96
mention why DONT_LEAK_PATH_INFO is not the default
1999-06-14 23:47:56 +00:00
Todd C. Miller
1eab167a30
Fix open(2) return value checking, was NULL for fopen, should be -1 for open
1999-06-03 16:34:10 +00:00
Todd C. Miller
c4cb29099d
regen
1999-06-03 16:06:20 +00:00
Todd C. Miller
45700fb7b7
better wording for solaris pam notice
1999-06-03 16:06:02 +00:00
Todd C. Miller
8b8db7ea0e
document recent changes
1999-06-03 15:52:40 +00:00
Todd C. Miller
f5c60e6df6
Update shadow password section
1999-06-03 15:52:18 +00:00
Todd C. Miller
7d768c1cec
move authentication code from check.c to auth.c
1999-06-03 15:51:44 +00:00
Todd C. Miller
406056d7e5
move authentication code to auth.c
1999-06-03 15:51:07 +00:00
Todd C. Miller
80287c981c
Move interface-related defines to interfaces.h so we don't have to include
...
<netinet/in.h> everywhere.
1999-05-17 01:36:30 +00:00
Todd C. Miller
850a52aa6f
o Replace _PASSWD_LEN braindeath with our own SUDO_MAX_PASS.
...
It turns out the old DES crypt does the right thing with passwords
longert than 8 characters.
o Fix common typo (necesary -> necessary)
o Update TODO list
1999-05-14 16:30:14 +00:00