]>
granicus.if.org Git - sudo/log
Todd C. Miller [Sun, 1 Aug 1999 16:37:07 +0000 (16:37 +0000)]
work around pod2man stupididy
Todd C. Miller [Sun, 1 Aug 1999 16:35:06 +0000 (16:35 +0000)]
correct dependencies for .cat
Todd C. Miller [Sun, 1 Aug 1999 16:26:16 +0000 (16:26 +0000)]
regen
Todd C. Miller [Sun, 1 Aug 1999 16:25:25 +0000 (16:25 +0000)]
Add copyright
Update to reality
Todd C. Miller [Sun, 1 Aug 1999 15:42:12 +0000 (15:42 +0000)]
rename validate() to the more descriptive sudoers_lookup()
Todd C. Miller [Sun, 1 Aug 1999 10:49:41 +0000 (10:49 +0000)]
use tgetpass
Todd C. Miller [Sat, 31 Jul 1999 16:32:56 +0000 (16:32 +0000)]
updates
Todd C. Miller [Sat, 31 Jul 1999 16:31:27 +0000 (16:31 +0000)]
Sudo, not CU Sudo
Todd C. Miller [Sat, 31 Jul 1999 16:20:10 +0000 (16:20 +0000)]
add 4th term to license similar to term 5 in the apache license
Todd C. Miller [Sat, 31 Jul 1999 16:19:51 +0000 (16:19 +0000)]
add 4th term to license similar to term 5 in the apache license
Todd C. Miller [Sat, 31 Jul 1999 16:19:50 +0000 (16:19 +0000)]
add 4th term to license similar to term 5 in the apache license
Todd C. Miller [Sat, 31 Jul 1999 16:19:45 +0000 (16:19 +0000)]
add 4th term to license similar to term 5 in the apache license
Todd C. Miller [Sat, 31 Jul 1999 16:19:45 +0000 (16:19 +0000)]
add 4th term to license similar to term 5 in the apache license
Todd C. Miller [Sat, 31 Jul 1999 16:02:13 +0000 (16:02 +0000)]
there was a 1995 release too
Todd C. Miller [Wed, 28 Jul 1999 09:24:45 +0000 (09:24 +0000)]
updates
Todd C. Miller [Wed, 28 Jul 1999 09:21:00 +0000 (09:21 +0000)]
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.
Todd C. Miller [Wed, 28 Jul 1999 09:17:14 +0000 (09:17 +0000)]
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.
Todd C. Miller [Sat, 24 Jul 1999 07:35:42 +0000 (07:35 +0000)]
first cut at auth API description
Todd C. Miller [Thu, 22 Jul 1999 19:48:27 +0000 (19:48 +0000)]
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.
Todd C. Miller [Thu, 22 Jul 1999 16:23:13 +0000 (16:23 +0000)]
use easprintf() and evasprintf()
Todd C. Miller [Thu, 22 Jul 1999 16:22:47 +0000 (16:22 +0000)]
add easprintf() and evasprintf(), error checking versions of asprintf() and vasprintf()
Todd C. Miller [Thu, 22 Jul 1999 13:14:31 +0000 (13:14 +0000)]
remove 2 items. One done, one won't do.
Todd C. Miller [Thu, 22 Jul 1999 13:12:27 +0000 (13:12 +0000)]
regen
Todd C. Miller [Thu, 22 Jul 1999 13:11:16 +0000 (13:11 +0000)]
regen
Todd C. Miller [Thu, 22 Jul 1999 13:06:48 +0000 (13:06 +0000)]
new changes
Todd C. Miller [Thu, 22 Jul 1999 13:01:20 +0000 (13:01 +0000)]
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
Todd C. Miller [Thu, 22 Jul 1999 12:59:37 +0000 (12:59 +0000)]
BSD license
Todd C. Miller [Thu, 22 Jul 1999 12:58:52 +0000 (12:58 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 12:58:39 +0000 (12:58 +0000)]
o BSD copyright
o no need to block signals, we now do that in main()
o cosmetic changes
Todd C. Miller [Thu, 22 Jul 1999 12:57:47 +0000 (12:57 +0000)]
o BSD-style copyright
o Use "struct sudo_user" instead of old globals.
o some cometic cleanup
Todd C. Miller [Thu, 22 Jul 1999 12:56:50 +0000 (12:56 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 12:56:28 +0000 (12:56 +0000)]
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.
Todd C. Miller [Thu, 22 Jul 1999 12:55:17 +0000 (12:55 +0000)]
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
Todd C. Miller [Thu, 22 Jul 1999 12:53:30 +0000 (12:53 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 12:53:20 +0000 (12:53 +0000)]
Now compiles on more K&R compilers
Todd C. Miller [Thu, 22 Jul 1999 12:52:23 +0000 (12:52 +0000)]
BSD-style copyright, cosmetic changes
Todd C. Miller [Thu, 22 Jul 1999 12:52:06 +0000 (12:52 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 12:51:18 +0000 (12:51 +0000)]
BSD-style copyright. Move parser-specific defines and structs into parse.h + other cosmetic changes
Todd C. Miller [Thu, 22 Jul 1999 12:51:13 +0000 (12:51 +0000)]
defines for logging routines
Todd C. Miller [Thu, 22 Jul 1999 12:49:28 +0000 (12:49 +0000)]
BSD-style copyright, cosmetic changes
Todd C. Miller [Thu, 22 Jul 1999 12:49:15 +0000 (12:49 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 12:46:29 +0000 (12:46 +0000)]
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
Todd C. Miller [Thu, 22 Jul 1999 12:43:42 +0000 (12:43 +0000)]
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
Todd C. Miller [Thu, 22 Jul 1999 12:42:02 +0000 (12:42 +0000)]
BSD-style copyright; Add S_IFLNK and MIN/MAX id they are missing.
Todd C. Miller [Thu, 22 Jul 1999 12:39:07 +0000 (12:39 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 12:38:48 +0000 (12:38 +0000)]
no more --with-getpass
Todd C. Miller [Thu, 22 Jul 1999 12:34:53 +0000 (12:34 +0000)]
Take out things I've done...
Todd C. Miller [Thu, 22 Jul 1999 12:34:19 +0000 (12:34 +0000)]
Refer to LICENSE
Todd C. Miller [Thu, 22 Jul 1999 12:34:01 +0000 (12:34 +0000)]
--with-getpass no longer exists
Todd C. Miller [Thu, 22 Jul 1999 12:33:26 +0000 (12:33 +0000)]
BSD-style copyright. Update to reflect reality wrt new files and new auth modules.
Todd C. Miller [Thu, 22 Jul 1999 12:32:39 +0000 (12:32 +0000)]
Remove --with-AuthSRV and --disable-tgetpass. Add --with-fwtk and --without-passwd.
Todd C. Miller [Thu, 22 Jul 1999 12:31:53 +0000 (12:31 +0000)]
Update history a bit
Todd C. Miller [Thu, 22 Jul 1999 12:29:33 +0000 (12:29 +0000)]
Now distributed under a BSD-style license
Todd C. Miller [Thu, 22 Jul 1999 12:28:08 +0000 (12:28 +0000)]
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
Todd C. Miller [Thu, 22 Jul 1999 12:25:16 +0000 (12:25 +0000)]
BSD-style copyright and use new log functions
Todd C. Miller [Thu, 22 Jul 1999 12:24:42 +0000 (12:24 +0000)]
o BSD-style copyright
o Use new log functiongs
o Use asprintf() and snprintf() where sensible.
Todd C. Miller [Thu, 22 Jul 1999 12:19:11 +0000 (12:19 +0000)]
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.
Todd C. Miller [Thu, 22 Jul 1999 12:13:50 +0000 (12:13 +0000)]
o rewritten logging routines. log_error() now takes printf-style varargs
and log_auth() for the return value of validate().
o BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 11:04:02 +0000 (11:04 +0000)]
superceded by new auth API
Todd C. Miller [Thu, 22 Jul 1999 11:02:34 +0000 (11:02 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 11:02:24 +0000 (11:02 +0000)]
Use snprintf() where it makes sense and add a BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 11:00:49 +0000 (11:00 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 10:58:10 +0000 (10:58 +0000)]
BSD-style copyright
Todd C. Miller [Thu, 22 Jul 1999 10:57:09 +0000 (10:57 +0000)]
this has been rewritten so use my BSD-style copyright
Todd C. Miller [Thu, 15 Jul 1999 15:21:25 +0000 (15:21 +0000)]
include malloc.h if no stdlib.h
Todd C. Miller [Thu, 15 Jul 1999 14:21:02 +0000 (14:21 +0000)]
KTH snprintf()/asprintf() for systems w/o them
Todd C. Miller [Thu, 15 Jul 1999 14:20:28 +0000 (14:20 +0000)]
strerror() for systems w/o it
Todd C. Miller [Mon, 12 Jul 1999 10:53:09 +0000 (10:53 +0000)]
stylistic changes
Todd C. Miller [Mon, 12 Jul 1999 10:25:14 +0000 (10:25 +0000)]
Add contribution info in the main comment
Todd C. Miller [Sun, 11 Jul 1999 20:10:25 +0000 (20:10 +0000)]
remove missed ref to PAM_nullpw
Todd C. Miller [Sun, 11 Jul 1999 20:10:00 +0000 (20:10 +0000)]
pasto
Todd C. Miller [Sun, 11 Jul 1999 19:19:18 +0000 (19:19 +0000)]
more or less complete now--still untested
Todd C. Miller [Sun, 11 Jul 1999 19:09:21 +0000 (19:09 +0000)]
don't use user_name macro, it will go away
Todd C. Miller [Sun, 11 Jul 1999 18:42:34 +0000 (18:42 +0000)]
combine skey/opie code into rfc1938.c
Todd C. Miller [Sun, 11 Jul 1999 11:22:16 +0000 (11:22 +0000)]
DCE authentication method; basically unchanged from dce_pwent.c
Todd C. Miller [Sun, 11 Jul 1999 10:44:59 +0000 (10:44 +0000)]
AIX authenticate() support. Could probably be much better
Todd C. Miller [Sun, 11 Jul 1999 10:43:42 +0000 (10:43 +0000)]
Fix an uninitialized variable and some cleanup. Now works (tested)
Todd C. Miller [Sun, 11 Jul 1999 09:37:19 +0000 (09:37 +0000)]
SIA support for digital unix
Todd C. Miller [Sun, 11 Jul 1999 09:33:01 +0000 (09:33 +0000)]
don't use prompt global, it will go away
Todd C. Miller [Sun, 11 Jul 1999 09:32:52 +0000 (09:32 +0000)]
correct copyright years
Todd C. Miller [Sun, 11 Jul 1999 00:32:11 +0000 (00:32 +0000)]
New authentication API and methods
Todd C. Miller [Thu, 8 Jul 1999 10:46:46 +0000 (10:46 +0000)]
regen
Todd C. Miller [Thu, 8 Jul 1999 10:46:28 +0000 (10:46 +0000)]
only save an entry if user_matches && host_matches, even if the stack is empty (fix for previous commit)
Todd C. Miller [Thu, 8 Jul 1999 10:35:58 +0000 (10:35 +0000)]
regen
Todd C. Miller [Thu, 8 Jul 1999 10:35:28 +0000 (10:35 +0000)]
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.
Todd C. Miller [Thu, 8 Jul 1999 09:45:16 +0000 (09:45 +0000)]
interfaces and num_interfaces are now auto, not extern
Todd C. Miller [Wed, 7 Jul 1999 18:09:00 +0000 (18:09 +0000)]
use a static global to keep stae about empty passwords
Todd C. Miller [Wed, 7 Jul 1999 18:08:22 +0000 (18:08 +0000)]
make PASSWORD_NOT_CORRECT logging consistent with other modules
Todd C. Miller [Mon, 5 Jul 1999 20:53:54 +0000 (20:53 +0000)]
PAM prompt code was wrong, looks like we have to kludge it after all.
Todd C. Miller [Mon, 5 Jul 1999 20:35:30 +0000 (20:35 +0000)]
In the PAM code, when a user hits return at the first password prompt, exit without a warning just like the normal auth code
Todd C. Miller [Mon, 5 Jul 1999 20:15:44 +0000 (20:15 +0000)]
kludge around cross-compiler false positives
Todd C. Miller [Mon, 5 Jul 1999 20:14:21 +0000 (20:14 +0000)]
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
Todd C. Miller [Mon, 5 Jul 1999 20:11:50 +0000 (20:11 +0000)]
Some -Wall and kill some trailing spaces
Todd C. Miller [Mon, 5 Jul 1999 20:10:21 +0000 (20:10 +0000)]
define -D__EXTENSIONS__ for solaris so we get crypt() proto
Todd C. Miller [Tue, 22 Jun 1999 13:42:30 +0000 (13:42 +0000)]
add Dynix 4.4.4
Todd C. Miller [Tue, 22 Jun 1999 13:30:25 +0000 (13:30 +0000)]
for kerberos V < version, fall back on old kerb4 auth code
Todd C. Miller [Tue, 22 Jun 1999 10:41:02 +0000 (10:41 +0000)]
clarify some things
Todd C. Miller [Tue, 22 Jun 1999 10:38:39 +0000 (10:38 +0000)]
typos
Todd C. Miller [Mon, 14 Jun 1999 23:47:56 +0000 (23:47 +0000)]
mention why DONT_LEAK_PATH_INFO is not the default
Todd C. Miller [Thu, 3 Jun 1999 16:34:10 +0000 (16:34 +0000)]
Fix open(2) return value checking, was NULL for fopen, should be -1 for open