Todd C. Miller
1497cdb542
Update history a bit
1999-07-22 12:31:53 +00:00
Todd C. Miller
40b43b7a2f
Now distributed under a BSD-style license
1999-07-22 12:29:33 +00:00
Todd C. Miller
c47edcb887
o BSD-style copyright
...
o Add support for NO_PASSWD/WITHOUT_PASSWD options.
o skey/opie replaced by rfc1938 code
o new struct sudo_user global
1999-07-22 12:28:08 +00:00
Todd C. Miller
53543b6b7a
BSD-style copyright and use new log functions
1999-07-22 12:25:16 +00:00
Todd C. Miller
43499ea5ea
o BSD-style copyright
...
o Use new log functiongs
o Use asprintf() and snprintf() where sensible.
1999-07-22 12:24:42 +00:00
Todd C. Miller
ccc7369371
Rewrote all the old sudo 1.1/1.2 code. Timestamp handling is now
...
done more reasonably--better sanity checks and tty-based stamps are
now done as files in a directory with the same name as the invoking
user, eg. /var/run/sudo/millert/ttyp1. It is not currently possible
to mix tty and non-tty based ticket schemes but this may change in
the future (it requires sudo to use a directory instead of a file
in the non-tty case). Also, ``sudo -k'' now sets the ticket back
to the epoch and ``sudo -K'' really deletes the file. That way you
don't get the lecture again just because you killed your ticket in
.logout. BSD-style copyright now.
1999-07-22 12:19:11 +00:00
Todd C. Miller
7e369e5195
o rewritten logging routines. log_error() now takes printf-style varargs
...
and log_auth() for the return value of validate().
o BSD-style copyright
1999-07-22 12:13:50 +00:00
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