Todd C. Miller
3cbcd52f9a
BSD license
1999-07-22 12:59:37 +00:00
Todd C. Miller
6ccee0f5b2
BSD-style copyright
1999-07-22 12:58:52 +00:00
Todd C. Miller
dd312cee2f
o BSD copyright
...
o no need to block signals, we now do that in main()
o cosmetic changes
1999-07-22 12:58:39 +00:00
Todd C. Miller
4dc01cc916
o BSD-style copyright
...
o Use "struct sudo_user" instead of old globals.
o some cometic cleanup
1999-07-22 12:57:47 +00:00
Todd C. Miller
5fbc12d529
BSD-style copyright
1999-07-22 12:56:50 +00:00
Todd C. Miller
95179ddffe
o BSD copyright
...
o logging and parser bits moved to their own .h files
o new "struct sudo_user" to encapsulate many of the old globals.
1999-07-22 12:56:28 +00:00
Todd C. Miller
7fe99a8caa
o no longer contains sudo 1.1/1.2 code
...
o BSD copyright
o use new logging routines
o simplified flow of control
o BIND resolver additions to badenv_table
1999-07-22 12:55:17 +00:00
Todd C. Miller
c4079a538c
BSD-style copyright
1999-07-22 12:53:30 +00:00
Todd C. Miller
bcc133c11e
Now compiles on more K&R compilers
1999-07-22 12:53:20 +00:00
Todd C. Miller
ebc1acfff9
BSD-style copyright, cosmetic changes
1999-07-22 12:52:23 +00:00
Todd C. Miller
be40509eb7
BSD-style copyright
1999-07-22 12:52:06 +00:00
Todd C. Miller
c7fd99aa54
BSD-style copyright. Move parser-specific defines and structs into parse.h + other cosmetic changes
1999-07-22 12:51:18 +00:00
Todd C. Miller
c665b67244
defines for logging routines
1999-07-22 12:51:13 +00:00
Todd C. Miller
692fe8cdb3
BSD-style copyright, cosmetic changes
1999-07-22 12:49:28 +00:00
Todd C. Miller
cdd6ceff6e
BSD-style copyright
1999-07-22 12:49:15 +00:00
Todd C. Miller
379f683661
o tgetpass.c is no longer optional
...
o kill DCE_OBJS, add AUTH_OBJS
o kill --disable-tgetpass
o add --without-passwd
o changes to fill in AUTH_OBJS for new auth api
o check for strerror(), v?snprintf() and v?asprintf()
o replace --with-AuthSRV with --with-fwtk
1999-07-22 12:46:29 +00:00
Todd C. Miller
be18d643e1
BSD-style copyright. Remove USE_GETPASS and HAVE_UTIME_NULL. Add HAVE_FWTK, HAVE_STRERROR, HAVE_SNPRINTF, HAVE_VSNPRINTF, HAVE_ASPRINTF, HAVE_VASPRINTF, WITHOUT_PASSWD and NO_PASSWD
1999-07-22 12:43:42 +00:00
Todd C. Miller
e4ea15963d
BSD-style copyright; Add S_IFLNK and MIN/MAX id they are missing.
1999-07-22 12:42:02 +00:00
Todd C. Miller
1403ace084
BSD-style copyright
1999-07-22 12:39:07 +00:00
Todd C. Miller
3d5c6fc256
no more --with-getpass
1999-07-22 12:38:48 +00:00
Todd C. Miller
3bce72741d
Take out things I've done...
1999-07-22 12:34:53 +00:00
Todd C. Miller
6e31765b80
Refer to LICENSE
1999-07-22 12:34:19 +00:00
Todd C. Miller
27456c3921
--with-getpass no longer exists
1999-07-22 12:34:01 +00:00
Todd C. Miller
e86bcddbed
BSD-style copyright. Update to reflect reality wrt new files and new auth modules.
1999-07-22 12:33:26 +00:00
Todd C. Miller
106a909f33
Remove --with-AuthSRV and --disable-tgetpass. Add --with-fwtk and --without-passwd.
1999-07-22 12:32:39 +00:00
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