Todd C. Miller
fa26399ae1
add 4th term to license similar to term 5 in the apache license
1999-07-31 16:20:10 +00:00
Todd C. Miller
1a89248e42
add 4th term to license similar to term 5 in the apache license
1999-07-31 16:19:51 +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
40c228aa7b
add 4th term to license similar to term 5 in the apache license
1999-07-31 16:19:45 +00:00
Todd C. Miller
ca8eb6f2aa
add 4th term to license similar to term 5 in the apache license
1999-07-31 16:19:45 +00:00
Todd C. Miller
794f537eef
there was a 1995 release too
1999-07-31 16:02:13 +00:00
Todd C. Miller
46e856500b
updates
1999-07-28 09:24:45 +00:00
Todd C. Miller
0804f1786b
Use dirs instead of files for timestamp. This allows tty and non-tty
...
schemes to coexist reasonably. Note, however, that when you update
a tty ticket, the mtime on the user dir gets updated as well.
1999-07-28 09:21:00 +00:00
Todd C. Miller
0368b9e612
Fix getprpwnam() checking on SCO. Need to link with "-lprot -lx" when
...
linking test program, not just -lprot. Also add check for getspnam().
The SCO docs indicate that /etc/shadow can be used but this may be a lie.
1999-07-28 09:17:14 +00:00
Todd C. Miller
234f718e49
first cut at auth API description
1999-07-24 07:35:42 +00:00
Todd C. Miller
a1e0a8180a
auth API change. There is now an init method that gets run before
...
the main loop. This allows auth routines to differentiate between
initialization that happens once vs. setup that needs to run each time
through the loop.
1999-07-22 19:48:27 +00:00
Todd C. Miller
8d72a57eb9
use easprintf() and evasprintf()
1999-07-22 16:23:13 +00:00
Todd C. Miller
fd410d4bcb
add easprintf() and evasprintf(), error checking versions of asprintf() and vasprintf()
1999-07-22 16:22:47 +00:00
Todd C. Miller
c8962786f4
remove 2 items. One done, one won't do.
1999-07-22 13:14:31 +00:00
Todd C. Miller
7126759483
regen
1999-07-22 13:12:27 +00:00
Todd C. Miller
4c7239fd97
regen
1999-07-22 13:11:16 +00:00
Todd C. Miller
2ffac7eb41
new changes
1999-07-22 13:06:48 +00:00
Todd C. Miller
0e2cc2b7a8
o Document -K flag and update meaning of -k flag.
...
o BSD-style copyright
o Document clearing of BIND resolver environment variables
o Clarify bit about shared libs
o suggest rc files create /tmp/.odus if your OS gives away files
1999-07-22 13:01:20 +00:00
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