Imported Upstream version 1.7.0
[debian/sudo] / ChangeLog
1 2008-12-14 17:40  millert
2
3         * TODO: sync
4
5 2008-12-09 18:48  millert
6
7         * auth/pam.c: Return PAM_AUTH_ERR instead of PAM_CONV_ERR if user
8           enters ^C at the password prompt.
9
10 2008-12-09 16:13  millert
11
12         * configure.in, configure: Don't try to build sudo_noexec.so on
13           HP-UX with the bundled compiler as it cannot generate shared
14           objects.
15
16 2008-12-09 15:55  millert
17
18         * glob.c, lbuf.c, tgetpass.c, emul/charclass.h: K&R compilation
19           fixes
20
21 2008-12-09 08:49  millert
22
23         * parse.c: Use tq_foreach_fwd when checking pseudo-commands to make
24           it clear that we are not short-circuiting on last match.  When
25           pwcheck is 'all', initialize nopass to TRUE and override it with
26           the first non-TRUE entry.
27
28 2008-12-08 10:02  millert
29
30         * parse.c: Do not short circuit pseudo commands when we get a match
31           since, depending on the settings, we may need to examine all
32           commands for tags.
33
34 2008-12-03 15:58  millert
35
36         * sudoers.cat, sudoers.man.in: regen
37
38 2008-12-03 15:57  millert
39
40         * sudoers.pod: hostnames may also contain wildcards
41
42 2008-12-03 15:40  millert
43
44         * Makefile.in: remove stamp-* files and linux core files in clean
45           target
46
47 2008-12-02 12:30  millert
48
49         * config.h.in, configure, configure.in, auth/sudo_auth.h: Use
50           HAVE_SIA_SES_INIT instead of HAVE_SIA for Digital UNIX
51
52 2008-11-26 15:10  millert
53
54         * configure, configure.in: correctly enable SIA on Digital UNIX
55
56 2008-11-25 20:06  millert
57
58         * TODO: checkpoint
59
60 2008-11-25 20:05  millert
61
62         * ChangeLog: sync
63
64 2008-11-25 12:01  millert
65
66         * check.c, sudo.h, tgetpass.c: Even if neither stdin nor stdout are
67           ttys we may still have /dev/tty available to us.
68
69 2008-11-24 10:09  millert
70
71         * sudoers.cat, sudoers.man.in: regen
72
73 2008-11-24 10:08  millert
74
75         * sudoers.pod: fix typos; Markus Lude
76
77 2008-11-24 07:08  millert
78
79         * ChangeLog: sync
80
81 2008-11-23 19:42  millert
82
83         * toke.c: regen
84
85 2008-11-23 19:41  millert
86
87         * toke.l: Fix matching of a line that only consists of a comment
88           char
89
90 2008-11-22 13:17  millert
91
92         * auth/pam.c: MacOS pam will retry conversation function if it
93           fails so just treat ^C as an empty password.
94
95 2008-11-22 10:12  millert
96
97         * visudo.c: When checking for alias use, also check defaults
98           bindings.
99
100 2008-11-22 10:01  millert
101
102         * redblack.c: unused var
103
104 2008-11-22 09:42  millert
105
106         * redblack.c: Replace my rbdelete with Emin's version (which
107           actually works ;-)
108
109 2008-11-19 12:01  millert
110
111         * testsudoers.c: malloc debugging
112
113 2008-11-19 07:37  millert
114
115         * visudo.c: malloc options in devel mode for visudo too
116
117 2008-11-18 10:57  millert
118
119         * sudo.c: fix compilation on non-C99; from Theo
120
121 2008-11-18 10:50  millert
122
123         * visudo.c: fix check_aliases
124
125 2008-11-18 08:29  millert
126
127         * alias.c: when destroying an alias, free the correct data pointer
128
129 2008-11-18 07:54  millert
130
131         * auth/sudo_auth.h: add proto for aixauth_cleanup; from Dale King
132
133 2008-11-15 13:34  millert
134
135         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in, visudo.cat,
136           visudo.man.in: regen
137
138 2008-11-15 13:34  millert
139
140         * sudo.pod, sudoers.pod, visudo.pod: standardize on the term
141           'option' for command line options (not flag)
142
143 2008-11-14 06:18  millert
144
145         * INSTALL: Add note on configuring HP-UX pam
146
147 2008-11-11 13:28  millert
148
149         * check.c, sudo.c: Move tty checks into check_user() so we only do
150           them if we actually need a password.
151
152 2008-11-11 12:34  millert
153
154         * sudo.c: Don't error out if no tty or askpass unless we actually
155           need to authenticate.
156
157 2008-11-10 15:20  millert
158
159         * ChangeLog: regen
160
161 2008-11-10 08:07  millert
162
163         * pathnames.h.in, sudo.c: s/overriden/overridden/; from Tobias
164           Stoeckmann
165
166 2008-11-09 15:18  millert
167
168         * visudo.c, WHATSNEW: check sudoers owner and mode in strict mode
169
170 2008-11-09 09:15  millert
171
172         * gram.c, toke.c: regen
173
174 2008-11-09 09:13  millert
175
176         * alias.c, alloc.c, closefrom.c, compat.h, defaults.c, defaults.h,
177           env.c, fileops.c, gettime.c, gram.y, ins_csops.h, insults.h,
178           interfaces.c, interfaces.h, lbuf.c, license.pod, list.c,
179           logging.c, logging.h, parse.c, parse.h, pwutil.c, redblack.c,
180           redblack.h, snprintf.c, sudo.c, sudo.pod, sudo_edit.c,
181           sudo_nss.h, testsudoers.c, toke.l, tsgetgrpw.c, utimes.c,
182           version.h, visudo.c, zero_bytes.c, LICENSE, sudoers.pod,
183           visudo.pod, auth/afs.c, auth/aix_auth.c, auth/bsdauth.c,
184           auth/fwtk.c, auth/kerb4.c, auth/kerb5.c, auth/pam.c,
185           auth/securid.c, auth/securid5.c, auth/sia.c, auth/sudo_auth.h,
186           sudo.man.in, sudoers.man.in, visudo.man.in: Update copyright
187           years.
188
189 2008-11-09 08:48  millert
190
191         * fnmatch.c, glob.c, emul/charclass.h: add my copyright
192
193 2008-11-08 10:40  millert
194
195         * toke.c, toke.l: The loop in fill_cmnd() was going one byte too
196           far past the end, resulting in a NUL being written immediately
197           after the buffer end.
198
199 2008-11-08 10:31  millert
200
201         * UPGRADE, WHATSNEW: add sections on tgetpass changes
202
203 2008-11-08 10:30  millert
204
205         * tgetpass.c: Treat EOF w/o newline as an error.
206
207 2008-11-07 17:42  millert
208
209         * parse.c: Fix "sudo -v" when NOPASSWD is set.
210
211 2008-11-07 12:45  millert
212
213         * auth/: bsdauth.c, fwtk.c, pam.c, sudo_auth.c, sudo_auth.h: No
214           longer treat an empty password at the prompt as special.  To quit
215           out of sudo you now need to hit ^C at the password prompt.
216
217 2008-11-06 21:07  millert
218
219         * sudoers.cat, sudoers.man.in: regen
220
221 2008-11-06 21:06  millert
222
223         * def_data.c, def_data.h, def_data.in, sudo.c, sudoers.pod: Sudo
224           will now refuse to run if no tty is present unless the new
225           visiblepw sudoers flag is set.
226
227 2008-11-05 19:42  millert
228
229         * aix.c: just use RLIM_INFINITY for RLIM_SAVED_MAX if
230           RLIM_SAVED_MAX not defined
231
232 2008-11-05 19:40  millert
233
234         * aix.c: fix fallback value for RLIM_SAVED_MAX
235
236 2008-11-05 19:14  millert
237
238         * auth/: aix_auth.c, sudo_auth.h: Move clearing of AUTHSTATE into
239           aixauth_cleanup.
240
241 2008-11-05 19:08  millert
242
243         * env.c, auth/aix_auth.c: Unset AUTHSTATE after calling
244           authenticate() as it may not be correct for the user we are
245           running the command as.
246
247 2008-11-05 19:05  millert
248
249         * isblank.c: Add isblank() function for systems without it.  Needed
250           for POSIX character class matching in fnmatch.c and glob.c.
251
252 2008-11-05 11:02  millert
253
254         * TROUBLESHOOTING: expound on sudo and cd
255
256 2008-11-04 15:52  millert
257
258         * ChangeLog: regen
259
260 2008-11-04 15:46  millert
261
262         * sudoers.cat, sudoers.man.in: regen
263
264 2008-11-04 15:45  millert
265
266         * sudoers.pod: mention defauts parse order
267
268 2008-11-03 13:19  millert
269
270         * Makefile.in, aclocal.m4, compat.h, configure: Add isblank()
271           function for systems without it.  Needed for POSIX character
272           class matching in fnmatch.c and glob.c.
273
274 2008-11-03 12:54  millert
275
276         * Makefile.in: add emul/charclass.h to HDRS
277
278 2008-11-02 14:08  millert
279
280         * TODO: checkpoint
281
282 2008-11-02 14:06  millert
283
284         * parse.c, defaults.c, testsudoers.c, visudo.c: Move
285           update_defaults into defaults.c and call it properly from visudo
286           and testsudoers.
287
288 2008-11-02 09:51  millert
289
290         * defaults.c, interfaces.c, pwutil.c, sudo.c, sudo_edit.c,
291           tgetpass.c, tsgetgrpw.c: use zero_bytes() instead of memset() for
292           consistency
293
294 2008-11-02 09:45  millert
295
296         * logging.c, mon_systrace.c, parse.c, sudo.c, sudo_edit.c,
297           tgetpass.c, visudo.c: Zero out sigaction_t before use in case it
298           has non-standard entries.
299
300 2008-11-02 09:35  millert
301
302         * match.c: quiet gcc
303
304 2008-11-02 09:28  millert
305
306         * match.c: Short circuit glob() checks if basename(pattern) !=
307           basename(command).  Refactor code that checks for a command in a
308           directory and use it in the glob case if the resolved pattern
309           ends in a '/'.
310
311 2008-11-01 09:20  millert
312
313         * defaults.h, parse.c, sudo.c, testsudoers.c, visudo.c: Defer
314           setting runas defaults until after runaspw/gr is setup.
315
316 2008-10-29 13:26  millert
317
318         * match.c, sudo.c, testsudoers.c: Use MAXHOSTNAMELEN+1 when
319           allocating host/domain name since some systems do not include
320           space for the NUL in the size.  Also manually NUL-terminate
321           buffer from gethostname() since POSIX is wishy-washy on this.
322
323 2008-10-26 17:13  millert
324
325         * sudo.c, sudoers.pod: When setting the umask, use the union of the
326           user's umask and the default value set in sudoers so that we
327           never lower the user's umask when running a command.
328
329 2008-10-26 16:43  millert
330
331         * sudo.c: Don't try to read from a zero-length sudoers file.
332           Remove the bogus Solaris work-around for EAGAIN.  Since we now
333           use fgetc() it should not be a problem.
334
335 2008-10-25 09:22  millert
336
337         * parse.c: In update_defaults() check the return value of
338           user*_matches against ALLOW so we don't inadvertantly match on
339           UNSPEC.
340
341 2008-10-24 09:52  millert
342
343         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.ldap.cat,
344           sudoers.ldap.man.in, sudoers.man.in, visudo.cat, visudo.man.in:
345           regen man pages; no more hyphenation
346
347 2008-10-24 09:49  millert
348
349         * sudo.c: Don't error out on a zero-length sudoers file.  With the
350           advent of #include the user could create a situation where sudo
351           is unusable.
352
353 2008-10-23 12:06  millert
354
355         * config.h.in, configure, configure.in, auth/kerb5.c: Newer heimdal
356           has 2-argument krb5_get_init_creds_opt_free() like MIT krb5.
357           Really old heimdal has no krb5_get_init_creds_opt_alloc() at all.
358           Add configure tests to handle all the cases.
359
360 2008-10-08 17:28  millert
361
362         * sudo.pod: resort ENVIRONMENT
363
364 2008-10-08 17:09  millert
365
366         * sudoers.pod: document sudoers_locale
367
368 2008-10-08 16:56  millert
369
370         * sudo.pod, sudo_edit.c: add SUDO_EDITOR variable that sudoedit
371           uses in preference to VISUAL or EDITOR
372
373 2008-10-08 14:27  millert
374
375         * toke.c, toke.l: In fill_cmnd(), collapse any escaped
376           sudo-specific characters.  Allows character classes to be used in
377           pathnames.
378
379 2008-10-03 16:02  millert
380
381         * lbuf.c: fix typo in non-C89 function declaration
382
383 2008-10-03 15:56  millert
384
385         * sudoers.pod: Mention POSIX characters classes now that out
386           fnmatch() and glob() support them.
387
388 2008-10-03 15:55  millert
389
390         * sample.sudoers, sudoers.pod: Replace [A-z] (which won't match in
391           UTF8) with [A-Za-z] which is locale agnostic.
392
393 2008-10-03 10:02  millert
394
395         * parse.h: use __signed char if we are going to assign a negative
396           value since on Power, char is unsigned by default
397
398 2008-10-03 09:59  millert
399
400         * configure, configure.in, config.h.in: Add tests for __signed char
401           and signed char.
402
403 2008-10-03 09:19  millert
404
405         * aix.c: Fix AIX limit setting.  getuserattr() returns values in
406           disk blocks rather than bytes.  The default hard stack size in
407           newer AIX is RLIM_SAVED_MAX.  From Dale King.
408
409 2008-09-26 17:13  millert
410
411         * fnmatch.c, glob.c, emul/charclass.h: Add character class support
412           to included glob(3) and fnmatch(3).
413
414 2008-09-16 08:28  millert
415
416         * emul/fnmatch.h: Remove UCB advertising clause and some
417           compatibility defines.
418
419 2008-09-14 16:07  millert
420
421         * sudo_edit.c: Check EDITOR/VISUAL to make sure sudoedit is not
422           re-invoking itself or sudo.  This allows one to set EDITOR to
423           sudoedit without getting into an infinite loop of sudoedit
424           running itself until the path gets too big.
425
426 2008-09-13 20:45  millert
427
428         * def_data.c, def_data.h, def_data.in, defaults.c, sudo.c: Add
429           sudoers_locale Defaults option to override the default sudoers
430           locale of "C".
431
432 2008-09-13 14:09  millert
433
434         * sudo.c: Set locale to system default except for during sudoers
435           parse.
436
437 2008-09-12 09:34  millert
438
439         * match.c: Redo change in 1.34 to use pointer arithmetic.
440
441 2008-09-11 07:06  millert
442
443         * match.c: Fix a dereference (read) of a freed pointer.  Reported
444           by Patrick Williams.
445
446 2008-08-23 19:09  millert
447
448         * sudo.c: Set locale to "C" to avoid interpretation issues with
449           character ranges in sudoers.  May want to make the locale a
450           sudoers option in the future.
451
452 2008-08-20 07:45  millert
453
454         * config.h.in: we no longer use setproctitle
455
456 2008-08-20 07:41  millert
457
458         * sudo.h: remove #if 1
459
460 2008-08-20 07:40  millert
461
462         * LICENSE, mkstemp.c: Use my replacement mkstemp() from the mktemp
463           package.
464
465 2008-07-12 08:53  millert
466
467         * gram.c: regen with yacc skeleton bug fixed
468
469 2008-07-12 08:48  millert
470
471         * sudoers.pod: Remove duplicate "as root".  From Martin Toft.
472
473 2008-07-02 06:27  millert
474
475         * pwutil.c, sudo.c, testsudoers.c, sudo.h: Flesh out the fake
476           passwd entry used for running commands as a uid not listed in the
477           passwd database.  Fixes an issue with some PAM modules.
478
479 2008-07-01 07:57  millert
480
481         * sudo.c: Error out in -i mode if the user has no shell.  This can
482           happen when running commands as a uid with no password entry.
483
484 2008-06-26 07:49  millert
485
486         * toke.c, toke.l: Better fix for line continuation inside double
487           quotes.  Now accepts whitespace between the backslash and the
488           newline like the main lexer.
489
490 2008-06-25 14:31  millert
491
492         * toke.c, toke.l: Fix line continuation in strings.  It was only
493           being honored if preceded by whitespace.
494
495 2008-06-22 16:19  millert
496
497         * config.h.in, configure, configure.in, logging.c: Replace the
498           double fork with a fork + daemonize.
499
500 2008-06-21 14:59  millert
501
502         * env.c, sudo.c: The -i flag should imply env_reset.  This got
503           broken in sudo 1.6.9.
504
505 2008-06-20 20:34  millert
506
507         * logging.c, sudo.c, sudo_edit.c, visudo.c: Change how the mailer
508           is waited for.  Instead of having a SIGCHLD handler, use the
509           double fork trick to orphan the child that opens the pipe to
510           sendmail.  Fixes a problem running su on some Linux distros.
511
512 2008-06-20 17:16  millert
513
514         * configure, configure.in: Fix configure test for dirfd() on Linux
515           where DIR is opaque.
516
517 2008-06-17 17:42  millert
518
519         * tgetpass.c: Get rid of the QNX TCSAFLUSH -> TCSADRAIN hack.  If
520           QNX still has this problem we'll need to revisit this again.
521
522 2008-06-10 21:13  millert
523
524         * logging.c: Ignore SIGPIPE instead of blocking it when piping to
525           the mailer.  If we only block the signal it may be delivered
526           later when we unblock.  Also, there is no need to block SIGCHLD
527           since we no longer do the double fork.  The normal SIGCHLD
528           handler is sufficient.
529
530 2008-06-08 17:37  millert
531
532         * configure, configure.in: Add description for NO_PAM_SESSION, from
533           a redhat patch.
534
535 2008-06-06 09:36  millert
536
537         * sudo.cat, sudo.man.in, sudo.pod: Fix typos in -i usage
538
539 2008-05-18 13:54  millert
540
541         * configure, configure.in: Redo the test for dgettext() in a way
542           that hopefully will work around the libintl_dgettext() undefined
543           problem.
544
545 2008-05-11 09:21  millert
546
547         * schema.ActiveDirectory: change filename in comment
548
549 2008-05-10 09:18  millert
550
551         * Makefile.in, README.LDAP, sudoers.ldap.cat, sudoers.ldap.man.in,
552           sudoers.ldap.pod: Reference schema.ActiveDirectory
553
554 2008-05-09 14:49  millert
555
556         * schema.OpenLDAP, schema.iPlanet: Mark sudoRunAs as deprecated.
557
558 2008-05-09 14:48  millert
559
560         * schema.ActiveDirectory: add sudoRunAsUser and sudoRunAsGroup
561
562 2008-05-09 14:01  millert
563
564         * schema.ActiveDirectory: Active Directory schema by Chantal
565           Paradis and Eric Paquet
566
567 2008-05-08 17:54  millert
568
569         * parse.c: remove an XXX that was fixed
570
571 2008-05-08 12:53  millert
572
573         * ChangeLog: sync
574
575 2008-05-08 12:49  millert
576
577         * parse.c: Initialize tags to UNSPEC instead of def_* in "sudo -l"
578           mode.  This fixes a problem where the tag value printed was
579           influenced by defaults set in the first pass through the parser.
580
581 2008-05-03 21:29  millert
582
583         * Makefile.in, sudo.psf: No point in packaging the TODO file
584
585 2008-05-03 21:24  millert
586
587         * ChangeLog: sync
588
589 2008-05-02 20:53  millert
590
591         * WHATSNEW, def_data.c, def_data.h, def_data.in, env.c, sudo.c,
592           sudo.h, sudoers.cat, sudoers.man.in, sudoers.pod: Add env_file
593           Defaults option that is similar to /etc/environment on some
594           systems.
595
596 2008-05-02 16:38  millert
597
598         * Makefile.in, README, TODO, WHATSNEW, sudo.cat, sudo.man.in,
599           sudoers.cat, sudoers.ldap.cat, sudoers.ldap.man.in,
600           sudoers.man.in, version.h, visudo.cat, visudo.man.in: change
601           version to 1.7.0
602
603 2008-05-02 16:37  millert
604
605         * UPGRADE: initial valgrind pass done
606
607 2008-04-23 08:30  millert
608
609         * ldap.c: Fix typo/think in sudo_ldap_read_secret() when storing
610           the secret.
611
612 2008-04-11 10:03  millert
613
614         * ldap.c: define LDAPS_PORT if the system headers do not
615
616 2008-04-10 14:54  millert
617
618         * gram.c, gram.y: Fix another memory leak in init_parser().
619
620 2008-04-10 12:51  millert
621
622         * configure, configure.in: There was a missing space before the
623           ldap libs in SUDO_LIBS for some configurations.
624
625 2008-04-10 11:28  millert
626
627         * alias.c, gram.c, gram.y, toke.c, toke.l: Clean up some memory
628           leaks pointed out by valgrind.
629
630 2008-04-07 14:39  millert
631
632         * sudo.c: fix "sudo -s" broken by mode/flags breakout
633
634 2008-04-07 14:26  millert
635
636         * configure, configure.in: remove duplicate check for dgettext
637
638 2008-04-05 15:54  millert
639
640         * aix.c: Fall back to default stanza if no user-specific limit is
641           found.
642
643 2008-04-02 15:56  millert
644
645         * snprintf.c: include stdint.h if present
646
647 2008-04-02 15:28  millert
648
649         * snprintf.c: Use LLONG_MAX, not the old QUAD_MAX
650
651 2008-04-01 19:18  millert
652
653         * sudoers.ldap.pod: fix cut and pasto
654
655 2008-03-31 11:24  millert
656
657         * pwutil.c: Add #ifdef PURITY
658
659 2008-03-30 17:36  millert
660
661         * auth/bsdauth.c: remove useless cast
662
663 2008-03-27 19:07  millert
664
665         * ChangeLog: sync
666
667 2008-03-27 19:04  millert
668
669         * TODO: sync
670
671 2008-03-27 19:01  millert
672
673         * sudo.h: Split MODE_* defines into primary and flags.
674
675 2008-03-26 13:11  millert
676
677         * aix.c: It turns out the logic for getting AIX limits is more
678           convoluted than I realized and differs depending on whether the
679           soft and/or hard limits are defined.
680
681 2008-03-23 10:18  millert
682
683         * Makefile.in, configure, configure.in: Back out AIX-specific
684           change to set the sudo_noexec path to the .a file, we do really
685           want to use the .so file.  Since libtool doesn't do that
686           correctly, just install the .so file ourselves in the Makefile.
687
688 2008-03-23 10:12  millert
689
690         * install-sh: If the file given to install is a path, only use the
691           basename of the file when building the destination path.
692
693 2008-03-18 16:08  millert
694
695         * sudo.c: parse_args() cleanup: Sort command line options in the
696           getopt() switch The -U option requires a parameter Normalize a
697           few ISSET calls Split mode into mode and flags and retire the
698           now-obsolete excl variable
699
700 2008-03-18 16:04  millert
701
702         * WHATSNEW, check.c, sudo.c, sudo.cat, sudo.h, sudo.man.in,
703           sudo.pod, sudo_usage.h.in: Add -n (non-interactive) flag.
704
705 2008-03-18 15:59  millert
706
707         * sudo.c: Move version printing, etc. into a separate function.
708
709 2008-03-18 15:57  millert
710
711         * sudo.c: Don't try to cleanup nsswitch if it has not been
712           initialized.
713
714 2008-03-17 11:09  millert
715
716         * logging.c: Block SIGPIPE in send_mail() so sudo is not killed by
717           a problem executing the mailer.
718
719 2008-03-14 08:11  millert
720
721         * configure.in, configure: AIX shared libs end in .a, not .so.
722
723 2008-03-13 07:34  millert
724
725         * env.c: Preserve HOME by default too. Matches documentation and
726           previous behavior.
727
728 2008-03-12 19:42  millert
729
730         * sudo.c: Use getopt() to parse the command line.  We need to be
731           able to intersperse env variables and options yet still honor
732           "--"" which complicates things slightly.
733
734 2008-03-06 14:46  millert
735
736         * ChangeLog: sync
737
738 2008-03-06 14:43  millert
739
740         * acsite.m4, configure, ltmain.sh: update to libtool-1.5.26
741
742 2008-03-06 14:32  millert
743
744         * config.guess, config.sub: update from libtool-1.5.26 distribution
745
746 2008-03-06 13:18  millert
747
748         * aix.c, sudo.h: attempt to fix compilation errors on AIX
749
750 2008-03-06 13:08  millert
751
752         * Makefile.in: fix typo in last commit
753
754 2008-03-06 13:07  millert
755
756         * Makefile.in: Add WHATSNEW file to the distribution
757
758 2008-03-06 12:43  millert
759
760         * visudo.c: use warningx instead of fprintf(stderr, ...)
761
762 2008-03-06 12:31  millert
763
764         * list.c: add DEBUG to list2tq
765
766 2008-03-06 12:28  millert
767
768         * ChangeLog, TODO: sync
769
770 2008-03-06 12:21  millert
771
772         * WHATSNEW: mention mailfrom
773
774 2008-03-06 12:19  millert
775
776         * Makefile.in, config.h.in, configure, configure.in, set_perms.c,
777           sudo.h, aix.c: Add aix_setlimits() to set resource limits on AIX
778           using a combination of getuserattr() and setrlimit().  Currently
779           untested.
780
781 2008-03-05 16:52  millert
782
783         * def_data.c, def_data.h, def_data.in, logging.c, sudoers.cat,
784           sudoers.pod, sudoers.man.in: Add mailfrom Defaults option that
785           sets the value of the From: field in the warning/error mail.  If
786           unset the login name of the invoking user is used.
787
788 2008-03-05 16:18  millert
789
790         * defaults.c: store a copy of _PATH_SUDO_ASKPASS in def_askpass
791           that is freeable
792
793 2008-03-05 15:19  millert
794
795         * gram.c, gram.y: When adding a default, only call list2tq() once
796           to do the list to tq conversion.  It is not legal to call list2tq
797           multiple times on the same list since list2tq consumes and
798           modifies the list argument.
799
800 2008-03-05 09:38  millert
801
802         * sudoers.ldap.cat, sudoers.ldap.man.in, sudoers.ldap.pod: comment
803           out XXXs for now
804
805 2008-03-05 09:36  millert
806
807         * WHATSNEW: mention askpass
808
809 2008-03-04 17:20  millert
810
811         * sudo.c: Error out if both -A and -S are specified Error out if -A
812           is specified but no askpass is configured
813
814 2008-03-04 17:16  millert
815
816         * configure, configure.in: we are not going to ship a sudo-specific
817           askpass
818
819 2008-03-03 14:30  millert
820
821         * sudo.h: fix definition of TGP_ASKPASS
822
823 2008-03-03 13:54  millert
824
825         * def_data.c, def_data.in: make askpass boolean-capable
826
827 2008-03-03 13:53  millert
828
829         * INSTALL: document --with-askpass
830
831 2008-03-02 19:27  millert
832
833         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in,
834           sudoers.ldap.cat, visudo.cat: regen
835
836 2008-03-02 17:31  millert
837
838         * sudo.pod, sudo_usage.h.in, sudoers.pod: document -A and askpass
839
840 2008-03-02 09:31  millert
841
842         * check.c, configure, configure.in, def_data.c, def_data.h,
843           def_data.in, defaults.c, pathnames.h.in, sudo.c, sudo.h,
844           sudo_usage.h.in, tgetpass.c, auth/sudo_auth.c: Add support for
845           running a helper program to read the password when no tty is
846           present (or when specified with the -A flag).  TODO: docs.
847
848 2008-03-02 08:38  millert
849
850         * def_data.c, def_data.in: add missing printf format to SELinux
851           role and type strings
852
853 2008-02-27 09:26  millert
854
855         * INSTALL, configure, configure.in: Disable use of
856           gss_krb5_ccache_name() by default and add
857           --enable-gss-krb5-ccache-name configure option to enable it.  It
858           seems that gss_krb5_ccache_name() doesn't work properly with some
859           combinations of Heimdal and OpenLDAP.
860
861 2008-02-22 15:33  millert
862
863         * selinux.c: Ignore setexeccon() failing in permissive mode.  Also
864           add a call to setkeycreatecon() (though this is probably
865           insufficient).  From Dan Walsh.
866
867 2008-02-22 15:19  millert
868
869         * auth/pam.c: Only set std_prompt for the PAM_PROMPT_* cases.  The
870           conversation function may be called for non-password reading
871           purposes so we must be careful not to use def_prompt in cases
872           where it may not be set.
873
874 2008-02-20 12:00  millert
875
876         * selinux.c: Don't free the new tty context, we need to keep it
877           around when we restore the tty context after the command
878           completes
879
880 2008-02-19 16:04  millert
881
882         * selinux.c: s/newrole/sudo/
883
884 2008-02-19 13:21  millert
885
886         * sudo.man.pl, sudo.pod: Only put login_cap(3) in SEE ALSO section
887           if we have login.conf support
888
889 2008-02-18 11:05  millert
890
891         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.ldap.cat,
892           sudoers.ldap.man.in, sudoers.man.in, visudo.cat, visudo.man.in:
893           regen
894
895 2008-02-18 10:53  millert
896
897         * Makefile.in, configure, configure.in, sudo.man.pl, sudo.pod,
898           sudoers.man.pl, sudoers.pod: Substitute in comment characters for
899           lines partaining to login.conf, BSD auth and SELinux and only
900           enable them if pertinent.
901
902 2008-02-18 10:42  millert
903
904         * Makefile.in, sudo.pod, sudoers.ldap.pod, sudoers.pod, visudo.pod:
905           Remove the =cut on the first line (above the copyright notice) to
906           quiet pod2man.  Also remove the hackery in the FILES section and
907           just deal with the fact that there will a newline between each
908           pathname.
909
910 2008-02-17 08:19  millert
911
912         * Makefile.in: run sudo.man.pl when generating sudo.man.in
913
914 2008-02-17 08:11  millert
915
916         * configure, configure.in, sudo.man.pl: comment out SELinux manual
917           bits unless --with-selinux was specified
918
919 2008-02-17 08:04  millert
920
921         * sudoers.pod: document role and type defaults for SELinux
922
923 2008-02-16 20:26  millert
924
925         * sudo.c, sudo.cat, sudo.man.in, sudo.pod, sudo_usage.h.in:
926           Document "sudo -ll" and make "sudo -l -l" be equivalent.
927
928 2008-02-15 15:23  millert
929
930         * configure.in, configure: Treat k*bsd*-gnu like Linux, not BSD.
931           Fixes compilation problems on Debian GNU/kFreeBSD.
932
933 2008-02-13 17:17  millert
934
935         * auth/kerb5.c: Avoid Heimdal'isms introduced in the rev 1.32
936           rewrite of verify_krb_v5_tgt()
937
938 2008-02-13 07:28  millert
939
940         * logging.c, logging.h, sudo.c: Remove dependence on
941           VALIDATE_NOT_OK in logging functions.  Split log_auth() into
942           log_allowed() and log_denial() Replace mail_auth() with
943           should_mail() and a call to send_mail()
944
945 2008-02-10 18:06  millert
946
947         * ldap.c: Add debugging so we can tell if the krb5 ccache is
948           accessible
949
950 2008-02-10 17:34  millert
951
952         * INSTALL: mention --with-selinux
953
954 2008-02-09 09:48  millert
955
956         * configure: regen
957
958 2008-02-09 09:43  millert
959
960         * selinux.c: add Sudo tag
961
962 2008-02-09 09:30  millert
963
964         * Makefile.in, config.h.in, configure.in, def_data.c, def_data.h,
965           def_data.in, gram.c, gram.h, gram.y, ldap.c, parse.c, parse.h,
966           pathnames.h.in, selinux.c, sesh.c, sudo.c, sudo.cat, sudo.h,
967           sudo.man.in, sudo.pod, sudo_usage.h.in, sudoers.ldap.cat,
968           sudoers.ldap.man.in, sudoers.ldap.pod, testsudoers.c, toke.c,
969           toke.l: Add support for SELinux RBAC.  Sudoers entries may
970           specify a role and type.  There are also role and type defaults
971           that may be used.  To make sure a transition occurs, when using
972           RBAC commands are executed via the new sesh binary.  Based on
973           initial changes from Dan Walsh.
974
975 2008-02-08 08:18  millert
976
977         * lbuf.c, ldap.c, parse.c, sudo.c, sudo.h, sudo_nss.c: Add long
978           list (sudo -ll) support for printing verbose LDAP and sudoers
979           file entries.  Still need to update manual.
980
981 2008-02-03 10:43  millert
982
983         * ldap.c, parse.c, sudo.h, sudo_nss.c, sudo_nss.h: Unify the -l
984           output for file and ldap based sudoers and use lbufs for both.
985           The ldap output does not currently include options that cannot be
986           represented as tags.  This will be remedied in a long list output
987           mode to come.
988
989 2008-01-27 16:37  millert
990
991         * set_perms.c: Use a specific error message for errno == EAGAIN
992           when setuid() et al fails.  On Linux systems setuid() will fail
993           with errno set to EAGAIN if changing to the new uid would result
994           in a resource limit violation.
995
996 2008-01-27 16:34  millert
997
998         * sudo.c: Unlimit nproc on Linux systems where calling the setuid()
999           family of syscalls causes the nroc resource limit to be checked.
1000           The limits will be reset by pam_limits.so when PAM is used.  In
1001           the non-PAM case the nproc limit will remain unlimited but there
1002           doesn't seem to be a way around that other than having sudo parse
1003           /etc/security/limits.conf directly.
1004
1005 2008-01-27 16:31  millert
1006
1007         * env.c, sudo.c, sudo.pod: Only read /etc/environment on Linux and
1008           AIX
1009
1010 2008-01-23 06:33  millert
1011
1012         * configure, configure.in: Use SUDO_DEFINE_UNQUOTED instead of
1013           AC_DEFINE_UNQUOTED to prevent ldap.conf and ldap.secret paths
1014           from going into config.h.  Avoid single quotes in variable
1015           expansion when using SUDO_DEFINE_UNQUOTED since in some versions
1016           of bash they will end up literally in the resulting define.
1017
1018 2008-01-21 13:22  millert
1019
1020         * README.LDAP: mention --with-nsswitch=no
1021
1022 2008-01-21 11:43  millert
1023
1024         * configure, configure.in: ldap_ssl.h depends on ldap.h being
1025           included first
1026
1027 2008-01-21 11:07  millert
1028
1029         * configure, configure.in, ldap.c, config.h.in: Include ldap_ssl.h
1030           if we can find it.  Needed for the ldapssl_set_strength defines
1031           on HP-UX at least.
1032
1033 2008-01-21 10:02  millert
1034
1035         * TODO, sudoers.ldap.pod: sync
1036
1037 2008-01-21 10:01  millert
1038
1039         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.ldap.cat,
1040           sudoers.ldap.man.in, sudoers.man.in, visudo.cat, visudo.man.in:
1041           regen
1042
1043 2008-01-21 10:00  millert
1044
1045         * Makefile.in: Use 78n line length when formatting cat pages.
1046
1047 2008-01-21 09:50  millert
1048
1049         * README.LDAP: Remove redundant info that is now in
1050           sudoers.ldap.pod
1051
1052 2008-01-20 16:18  millert
1053
1054         * sudoers.ldap.cat, sudoers.ldap.man.in, sudoers.ldap.pod:
1055           Reorganize the first section a bit.  Substitute the proper path
1056           for /etc/sudoers.
1057
1058 2008-01-20 10:17  millert
1059
1060         * sudoers.ldap.cat, sudoers.ldap.man.in, sudoers.ldap.pod:
1061           Substitute values for ldap.conf, ldap.secret and nsswitch.conf
1062           Move schema into EXAMPLES
1063
1064 2008-01-20 10:15  millert
1065
1066         * configure.in, configure: Substitute values for ldap.conf,
1067           ldap.secret and nsswitch.conf into sudoers.ldap.man.
1068
1069 2008-01-19 20:35  millert
1070
1071         * configure, configure.in: substitute for sudoers.ldap.man
1072
1073 2008-01-19 20:34  millert
1074
1075         * Makefile.in: Fix cut & pasto introduced when adding sudoers.ldap
1076           man page.
1077
1078 2008-01-19 20:25  millert
1079
1080         * sudoers.ldap.pod, sudoers.ldap.cat, sudoers.ldap.man.in: Fill in
1081           some of the missing pieces.  Still needs some reorganization and
1082           editing.
1083
1084 2008-01-19 15:06  millert
1085
1086         * Makefile.in, sudoers.ldap.cat, sudoers.ldap.man.in,
1087           sudoers.ldap.pod: Beginnings of a sudoers.ldap man page.
1088           Currently, much of the information is adapted from README.LDAP.
1089
1090 2008-01-18 17:32  millert
1091
1092         * pwutil.c: When copying gr_mem we must guarantee that the storage
1093           space for gr_mem is properly aligned.  The simplest way to do
1094           this is to simply store gr_mem directly after struct group.  This
1095           is not a problem for gr_passwd or gr_name as they are simple
1096           strings.
1097
1098 2008-01-18 16:47  millert
1099
1100         * ldap.c: Fix a typo/thinko in one of the calls to
1101           sudo_ldap_check_user_netgroup().  From Marco van Wieringen.
1102
1103 2008-01-17 15:44  millert
1104
1105         * config.h.in, configure, configure.in, ldap.c: include
1106           <mps/ldap_ssl.h> in ldap.c if available
1107
1108 2008-01-16 18:20  millert
1109
1110         * gram.c, gram.y: Make sure we define SIZE_MAX for yacc's
1111           skeleton.c
1112
1113 2008-01-16 13:03  millert
1114
1115         * tgetpass.c: Use TCSAFLUSH when restoring terminal settings (and
1116           echo) to guarantee that any pending output is discarded
1117
1118 2008-01-15 17:18  millert
1119
1120         * sudoers: no longer need to specify SETENV when user has sudo ALL
1121
1122 2008-01-15 09:40  millert
1123
1124         * testsudoers.c: sync user_args size calculation with sudo.c Add -g
1125           group option, renaming old -g to -G Add set_runasgr() and
1126           set_runaspw() and use them
1127
1128 2008-01-15 09:23  millert
1129
1130         * sudo.h, sudo.c: Make set_runaspw static void
1131
1132 2008-01-15 09:17  millert
1133
1134         * testsudoers.c, visudo.c: g/c set_runaspw stub
1135
1136 2008-01-15 07:28  millert
1137
1138         * configure, configure.in: Don't add -llber twice.
1139
1140 2008-01-14 06:40  millert
1141
1142         * ldap.c: fix typo
1143
1144 2008-01-13 15:39  millert
1145
1146         * gram.c: regen
1147
1148 2008-01-13 14:57  millert
1149
1150         * configure, configure.in: Fix check that determines whether -llber
1151           is required.
1152
1153 2008-01-13 14:22  millert
1154
1155         * config.h.in, configure, configure.in, README.LDAP, ldap.c: For
1156           netscape-based LDAP, use ldapssl_set_strength() to implement the
1157           checkpeer ldap.conf option.
1158
1159 2008-01-13 09:49  millert
1160
1161         * auth/kerb5.c: Delay krb5_cc_initialize() until we actually need
1162           to use the cred cache, which is what krb5_verify_user() does.
1163           Better cleanup on failure.
1164
1165 2008-01-12 12:40  millert
1166
1167         * auth/kerb5.c: Rewrite verify_krb_v5_tgt() based on what heimdal's
1168           krb5_verify_user() does.
1169
1170 2008-01-09 14:58  millert
1171
1172         * gram.c: The U suffix on constants is an ANSI feature
1173
1174 2008-01-09 12:08  millert
1175
1176         * configure.in, configure: Add check for ber_set_option() in -llber
1177
1178 2008-01-06 19:02  millert
1179
1180         * README.LDAP: default if no nsswitch.conf is files only
1181
1182 2008-01-06 17:28  millert
1183
1184         * README.LDAP: don't tell people to mail aaron about LDAP stuff
1185
1186 2008-01-06 12:32  millert
1187
1188         * README.LDAP: timelimit and bind_timelimit
1189
1190 2008-01-06 08:54  millert
1191
1192         * ChangeLog: sync
1193
1194 2008-01-06 07:56  millert
1195
1196         * ldap.c: Move ldap.secret reading into a separate function.
1197
1198 2008-01-05 19:09  millert
1199
1200         * check.c: user_runas -> runas_pw
1201
1202 2008-01-05 18:59  millert
1203
1204         * TODO: sync
1205
1206 2008-01-05 18:59  millert
1207
1208         * check.c, sudo.pod, sudoers.pod: Add and document the %p escape in
1209           the password prompt.  Based on a patch from Patrick Schoenfeld.
1210
1211 2008-01-05 18:25  millert
1212
1213         * ldap.c: Check strlcpy() return values.
1214
1215 2008-01-05 18:12  millert
1216
1217         * ldap.c: refactor ldap binding code into sudo_ldap_bind_s()
1218
1219 2008-01-05 16:35  millert
1220
1221         * README.LDAP: Make it clear that host and uri can take multiple
1222           parameters.  URI is now supported for more than just openldap
1223           nsswitch.conf does't accept "compat"
1224
1225 2008-01-05 16:27  millert
1226
1227         * sudo.c: comment cleanup and update (c) year
1228
1229 2008-01-05 16:25  millert
1230
1231         * parse.c, sudo_nss.c: Move display_privs() and display_cmnd() from
1232           parse.c to sudo_nss.c.  This should make it possible to build an
1233           LDAP-only sudo binary.
1234
1235 2008-01-05 13:27  millert
1236
1237         * ldap.c, parse.c, sudo.c, sudo.h, sudo_nss.h: Improve chaining of
1238           multiple sudoers sources by passing in the previous return value
1239           to the next in the chain
1240
1241 2008-01-05 13:26  millert
1242
1243         * gram.y: Free up parser data structures in sudo_file_close().
1244
1245 2008-01-05 08:13  millert
1246
1247         * gram.c, parse.c: Free up parser data structures in
1248           sudo_file_close().
1249
1250 2008-01-05 07:59  millert
1251
1252         * ldap.c: Parse uri ourself if no ldap_initialize() is present Use
1253           ldap_create() instead of deprecated ldap_init() Use
1254           ldap_sasl_bind_s() instead of deprecated ldap_simple_bind_s()
1255
1256 2008-01-05 07:56  millert
1257
1258         * config.h.in, configure, configure.in: Add check for
1259           ldap_sasl_bind_s() Remove -DLDAP_DEPRECATED from CFLAGS
1260
1261 2008-01-04 09:56  millert
1262
1263         * configure.in, configure, config.h.in: add check for ldap_create
1264
1265 2008-01-03 16:11  millert
1266
1267         * config.h.in, configure, configure.in, ldap.c: Add
1268           sudo_ldap_get_first_rdn() to return the first rdn of an entry's
1269           dn using the mechanism appropriate for the LDAP SDK in use.  Use
1270           ldap_unbind_ext_s() instead of deprecated ldap_unbind_s().
1271           Emulate ldap_unbind_ext_s() and ldap_search_ext_s() for SDK's
1272           without them.
1273
1274 2008-01-03 16:02  millert
1275
1276         * lbuf.c: include unistd.h
1277
1278 2008-01-03 11:05  millert
1279
1280         * config.h.in, configure.in: fix typo in mtim_getnsec
1281
1282 2008-01-02 15:29  millert
1283
1284         * config.h.in, configure.in, configure: add check for st__tim in
1285           struct stat as used by SCO
1286
1287 2008-01-02 11:05  millert
1288
1289         * ldap.c: use ldap_search_ext_s instead of deprecated ldap_search_s
1290
1291 2008-01-02 10:09  millert
1292
1293         * Makefile.in, TODO, sudo.cat, sudo.man.in: add sudo_nss.h to HDRS
1294
1295 2008-01-01 19:04  millert
1296
1297         * ldap.c: Replace deprecated ldap_explode_dn() with calls to
1298           ldap_str2dn() and ldap_rdn2str().
1299
1300 2008-01-01 18:37  millert
1301
1302         * ldap.c: Use ldap_get_values_len()/ldap_value_free_len() instead
1303           of the deprecated ldap_get_values()/ldap_value_free().
1304
1305 2008-01-01 17:07  millert
1306
1307         * TODO, ChangeLog: sync
1308
1309 2008-01-01 17:06  millert
1310
1311         * gettime.c, sudo.c: Remove some already fixed XXXs
1312
1313 2008-01-01 17:03  millert
1314
1315         * ldap.c: Same return value as non-existent sudoers if LDAP was
1316           unable to connect.
1317
1318 2008-01-01 16:52  millert
1319
1320         * sudo.pod: mention /etc/environment
1321
1322 2008-01-01 16:42  millert
1323
1324         * UPGRADE, WHATSNEW, README.LDAP: Update to reflect recent
1325           developments.
1326
1327 2008-01-01 16:42  millert
1328
1329         * sudo.c: Print nsswitch.conf, ldap.conf and ldap.secret paths in
1330           -V output.
1331
1332 2008-01-01 16:25  millert
1333
1334         * ldap.c: When building up a query don't list groups in the aux
1335           group vector that are the same as the passwd file group.  On most
1336           systems the first gid in the group vector is the same as the
1337           passwd entry gid.
1338
1339 2008-01-01 14:01  millert
1340
1341         * env.c, ldap.c: Define LDAPNOINIT before calling ldap_init(), etc.
1342           to disable user ldaprc and system defaults that could affect how
1343           LDAP works.
1344
1345 2008-01-01 13:21  millert
1346
1347         * INSTALL, configure, configure.in, pathnames.h.in, sudo.c,
1348           sudo_nss.c, sudo_nss.h: Rename read_nss -> sudo_read_nss Add
1349           --with-nsswitch to allow users to specify nsswitch.conf path or
1350           disable it.  If --with-nsswitch=no but --with-ldap, order is
1351           LDAP, then sudoers.  Fix --with-ldap-conf-file and
1352           --with-ldap-secret-file
1353
1354 2008-01-01 13:12  millert
1355
1356         * parse.c: Honor def_ignore_local_sudoers
1357
1358 2007-12-31 16:44  millert
1359
1360         * ldap.c: no longer need to check def_ignore_local_sudoers here
1361
1362 2007-12-31 16:36  millert
1363
1364         * parse.c: Refactor group vector resetting into a function and also
1365           call it from display_cmnd.  Stop after the first sucessful match
1366           in display_cmnd.  Print a newline between each display_privs
1367           method.
1368
1369 2007-12-31 16:23  millert
1370
1371         * parse.c: fix double free introduced in rev 1.218
1372
1373 2007-12-31 16:10  millert
1374
1375         * ldap.c: belt and suspenders; zero out result after freeing it
1376
1377 2007-12-31 15:04  millert
1378
1379         * env.c, fileops.c, ldap.c, sudo.h, sudo_nss.c: Refactor line
1380           reading into a separate function, sudo_parseln(), which removes
1381           comments, leading/trailing whitespace and newlines.  May want to
1382           rethink the use of sudo_parseln() for /etc/ldap.secret
1383
1384 2007-12-31 14:26  millert
1385
1386         * parse.c, sudo.c: Make the inability to read the sudoers file a
1387           non-fatal error if there are other sudoers sources available.
1388           sudoers_file_lookup now returns "not OK" if sudoers was not
1389           present
1390
1391 2007-12-31 14:24  millert
1392
1393         * ldap.c: make it clear that the global options are from LDAP
1394
1395 2007-12-31 14:13  millert
1396
1397         * logging.c: allocate proper amount of space for error string
1398
1399 2007-12-31 10:24  millert
1400
1401         * sudo_nss.c, sudo_nss.h: actual sudo nss code
1402
1403 2007-12-31 10:08  millert
1404
1405         * ldap.c, parse.c, sudo.c, sudo.h: nss-ify display_privs and
1406           display_cmnd.
1407
1408 2007-12-31 07:54  millert
1409
1410         * defaults.c, parse.c, testsudoers.c, visudo.c: move
1411           update_defaults() to parse.c
1412
1413 2007-12-31 07:39  millert
1414
1415         * Makefile.in, ldap.c, list.c, parse.c, parse.h, sudo.c, sudo.h:
1416           Use nsswitch to hide some sudoers vs. ldap implementation details
1417           and reduce the number of #ifdef LDAP TODO: fix display routines
1418           and error handling
1419
1420 2007-12-28 11:20  millert
1421
1422         * Makefile.in, README.LDAP, ldap.c, pathnames.h.in, sudo.c, sudo.h:
1423           First cut at nsswitch.conf support.  Further reorganizaton and
1424           related changes are forthcoming.
1425
1426 2007-12-21 16:53  millert
1427
1428         * env.c, pathnames.h.in, sudo.c, sudo.h: Add support for reading
1429           and /etc/environment file.  Still needs to be documented and
1430           should probably only applies to OSes that have it (AIX and Linux,
1431           maybe others).
1432
1433 2007-12-21 16:20  millert
1434
1435         * ldap.c: include limits.h
1436
1437 2007-12-20 10:02  millert
1438
1439         * WHATSNEW: reword LDAP SASL
1440
1441 2007-12-19 16:40  millert
1442
1443         * TODO: sync
1444
1445 2007-12-19 16:39  millert
1446
1447         * README.LDAP: Add an example sudoRole, clarify netscape vs.
1448           openldap a bit more
1449
1450 2007-12-19 14:42  millert
1451
1452         * README.LDAP: Be clear on what is OpenLDAP vs. Netscape-derived
1453
1454 2007-12-19 14:28  millert
1455
1456         * config.h.in, configure, configure.in, ldap.c: Use ldapssl_init()
1457           for ldaps support instead of trying to do it manually with
1458           ldap_init() + ldapssl_install_routines().  Use tls_cert and
1459           tls_key for cert7.db and key3.db respectively.  Don't print
1460           debugging info for options that are not set.  Add warning if
1461           start_tls specified when not supported.
1462
1463 2007-12-19 14:25  millert
1464
1465         * ldap.c: fix compilation on solaris
1466
1467 2007-12-19 14:23  millert
1468
1469         * Makefile.in: add missing .h and .c files for missing lib objs
1470
1471 2007-12-18 09:54  millert
1472
1473         * ldap.c: fix LDAP_OPT_NETWORK_TIMEOUT setting
1474
1475 2007-12-17 20:10  millert
1476
1477         * ldap.c: fix compilation on Solaris
1478
1479 2007-12-17 10:14  millert
1480
1481         * configure, configure.in: fix typo
1482
1483 2007-12-17 08:08  millert
1484
1485         * README.LDAP: try to clear up which variables are for OpenLDAP and
1486           which are for netscape-derived SDKs
1487
1488 2007-12-17 07:31  millert
1489
1490         * config.h.in, configure, configure.in, ldap.c: Add support for
1491           "ssl on" in both netscape and openldap flavors.  Only the
1492           OpenLDAP flavor has been tested.
1493
1494 2007-12-17 07:28  millert
1495
1496         * logging.c, sudo.c, sudo.h: Call cleanup() before exit in
1497           log_error() instead of calling sudo_ldap_close() directly.
1498           ldap_conn can now be static to sudo.c
1499
1500 2007-12-16 20:02  millert
1501
1502         * sudo.c: ld -> ldap_conn
1503
1504 2007-12-16 14:42  millert
1505
1506         * logging.c, sudo.c, sudo.h: Better ldap cleanup.
1507
1508 2007-12-16 14:08  millert
1509
1510         * ldap.c: Distinguish between LDAP conf settings that are
1511           connection-specific (which take an ld pointer) and those that are
1512           default settings (which do not).
1513
1514 2007-12-14 16:46  millert
1515
1516         * ldap.c: Improved warnings on error.
1517
1518 2007-12-14 15:59  millert
1519
1520         * ldap.c: Make ldap config table driven and set the config *after*
1521           we open the connection.
1522
1523 2007-12-13 16:41  millert
1524
1525         * ldap.c: fix LDAP_OPT_X_CONNECT_TIMEOUT compat define
1526
1527 2007-12-13 09:13  millert
1528
1529         * configure, configure.in: some operating systems need to link with
1530           -lkrb5support when using krb5
1531
1532 2007-12-10 17:12  millert
1533
1534         * WHATSNEW: minor update
1535
1536 2007-12-10 10:56  millert
1537
1538         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in: regen
1539
1540 2007-12-07 19:17  millert
1541
1542         * TODO, ChangeLog: sync
1543
1544 2007-12-07 19:09  millert
1545
1546         * ldap.c, schema.OpenLDAP, schema.iPlanet, sudoers2ldif: add -g
1547           support for LDAP
1548
1549 2007-12-03 11:36  millert
1550
1551         * WHATSNEW, sudo.c, sudo.pod, sudo_usage.h.in: The -i and -s flags
1552           can now take an optional command.
1553
1554 2007-12-02 12:13  millert
1555
1556         * def_data.c, def_data.h, def_data.in, sudo.c, sudo.pod,
1557           sudoers.pod, auth/pam.c: Add passprompt_override flag to sudoers
1558           that will cause the prompt to be overridden in all cases.  This
1559           flag is also set when the user specifies the -p flag.
1560
1561 2007-12-01 19:51  millert
1562
1563         * sudo.c: Move setting of login class until after sudoers has been
1564           parsed.  Set NewArgv[0] for -i after runas_pw has been set.
1565
1566 2007-12-01 19:34  millert
1567
1568         * configure, configure.in: Move the dgettext check.
1569
1570 2007-12-01 11:22  millert
1571
1572         * config.h.in, configure, configure.in, auth/pam.c: Add basic
1573           support for looking up the string "Password: " in the PAM
1574           localized text db.  This allows us to determine whether the PAM
1575           prompt is the default "Password: " one even if it has been
1576           localized.
1577
1578           TODO: concatenate non-std PAM prompts and user-specified sudo
1579           prompts.
1580
1581 2007-11-27 18:40  millert
1582
1583         * Makefile.in, config.h.in, configure.in, parse.c, set_perms.c,
1584           sudo.c, configure, sudo.h: Use AC_FUNC_GETGROUPS instead of a
1585           home-grown attempt that was insufficient.
1586
1587 2007-11-27 12:13  millert
1588
1589         * configure, acsite.m4, interfaces.c, memrchr.c: Fix typos;
1590           Martynas Venckus
1591
1592 2007-11-25 19:26  millert
1593
1594         * set_perms.c: Don't assume runas_pw is set; it may not be in the
1595           -g case.
1596
1597 2007-11-25 08:07  millert
1598
1599         * logging.c, set_perms.c: Set aux group vector for PERM_RUNAS and
1600           restore group vector for PERM_ROOT if we previously changed it.
1601           Stash the runas group vector so we don't have to call initgroups
1602           more than once. Also add no-op check to check_perms.
1603
1604 2007-11-21 15:11  millert
1605
1606         * WHATSNEW, check.c, def_data.in, defaults.c, gram.c, gram.h,
1607           gram.y, ldap.c, logging.c, match.c, mon_systrace.c, parse.c,
1608           parse.h, pwutil.c, set_perms.c, sudo.c, sudo.cat, sudo.h,
1609           sudo.man.in, sudo.pod, sudo_usage.h.in, sudoers.cat,
1610           sudoers.man.in, sudoers.pod, testsudoers.c, toke.c, visudo.c,
1611           visudo.cat, visudo.man.in: Add support for runas groups.  This
1612           allows the user to run a command with a different effective
1613           group.  If the -g option is specified without -u the command will
1614           be run as the current user (only the group will change).  the -g
1615           and -u options may be used together.  TODO: implement runas group
1616           for ldap       improve runas group documentation       add
1617           testsudoers support
1618
1619 2007-11-21 15:02  millert
1620
1621         * configure, configure.in: fix setting of mandir
1622
1623 2007-11-21 14:26  millert
1624
1625         * sudo.pod, sudoers.pod: document that ALL implies SETENV
1626
1627 2007-11-21 13:50  millert
1628
1629         * ldap.c: s/setenv_ok/setenv_implied/g
1630
1631 2007-11-21 13:44  millert
1632
1633         * ldap.c: hostname_matches() returns TRUE on match in sudo 1.7.
1634
1635 2007-11-21 13:26  millert
1636
1637         * ldap.c: use strcmp, not strcasecmp when comparing ALL
1638
1639 2007-11-21 11:41  millert
1640
1641         * ldap.c: Make sudo ALL imply setenv.  Note that unlike with
1642           file-based sudoers this does affect all the commands in the
1643           sudoRole.
1644
1645 2007-11-21 11:05  millert
1646
1647         * gram.c, gram.y, parse.c, parse.h: sudo "ALL" now implies the
1648           SETENV tag but, unlike an explicit tag, it is not passed on to
1649           other commands in the list.
1650
1651 2007-11-21 11:02  millert
1652
1653         * visudo.c: Add missing sudo_setpwent() and sudo_setgrent() calls.
1654           Also use sudo_getpwuid() instead of getpwuid().
1655
1656 2007-11-15 11:16  millert
1657
1658         * sudoers: Expand on the dangers of not using visudo to edit
1659           sudoers.
1660
1661 2007-11-08 07:24  millert
1662
1663         * parse.c: Don't quote *?[]! on output since the lexer does not
1664           strip off the backslash when reading those in.
1665
1666 2007-11-07 13:16  millert
1667
1668         * glob.c: expand "u_foo" types to "unsigned foo" to avoid
1669           compatibility issues.
1670
1671 2007-11-04 08:33  millert
1672
1673         * logging.c: Refactor log line generation in to new_logline().
1674
1675 2007-10-25 09:23  millert
1676
1677         * TROUBLESHOOTING: fix typo
1678
1679 2007-10-24 12:41  millert
1680
1681         * config.h.in, configure, configure.in, interfaces.c, interfaces.h,
1682           match.c: Add configure check for struct in6_addr instead of
1683           relying on AF_INET6 since some systems define AF_INET6 but do not
1684           include IPv6 support.
1685
1686 2007-10-21 09:29  millert
1687
1688         * configure, configure.in: Fix block to add -lutil for FreeBSD and
1689           NetBSD when logincap is in use.
1690
1691 2007-10-19 22:28  millert
1692
1693         * configure, configure.in: POSIX states that struct timespec be
1694           declared in time.h so check there regardless of the value of
1695           TIME_WITH_SYS_TIME.
1696
1697 2007-10-17 11:37  millert
1698
1699         * tgetpass.c: Instead of defining a macro to call the appropriate
1700           method for turning on/off echo, just define tc[gs]etattr() and
1701           the related defines that use the correct terminal ioctls if
1702           needed.  Also go back to using TCSAFLUSH instead of TCSADRAIN on
1703           all but QNX.
1704
1705 2007-10-08 20:18  millert
1706
1707         * Makefile.in: g/c @ALLOCA@
1708
1709 2007-10-08 20:07  millert
1710
1711         * configure: regen
1712
1713 2007-10-08 20:04  millert
1714
1715         * INSTALL, config.h.in, configure.in, auth/pam.c: Add
1716           --disable-pam-session configure option to disable calling
1717           pam_{open,close}_session.  May work around bugs in some PAM
1718           implementations.
1719
1720 2007-10-08 12:00  millert
1721
1722         * tgetpass.c: quiet gcc warnings
1723
1724 2007-10-08 08:41  millert
1725
1726         * tgetpass.c: Avoid printing the prompt if we are already
1727           backgrounded.  E.g. if the user runs "sudo foo &" from the shell.
1728           In this case, the call to tcsetattr() will cause SIGTTOU to be
1729           delivered.
1730
1731 2007-09-15 16:07  millert
1732
1733         * def_data.c, def_data.h, def_data.in: Reorder things such that the
1734           definition of env_reset come right before the env variable lists.
1735
1736 2007-09-15 07:50  millert
1737
1738         * parse.h: Shrink type and seqno in struct alias from int to
1739           u_short
1740
1741 2007-09-15 07:24  millert
1742
1743         * alias.c, match.c, parse.c, parse.h: Add a sequence number in the
1744           aliases for loop detection.  If we find an alias with the seqno
1745           already set to the current (global) value we know we've visited
1746           it before so ignore it.
1747
1748 2007-09-13 19:05  millert
1749
1750         * TODO, sudo.c, sudo.h, auth/pam.c: PAM wants the full tty path so
1751           add user_ttypath which holds the full path to the tty or is NULL
1752           if no tty was present.
1753
1754 2007-09-13 18:42  millert
1755
1756         * auth/pam.c: Set PAM_RHOST to work around a bug in Solaris 7 and
1757           lower that results in a segv.
1758
1759 2007-09-11 15:43  millert
1760
1761         * gram.c: regen
1762
1763 2007-09-11 15:42  millert
1764
1765         * alias.c, defaults.c, gram.y, list.c, list.h, match.c, parse.c,
1766           parse.h, testsudoers.c, visudo.c: rename lh_ -> tq_
1767
1768 2007-09-10 17:33  millert
1769
1770         * alloc.c: remove some useless casts
1771
1772 2007-09-10 17:32  millert
1773
1774         * alloc.c: pull in inttypes.h for SIZE_MAX; we avoid stdint.h since
1775           inttypes.h predates the final C99 spec and the standard specifies
1776           that it shall include stdint.h anyway
1777
1778 2007-09-06 12:39  millert
1779
1780         * Makefile.in, alloca.c, configure.in: Since we ship with a
1781           pre-generated parser there is no need to ship a bogus alloca
1782           implementation.
1783
1784 2007-09-06 12:22  millert
1785
1786         * configure: regen
1787
1788 2007-09-06 12:19  millert
1789
1790         * configure.in: remove initial setting of CHECKSIA, we require that
1791           it be unset if not used
1792
1793 2007-09-06 11:55  millert
1794
1795         * Makefile.in: add list.c to SRCS
1796
1797 2007-09-06 07:18  millert
1798
1799         * configure: regen
1800
1801 2007-09-06 07:17  millert
1802
1803         * configure.in: only do SIA checks on Digital Unix
1804
1805 2007-09-05 18:50  millert
1806
1807         * sudoers.cat, sudoers.man.in: regen
1808
1809 2007-09-05 18:48  millert
1810
1811         * ChangeLog, TODO: sync
1812
1813 2007-09-05 18:39  millert
1814
1815         * auth/kerb5.c: Remove call to krb5_cc_register() as it is not
1816           needed for modern kerb5.
1817
1818 2007-09-05 18:16  millert
1819
1820         * configure: regen
1821
1822 2007-09-05 18:16  millert
1823
1824         * configure.in, aclocal.m4: New method for setting the default
1825           authentication type and avoiding conflicts in auth types.
1826
1827 2007-09-05 14:45  millert
1828
1829         * match.c, parse.c, testsudoers.c: Each entry in a cmndlist now has
1830           an associated runaslist so no need to keep track of the most
1831           recent non-NULL one.
1832
1833 2007-09-04 18:51  millert
1834
1835         * ldap.c: back out partial ldaps support mistakenly committed
1836
1837 2007-09-04 10:57  millert
1838
1839         * ldap.c: Add support for unix groups and netgroups in sudoRunas
1840
1841 2007-09-03 16:28  millert
1842
1843         * sudo_edit.c: Fix sudoedit of a non-existent file.  From Tilo
1844           Stritzky.
1845
1846 2007-09-02 17:05  millert
1847
1848         * configure: regen
1849
1850 2007-09-02 17:05  millert
1851
1852         * INSTALL: update --passprompt escape info
1853
1854 2007-09-02 17:03  millert
1855
1856         * configure.in: remove now-bogus comment and update copyright date
1857
1858 2007-09-02 16:35  millert
1859
1860         * configure.in: Fix up use of with_passwd
1861
1862 2007-09-02 16:25  millert
1863
1864         * acsite.m4, config.guess, config.sub, configure.in, ltmain.sh:
1865           Update to autoconf-2.61 andf libtool-1.5.24
1866
1867 2007-09-02 16:17  millert
1868
1869         * Makefile.in: "cmp -s" not just cmp Add @datarootdir@ to quiet
1870           autoconf-2.61
1871
1872 2007-09-01 17:39  millert
1873
1874         * gram.c: regen
1875
1876 2007-09-01 17:39  millert
1877
1878         * gram.y: move tags and runaslist propagation to be earlier
1879
1880 2007-09-01 09:34  millert
1881
1882         * visudo.c: If -f flag given use the permissions of the original
1883           file as a template
1884
1885 2007-09-01 08:45  millert
1886
1887         * gram.y: prevent a double free() when re-initing the parser
1888
1889 2007-08-31 19:30  millert
1890
1891         * configure: regen
1892
1893 2007-08-31 19:30  millert
1894
1895         * aclocal.m4, alias.c, alloc.c, config.h.in, configure.in, env.c,
1896           ldap.c, list.c, list.h, memrchr.c, parse.c, parse.h, pwutil.c,
1897           redblack.c, redblack.h, snprintf.c, sudo.c, sudo.h,
1898           testsudoers.c, visudo.c, zero_bytes.c, auth/API, auth/afs.c,
1899           auth/bsdauth.c, auth/kerb4.c, auth/kerb5.c, auth/pam.c,
1900           auth/securid.c, auth/securid5.c, auth/sia.c, auth/sudo_auth.h:
1901           Remove support for compilers that don't support void *
1902
1903 2007-08-31 19:14  millert
1904
1905         * gram.c: regen
1906
1907 2007-08-31 19:13  millert
1908
1909         * Makefile.in, alias.c, defaults.c, gram.y, list.c, list.h,
1910           match.c, parse.c, parse.h, testsudoers.c, visudo.c: Move list
1911           manipulation macros to list.h and create C versions of the more
1912           complex ones in list.c.  The names have been down-cased so they
1913           appear more like normal functions.
1914
1915 2007-08-31 17:21  millert
1916
1917         * Makefile.in: Fix cmp command when regenerating parser.  Make
1918           gram.o the first dependency for all programs so gram.h will be
1919           generated before anything that needs it.
1920
1921 2007-08-31 13:56  millert
1922
1923         * parse.h, gram.y: Convert NEW_DEFAULT anf NEW_MEMBER into static
1924           functions.
1925
1926 2007-08-30 21:21  millert
1927
1928         * match.c, parse.c, testsudoers.c: Use LH_FOREACH_REV when checking
1929           permission and short-circuit on the first non-UNSPEC hit we get
1930           for the command.  This means that instead of cycling through the
1931           all the parsed sudoers entries we start at the end and work
1932           backwards and quit after the first positive or negative match.
1933
1934 2007-08-30 21:13  millert
1935
1936         * gram.c: regen
1937
1938 2007-08-30 21:12  millert
1939
1940         * defaults.c, gram.y, parse.c, parse.h, testsudoers.c, visudo.c:
1941           Change list head macros to take a pointer, not a struct.
1942
1943 2007-08-30 20:46  millert
1944
1945         * gram.c: regen
1946
1947 2007-08-30 20:46  millert
1948
1949         * gram.y: Propagate the runasspec from one command to the next in a
1950           cmndspec.
1951
1952 2007-08-30 16:15  millert
1953
1954         * match.c: Replace has_meta() with a macro that calls strpbrk().
1955
1956 2007-08-30 16:04  millert
1957
1958         * gram.c: regen
1959
1960 2007-08-30 13:26  millert
1961
1962         * alias.c, defaults.c, gram.y, match.c, parse.c, parse.h,
1963           testsudoers.c, visudo.c: Use a list head struct when storing the
1964           semi-circular lists and convert to tail queues in the process.
1965           This will allow us to reverse foreach loops more easily and it
1966           makes it clearer which functions expect a list as opposed to a
1967           single member.
1968
1969           Add macros for manipulating lists.  Some of these should become
1970           functions.
1971
1972           When freeing up a list, just pop off the last item in the queue
1973           instead of going from head to tail.  This is simpler since we
1974           don't have to stash a pointer to the next member, we always just
1975           use the last one in the queue until the queue is empty.
1976
1977           Rename match functions that take a list to have list in the name.
1978            Break cmnd_matches() into cmnd_matches() and cmndlist_matches.
1979
1980 2007-08-30 13:12  millert
1981
1982         * parse.c: Fix pasto, append "!" not negated (which is an int) for
1983           sudo -l output.
1984
1985 2007-08-30 12:45  millert
1986
1987         * Makefile.in: Remove the dependency of gram .h on gram.y, the .c
1988           dependency is enough.  Only move y.tab.h to gram.h if it is
1989           different; avoids needless rebuilding.
1990
1991 2007-08-27 15:51  millert
1992
1993         * sudoers.pod: Defaults lines may be associated with lists of
1994           users, hosts, commands and runas users, not just single entries.
1995
1996 2007-08-26 17:42  millert
1997
1998         * Makefile.in: Revert the "cmp" portion of the last diff, it
1999           doesn't make sense.
2000
2001 2007-08-26 17:10  millert
2002
2003         * Makefile.in: Remove *.lo for clean: When generating the parser,
2004           only move the generated files into place if they differ from the
2005           existing ones.
2006
2007 2007-08-24 22:47  millert
2008
2009         * toke.c, toke.l: Replace IPV6 regexp with a much simpler
2010           (readable) one and add an extra check when it matches to make
2011           sure we have a valid address.
2012
2013 2007-08-24 22:36  millert
2014
2015         * match.c: Fix thinko introduced when merging IPV6 support.
2016
2017 2007-08-24 14:23  millert
2018
2019         * HISTORY, LICENSE: regen
2020
2021 2007-08-24 14:23  millert
2022
2023         * license.pod: add 2007
2024
2025 2007-08-24 14:19  millert
2026
2027         * UPGRADE: mention #uid vs. comment pitfall
2028
2029 2007-08-24 09:50  millert
2030
2031         * acsite.m4: Merge in a patch from the libtool cvs that fixes a
2032           problem with the latest autoconf.  From Stepan Kasal.
2033
2034 2007-08-23 20:28  millert
2035
2036         * parse.h: Back out he XOR swap trick, it is slower than a temp
2037           variable on modern CPUs.
2038
2039 2007-08-23 20:14  millert
2040
2041         * gram.c: regen
2042
2043 2007-08-23 20:14  millert
2044
2045         * gram.y, parse.h: Convert the tail queue to a semi-circle queue
2046           and use the XOR swap trick to swap the prev pointers during
2047           append.
2048
2049 2007-08-23 15:31  millert
2050
2051         * parse.h: remove useless statement
2052
2053 2007-08-23 07:47  millert
2054
2055         * toke.c, toke.l: Refactor #include parsing into a separate
2056           function and return unparsed chars (such as newline or comment)
2057           back to the lexer.
2058
2059 2007-08-22 18:56  millert
2060
2061         * WHATSNEW: mention better uid support
2062
2063 2007-08-22 18:55  millert
2064
2065         * sudoers.pod: Users may now consist of a uid.
2066
2067 2007-08-22 18:39  millert
2068
2069         * gram.c, gram.h, toke.c: regen
2070
2071 2007-08-22 18:32  millert
2072
2073         * parse.c: Use lbuf_append_quoted() for sudo -l output to quote
2074           characters that would require quoting in sudoers.
2075
2076 2007-08-22 18:31  millert
2077
2078         * lbuf.c, lbuf.h: Add lbuf_append_quoted() which takes a set of
2079           characters which should be quoted with a backslash when
2080           displayed.
2081
2082 2007-08-22 18:28  millert
2083
2084         * toke.l: Require that the first character after a comment not be a
2085           digit or a dash.  This allows us to remove the GOTRUNAS state and
2086           treat uid/gids similar to other words.  It also means that we can
2087           now specify uids in User_Lists and a User_Spec may now contain a
2088           uid.
2089
2090 2007-08-22 18:23  millert
2091
2092         * gram.y, toke.l: Replace RUNAS token with '(' and ')' tokens to
2093           make the runas portion of the grammar more natural.
2094
2095 2007-08-22 06:35  millert
2096
2097         * Makefile.in, README, BUGS: The BUGS file is history
2098
2099 2007-08-21 09:19  millert
2100
2101         * toke.c, toke.l: Allow comments after a RunasAlias as long as the
2102           character after the pound sign isn't a digit or a dash.
2103
2104 2007-08-20 20:43  millert
2105
2106         * WHATSNEW: Glob support was back-ported to 1.6.9
2107
2108 2007-08-20 19:59  millert
2109
2110         * Makefile.in: remove sudo_usage.h in distclean
2111
2112 2007-08-20 19:24  millert
2113
2114         * parse.c: If a Defaults value contains a blank, double-quote the
2115           string.
2116
2117 2007-08-20 19:19  millert
2118
2119         * toke.c, toke.l: Properly deal with Defaults double-quoted strings
2120           that span multiple lines using the line continuation char.
2121           Previously, the entire thing, including the continuation char,
2122           newline, and spaces was stored as-is.
2123
2124 2007-08-20 10:46  millert
2125
2126         * sudo.c: Be consistent when using single quotes and backticks.
2127
2128 2007-08-19 16:48  millert
2129
2130         * Makefile.in, configure, configure.in, lbuf.c, lbuf.h, parse.c,
2131           sudo.c, sudo_usage.h.in: Add new linebuf code to do appends of
2132           dynamically allocated strings and word-wrapped output.  Currently
2133           used for sudo's usage() and sudo -l output.  Sudo usage strings
2134           are now in sudo_usage.h which is generated at configure time.
2135
2136 2007-08-18 08:22  millert
2137
2138         * sudo.h, parse.c, sudo.c: Fix line wrapping in usage() and use the
2139           actual tty width instead of assuming 80.
2140
2141 2007-08-17 18:32  millert
2142
2143         * history.pod: some more info
2144
2145 2007-08-17 17:28  millert
2146
2147         * history.pod: Mentioned Chris Jepeway's parser and also the new
2148           one that is in sudo 1.7.
2149
2150 2007-08-16 09:38  millert
2151
2152         * sudo.pod, visudo.pod: For the options list, add flag args where
2153           appropriate and increase the indent level so there is room for
2154           them.
2155
2156 2007-08-15 13:49  millert
2157
2158         * parse.c: Fix some spacing in "sudo -l" and add a comment about
2159           some bogosity in the line wrapping.
2160
2161 2007-08-15 11:21  millert
2162
2163         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in,
2164           visudo.man.in, visudo.cat: regen
2165
2166 2007-08-15 11:20  millert
2167
2168         * INSTALL, Makefile.in, WHATSNEW, config.h.in, configure.in,
2169           def_data.c, def_data.h, def_data.in, gram.c, gram.h, gram.y,
2170           parse.c, parse.h, pathnames.h.in, sudo.c, sudo.h, sudoers.pod,
2171           testsudoers.c, toke.c, toke.l: Remove monitor support until there
2172           is a versino of systrace that uses a lookaside buffer (or we have
2173           a better mechanism to use).
2174
2175 2007-08-15 09:22  millert
2176
2177         * configure.in, configure, config.h.in, sudo.c: use getaddrinfo()
2178           instead of gethostbyname() if it is available
2179
2180 2007-08-14 15:27  millert
2181
2182         * parse.c, sudo.c: Deal with OSes where sizeof(gid_t) <
2183           sizeof(int).
2184
2185 2007-08-14 11:19  millert
2186
2187         * interfaces.c: repair non-getifaddrs() code after ipv6 integration
2188
2189 2007-08-14 10:04  millert
2190
2191         * sudo.c: If we can open sudoers but fail to read the first byte,
2192           close the file stream before trying again.
2193
2194 2007-08-13 12:34  millert
2195
2196         * gram.c, toke.c: regen
2197
2198 2007-08-13 12:29  millert
2199
2200         * gram.y, interfaces.c, interfaces.h, match.c, sudoers.pod, toke.l:
2201           Add IPv6 support; adapted from patches by YOSHIFUJI Hideaki
2202
2203 2007-08-13 12:23  millert
2204
2205         * sudo.pod, sudoers.pod, visudo.pod: Add some missing markup Update
2206           copyright
2207
2208 2007-08-12 18:55  millert
2209
2210         * configure, configure.in: fix sudo_noexec extension which got
2211           broken in the libtool update
2212
2213 2007-08-10 10:41  millert
2214
2215         * Makefile.in: explicitly specify -Tascii to nroff
2216
2217 2007-08-08 16:07  millert
2218
2219         * logging.c: remove an ANSI-ism that crept in
2220
2221 2007-08-06 20:37  millert
2222
2223         * sudo.pod: Adjust list indents Prevent -- from being turned into
2224           an em dash Use a list for the environment instead of a literal
2225           paragraph
2226
2227 2007-08-06 20:36  millert
2228
2229         * visudo.pod: Use a list for the environment instead of an indented
2230           literal paragraph.
2231
2232 2007-08-06 20:33  millert
2233
2234         * sudoers.pod: Adjust list indentation
2235
2236 2007-08-06 20:31  millert
2237
2238         * license.pod: add =head3
2239
2240 2007-08-06 10:24  millert
2241
2242         * sudo.pod: mention that when specifying a uid for the -u option
2243           the shell may require that the # be escaped
2244
2245 2007-08-01 22:08  millert
2246
2247         * match.c: Fix off by one in group matching.
2248
2249 2007-07-31 14:04  millert
2250
2251         * env.c: Fix typo: PYTHONINSPEC should be PYTHONINSPECT.  From
2252           David Krause.
2253
2254 2007-07-30 10:45  millert
2255
2256         * configure, configure.in: Add missing define of
2257           HAVE_GSS_KRB5_CCACHE_NAME for the -lgssapi_krb5 case.
2258
2259 2007-07-30 09:29  millert
2260
2261         * aclocal.m4, configure.in, configure: Fix link tests such that new
2262           gcc doesn't optimize away the test.
2263
2264 2007-07-29 19:21  millert
2265
2266         * sudo.pod, sudoers.pod, visudo.pod: add missing over/back
2267
2268 2007-07-29 19:09  millert
2269
2270         * sudo.pod, sudoers.pod, visudo.pod: Change FILES section to use
2271           =item
2272
2273 2007-07-29 18:32  millert
2274
2275         * env.c: Add back allocation of the env struct in rebuild_env but
2276           save a copy of the old pointer and free it before returning.
2277
2278 2007-07-29 16:09  millert
2279
2280         * env.c: Don't init the private environment in rebuild_env() since
2281           it may have already been done implicitly
2282           sudo_setenv/sudo_unsetenv.
2283
2284           Multiply length by sizeof(char *) in memcpy/memmove when copying
2285           the environment so we copy the full thing.
2286
2287           Add missing set of parens so we deref the right pointer in
2288           sudo_unsetenv when searching for a matching variable.
2289
2290 2007-07-26 16:35  millert
2291
2292         * sudo.pod, sudoers.pod, visudo.pod: Use  file markup for paths in
2293           the FILES section
2294
2295 2007-07-26 10:04  millert
2296
2297         * sudo.pod, sudoers.pod, visudo.pod: Don't capitalize sudo/visudo
2298
2299 2007-07-26 07:28  millert
2300
2301         * sudoers.pod: Sort sudoers options; based on a diff from Igor
2302           Sobrado.
2303
2304 2007-07-25 16:19  millert
2305
2306         * sudo.pod, sudoers.pod, visudo.pod: Use 8 and 5 instead of
2307           @mansectsu@ and @mansectform@ since the latter confuses pod2man.
2308           The Makefile rules for the .man.in file will add @mansectsu@ and
2309           @mansectform@ back in after pod2man is done anyway.
2310
2311 2007-07-22 19:09  millert
2312
2313         * LICENSE, Makefile.in, license.pod: Move license info to pod
2314           format
2315
2316 2007-07-22 18:43  millert
2317
2318         * configure, configure.in, sudoers.pod: Substitute value of
2319           path_info into sudoers man page.
2320
2321 2007-07-22 16:40  millert
2322
2323         * WHATSNEW: remove features that were back-ported to 1.6.9
2324
2325 2007-07-22 15:20  millert
2326
2327         * sudo.c, sudo.pod, visudo.c, visudo.pod: Sort SYNOPSIS and sync
2328           usage.  From Igor Sobrado.
2329
2330 2007-07-22 15:19  millert
2331
2332         * env.c: Only need sudo_setenv/sudo_unsetenv if we are going to use
2333           ldap_sasl_interactive_bind_s() but don't have
2334           gss_krb5_ccache_name().
2335
2336 2007-07-22 08:23  millert
2337
2338         * ChangeLog: rebuild without branch info
2339
2340 2007-07-22 08:23  millert
2341
2342         * Makefile.in: Add ChangeLog target
2343
2344 2007-07-22 08:14  millert
2345
2346         * auth/pam.c: Run cleanup code if the user hits ^C at the password
2347           prompt.
2348
2349 2007-07-22 08:13  millert
2350
2351         * auth/pam.c: Some versions of pam_lastlog have a bug that will
2352           cause a crash if PAM_TTY is not set so if there is no tty, set
2353           PAM_TTY to the empty string.
2354
2355 2007-07-20 09:32  millert
2356
2357         * Makefile.in: ChageLog not Changelog
2358
2359 2007-07-20 09:31  millert
2360
2361         * ChangeLog: sync
2362
2363 2007-07-20 09:29  millert
2364
2365         * Makefile.in: CHANGE -> Changelog
2366
2367 2007-07-19 20:23  millert
2368
2369         * TODO: sync
2370
2371 2007-07-19 19:53  millert
2372
2373         * config.h.in, configure.in, configure, ldap.c: Add configure hooks
2374           for gss_krb5_ccache_name() and the gssapi headers.
2375
2376 2007-07-18 12:57  millert
2377
2378         * env.c, sudo.c: rebuild_env() and insert_env_vars() no longer
2379           return environment pointer, they set environ directly.
2380
2381           No longer need to pass around an envp pointer since we just
2382           operate on environ now.
2383
2384           Add dosync argument to insert_env() that indicates whether it
2385           should reset environ when realloc()ing env.envp.
2386
2387           Use an initial size of 128 for the environment.
2388
2389 2007-07-18 12:41  millert
2390
2391         * env.c: Split sudo_setenv() into an external version and a version
2392           only for use by rebuild_env().
2393
2394 2007-07-16 19:40  millert
2395
2396         * ldap.c: Add support for using gss_krb5_ccache_name() instead of
2397           setting KRB5CCNAME.  Also use sudo_unsetenv() in the
2398           non-gss_krb5_ccache_name() case if there was no KRB5CCNAME in the
2399           original environment.  TODO: configure setup for
2400           gss_krb5_ccache_name()
2401
2402 2007-07-16 18:44  millert
2403
2404         * README.LDAP: add krb5_ccname
2405
2406 2007-07-16 18:44  millert
2407
2408         * README.LDAP, ldap.c: Add support for sasl_secprops in ldap.conf
2409
2410 2007-07-16 18:39  millert
2411
2412         * env.c, sudo.h: Add sudo_unsetenv() and refactor private env
2413           syncing code into sync_env().
2414
2415 2007-07-16 07:27  millert
2416
2417         * README.LDAP, ldap.c: The ldap.conf variable is sasl_auth_id not
2418           sasl_authid.
2419
2420 2007-07-15 15:44  millert
2421
2422         * ldap.c, sudo.c, sudo.h: Add support for krb5_ccname in ldap.conf.
2423           If specified, it will override the default value of KRB5CCNAME
2424           in the environment for the duration of the call to
2425           ldap_sasl_interactive_bind_s().
2426
2427 2007-07-15 15:41  millert
2428
2429         * env.c, sudo.h: Remove format_env() Add sudo_setenv() to replace
2430           most format_env() + insert_env() combinations.  insert_env() no
2431           longer takes a struct environment *
2432
2433 2007-07-15 12:47  millert
2434
2435         * ldap.c: Fix use_sasl vs. rootuse_sasl logic.
2436
2437 2007-07-15 09:23  millert
2438
2439         * README.LDAP, config.h.in, configure, configure.in, ldap.c: Add
2440           support for SASL auth when connecting to an LDAP server.  Adapted
2441           from a diff by Tom McLaughlin.
2442
2443 2007-07-14 16:32  millert
2444
2445         * configure, configure.in: Only enable AIX or BSD auth if no other
2446           exclusive auth method has been chosen.  Allows people to e.g.,
2447           use PAM on AIX without adding --without-aixauth.  A better
2448           solution is needed to deal with default authentication since if a
2449           non-exclusive method is chosen we will still get an error.
2450
2451 2007-07-11 11:23  millert
2452
2453         * HISTORY, Makefile.in, history.pod: Generate HISTORY from
2454           history.pod (which is also used for web pages)
2455
2456 2007-07-09 19:40  millert
2457
2458         * sudo.man.in, sudoers.man.in: regen
2459
2460 2007-07-09 19:25  millert
2461
2462         * sudo.pod: Better explanation of environment handling in the sudo
2463           man page.
2464
2465 2007-07-09 15:13  millert
2466
2467         * env.c, sudo.c: Defer setting user-specified env vars until after
2468           authentication.
2469
2470 2007-07-09 13:25  millert
2471
2472         * env.c: honor def_default_path for PATH set on the command line
2473
2474 2007-07-09 13:22  millert
2475
2476         * sudo.c, env.c, sudo.pod, sudoers.pod: Allow user to set
2477           environment variables on the command line as long as they are
2478           allowed by env_keep and env_check.  Ie: apply the same
2479           restrictions as normal environment variables.  TODO: deal with
2480           secure_path
2481
2482 2007-07-08 14:44  millert
2483
2484         * sudo.c, sudo_edit.c: Call rebuild_env() in call cases.  Pass
2485           original envp to sudo_edit().  Don't allow -E or env var setting
2486           in sudoedit mode.  More accurate usage() when called as sudoedit.
2487
2488 2007-07-08 14:41  millert
2489
2490         * ldap.c: warn -> warning
2491
2492 2007-07-08 14:11  millert
2493
2494         * sudo.pod: add -c option to sudoedit synopsis
2495
2496 2007-07-08 10:27  millert
2497
2498         * TODO: udpate to reality
2499
2500 2007-07-08 09:43  millert
2501
2502         * parse.c: Use ALLOW/DENY instead of TRUE/FALSE when dealing with
2503           the return value from {user,host,runas,cmnd}_matches().  Rename
2504           *matches variables -> *match.  Purely cosmetic.
2505
2506 2007-07-08 09:30  millert
2507
2508         * parse.c: Move setting of FLAG_NO_CHECK into the if(pwflag) block.
2509           No change in behavior.
2510
2511 2007-07-08 09:17  millert
2512
2513         * sudoers: add SETENV tag
2514
2515 2007-07-06 15:51  millert
2516
2517         * parse.c: Make pwcheck local to the pwflag block.  Use pwcheck
2518           even if user didn't match since Defaults options may still apply.
2519
2520 2007-07-06 14:51  millert
2521
2522         * check.c, sudo.c: Do not update timestamp if user not validated by
2523           sudoers.
2524
2525 2007-07-06 10:14  millert
2526
2527         * set_perms.c: for PERM_RUNAS, set the egid to the runas user's gid
2528           and restore to the user's original in PERM_ROOT
2529
2530 2007-07-06 10:04  millert
2531
2532         * logging.c, mon_systrace.c, set_perms.c, sudo.h: PERM_FULL_ROOT is
2533           now no different than PERM_ROOT so remove PERM_FULL_ROOT
2534
2535 2007-07-06 09:49  millert
2536
2537         * check.c: don't check timestamp mtime if we are just going to
2538           remove it
2539
2540 2007-07-06 09:33  millert
2541
2542         * sudoers.pod: Move sudoers defaults parameters into their own
2543           section.
2544
2545 2007-07-05 20:21  millert
2546
2547         * testsudoers.c: Reduce a level of indent by a few placed continue
2548           statements.
2549
2550 2007-07-05 20:20  millert
2551
2552         * parse.c: Make matching but negated commands/hosts/runas entries
2553           override a previous match as expected.  Also reduce some levels
2554           of indent by a few placed continue statements.
2555
2556 2007-07-05 16:34  millert
2557
2558         * parse.c: Print default runas in "sudo -l" if sudoers don't
2559           specify one.
2560
2561 2007-07-05 15:46  millert
2562
2563         * match.c: Less hacky way of testing whether the domain was set.
2564
2565 2007-07-04 15:50  millert
2566
2567         * INSTALL: Mention pam-devel and openldap-devel for Linux
2568
2569 2007-07-03 19:38  millert
2570
2571         * README.LDAP: or vs. are
2572
2573 2007-07-01 16:55  millert
2574
2575         * sudo.c: fix typo in Solaris project support
2576
2577 2007-07-01 09:40  millert
2578
2579         * HISTORY: update
2580
2581 2007-07-01 09:07  millert
2582
2583         * sudo.c: Make -- on the command line match the manual page.  The
2584           implied shell case has been simplified as a result.
2585
2586 2007-06-28 10:44  millert
2587
2588         * sudoers2ldif: add simplistic support for sudoRunas; note that if
2589           a sudoers entry contains multiple Runas users, all will apply to
2590           the sudoRole
2591
2592 2007-06-28 10:42  millert
2593
2594         * sudoers2ldif: honor SETENV and NOSETENV tags
2595
2596 2007-06-24 09:25  millert
2597
2598         * mon_systrace.c: Redo setting of user_args.  We now build up a
2599           private copy of argv first and then replace the NULs with spaces.
2600
2601 2007-06-24 09:19  millert
2602
2603         * mon_systrace.c: getcwd() returns NULL on failure, not 0 on
2604           success
2605
2606 2007-06-24 07:39  millert
2607
2608         * mon_systrace.c: allow chunksiz to reach 1 before erroring out
2609
2610 2007-06-23 20:00  millert
2611
2612         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in, visudo.cat,
2613           visudo.man.in: regen
2614
2615 2007-06-23 19:58  millert
2616
2617         * def_data.c, def_data.h, def_data.in, env.c, gram.c, gram.h,
2618           gram.y, logging.c, parse.c, parse.h, sudo.c, sudo.h, sudo.pod,
2619           sudoers.pod, toke.c, toke.l: Add support for setting environment
2620           variables on the command line.  This is only allowed if the
2621           setenv sudoers options is enabled or if the command is prefixed
2622           with the SETENV tag.
2623
2624 2007-06-23 19:57  millert
2625
2626         * README.LDAP: replace Aaron's email address with the sudo-workers
2627           list
2628
2629 2007-06-23 19:55  millert
2630
2631         * configure: regen
2632
2633 2007-06-21 20:35  millert
2634
2635         * Makefile.in, README.LDAP, schema.OpenLDAP, schema.iPlanet: Break
2636           schema out into separate files.
2637
2638 2007-06-21 18:28  millert
2639
2640         * auth/aix_auth.c: free message if set by authenticate()
2641
2642 2007-06-21 13:03  millert
2643
2644         * match.c: deal with NULL gr_mem
2645
2646 2007-06-20 15:04  millert
2647
2648         * config.h.in: regen
2649
2650 2007-06-20 15:04  millert
2651
2652         * configure.in: add template for HAVE_PROJECT_H
2653
2654 2007-06-20 07:06  millert
2655
2656         * closefrom.c: include fcntl.h
2657
2658 2007-06-19 19:37  millert
2659
2660         * INSTALL: mention --with-project
2661
2662 2007-06-19 18:24  millert
2663
2664         * config.h.in, configure.in, sudo.c: Add Solaris 10 "project"
2665           support.  From Michael Brantley.
2666
2667 2007-06-19 17:27  millert
2668
2669         * sudoers.pod: fix typo
2670
2671 2007-06-19 17:22  millert
2672
2673         * configure: regen
2674
2675 2007-06-19 17:21  millert
2676
2677         * configure.in: Fix preservation of LDFLAGS in the LDAP case.
2678
2679 2007-06-19 17:00  millert
2680
2681         * memrchr.c: Remove dependecy on NULL
2682
2683 2007-06-19 15:37  millert
2684
2685         * configure: regen
2686
2687 2007-06-19 15:37  millert
2688
2689         * aclocal.m4, configure.in: Can't use the regular autoconf
2690           fnmatch() check since we need FNM_CASEFOLD so go back to our
2691           custom one.
2692
2693 2007-06-19 12:52  millert
2694
2695         * env.c: Fix preserving of variables in env_keep.
2696
2697 2007-06-19 07:10  millert
2698
2699         * env.c: add XAUTHORIZATION
2700
2701 2007-06-18 20:41  millert
2702
2703         * UPGRADE: expand upon env resetting and mention that it began in
2704           1.6.9 not 1.7.
2705
2706 2007-06-18 20:33  millert
2707
2708         * sudoers.pod: Update descriptions of env_keep and env_check to
2709           match current reality.
2710
2711 2007-06-18 17:33  millert
2712
2713         * env.c: Add LINGUAS to initial_checkenv_table.  Add COLORS,
2714           HOSTNAME, LS_COLORS, MAIL, PS1, PS2, XAUTHORITY to
2715           intial_keepenv_table.
2716
2717 2007-06-18 17:23  millert
2718
2719         * env.c, logging.c: Treat USERNAME environemnt variable like
2720           LOGNAME/USER
2721
2722 2007-06-18 17:21  millert
2723
2724         * env.c: Don't need to populate keepenv table with the contents of
2725           the checkenv table.
2726
2727 2007-06-18 08:57  millert
2728
2729         * sudo.c: Don't force sudo into the C locale.
2730
2731 2007-06-18 08:56  millert
2732
2733         * env.c: Make env_check apply when env_reset it true.  Environment
2734           variables are passed through unless they contain '/' or '%'.
2735           There is no need to have a variable in both env_check and
2736           env_keep.
2737
2738 2007-06-16 07:31  millert
2739
2740         * visudo.c: Remove an duplicate lock_file() call and add a comment.
2741
2742 2007-06-15 21:16  millert
2743
2744         * UPGRADE: Add sudo 1.6.9 upgrade note.
2745
2746 2007-06-14 12:23  millert
2747
2748         * interfaces.c: Solaris will return EINVAL if the buffer used in
2749           SIOCGIFCONF is too small.  From Klaus Wagner.
2750
2751 2007-06-14 12:03  millert
2752
2753         * Makefile.in, config.h.in, configure, configure.in, memrchr.c,
2754           logging.c, sudo.h: Redo the long syslog line splitting based on a
2755           patch from Eygene Ryabinkin.  Include memrchr() for systems
2756           without it.
2757
2758 2007-06-14 07:09  millert
2759
2760         * configure.in: Since we need to be able to convert timespec to
2761           timeval for utimes() the last 3 digits in the tv_nsec are not
2762           significant.  This makes the sudoedit file date comparison work
2763           again.
2764
2765 2007-06-13 13:41  millert
2766
2767         * aclocal.m4, configure, configure.in: Add SUDO_ADD_AUTH macro to
2768           deal with adding things to AUTH_OBJS.  This deals with exclusive
2769           authentication methods in a simple way.
2770
2771 2007-06-12 13:08  millert
2772
2773         * LICENSE: mkstemp.c is BSD code too.
2774
2775 2007-06-12 09:21  millert
2776
2777         * sudo.pod, sudoers.pod, visudo.pod: No commercial support for now.
2778
2779 2007-06-11 18:27  millert
2780
2781         * sudo.c: cleanenv() is no more.
2782
2783 2007-06-10 18:37  millert
2784
2785         * ChangeLog: Display branch info in Changelog
2786
2787 2007-06-10 18:18  millert
2788
2789         * utimes.c: Include config.h early so we have it for
2790           TIME_WITH_SYS_TIME
2791
2792 2007-06-10 18:00  millert
2793
2794         * ChangeLog: Fix Changelog generation and update.
2795
2796 2007-06-09 07:26  millert
2797
2798         * closefrom.c: Use /proc/self/fd instead of /proc/$$/fd
2799
2800           Move old-style fd closing into closefrom_fallback() and call that
2801           if /proc/self/fd doesn't exist or the F_CLOSEM fcntl() fails
2802
2803 2007-06-09 07:24  millert
2804
2805         * config.h.in, configure.in, auth/kerb5.c:  o use
2806           krb5_verify_user() if available instead of doing it by hand
2807            o use krb5_init_secure_context() if we have it
2808            o pass an encryption type of 0 to krb5_kt_read_service_key()
2809           instead of
2810              ENCTYPE_DES_CBC_MD5 to let kerberos choose.
2811
2812 2007-06-09 07:20  millert
2813
2814         * env.c: Check TERM and COLORTERM for '%' and '/' characters.  From
2815           Debian.
2816
2817 2007-06-09 07:17  millert
2818
2819         * configure.in: Fix closefrom() substitution in the Makefile
2820
2821 2007-06-09 07:15  millert
2822
2823         * TROUBLESHOOTING: Mention alternate sudo pronunciation.
2824
2825 2007-06-07 07:52  millert
2826
2827         * env.c: Remove KRB5_KTNAME from environment.  Allow COLORTERM.
2828
2829 2007-06-07 07:22  millert
2830
2831         * auth/kerb5.c: If we cannot get a valid service key using the
2832           default keytab it is a fatal error.  Fixes a bug where sudo could
2833           be tricked into allowing access when it should not by a fake KDC.
2834           From Thor Lancelot Simon.
2835
2836 2007-05-12 08:56  millert
2837
2838         * aclocal.m4, configure, configure.in: Update long long checks to
2839           use AC_CHECK_TYPES and to cache values.
2840
2841 2007-05-12 08:07  millert
2842
2843         * aclocal.m4, configure.in: Use AC_FUNC_FNMATCH instead of a
2844           homebrew fnmatch checker.  We can't use AC_REPLACE_FNMATCH since
2845           that assumes replacing with GNU fnmatch.
2846
2847 2007-05-11 17:05  millert
2848
2849         * configure, configure.in: Add closefrom() to LIB_OBJS not
2850           SUDO_OBJS if it is missing since we need it for visudo now too.
2851
2852 2007-04-24 14:44  millert
2853
2854         * sudoers.pod: Attempt to clarify the bit talking about network
2855           numbers w/o netmasks.
2856
2857 2007-04-24 14:25  millert
2858
2859         * sudo.pod: Clarify timestamp dir ownership sentence.
2860
2861 2007-04-20 12:40  millert
2862
2863         * auth/pam.c: Linux PAM now defines __LINUX_PAM__, not
2864           __LIBPAM_VERSION.  From Dmitry V. Levin.
2865
2866 2007-04-16 12:13  millert
2867
2868         * sudo.c: -i is also one of the mutually exclusive options to list
2869           it in the warning message.  Noted by Chris Pepper.
2870
2871 2007-04-12 11:18  millert
2872
2873         * visudo.pod: The sudoers variable is env_editor, not enveditor.
2874           From Jean-Francois Saucier.
2875
2876 2007-03-29 13:30  millert
2877
2878         * redblack.c: I tracked down the original author so credit him and
2879           include his license info.
2880
2881 2007-02-06 13:25  millert
2882
2883         * sudo.cat, sudo.man.in, sudo.pod, sudoers.cat, sudoers.man.in,
2884           sudoers.pod: Fix typos; from Jason McIntyre.
2885
2886 2007-02-06 13:23  millert
2887
2888         * logging.c: Restore signal mask before calling reapchild().  Fixes
2889           a possible race condition that could prevent sudo from properly
2890           waiting for the child.
2891
2892 2007-01-31 10:02  millert
2893
2894         * pwutil.c: Don't declare pw_free() if we are not going to use it.
2895
2896 2007-01-31 10:00  millert
2897
2898         * env.c: Add NOEXEC support for AIX 5.3 which supports LDR_PRELOAD
2899           and LDR_PRELOAD64.  The 64-bit version is not currently
2900           supported.  Remove zero_env() prototype as it no longer exists.
2901
2902 2006-12-11 13:21  millert
2903
2904         * logging.c: Add "Auto-Submitted: auto-generated" line to sudo mail
2905           for rfc 3834.
2906
2907 2006-09-29 10:53  millert
2908
2909         * auth/pam.c: If the user enters ^C at the password prompt, abort
2910           instead of trying to authenticate with an empty password (which
2911           causes an annoying delay).
2912
2913 2006-08-17 11:26  millert
2914
2915         * closefrom.c, config.h.in, configure, configure.in: Add fcntl
2916           F_CLOSEM support to closefrom(); adapted from a diff by Darren
2917           Tucker.
2918
2919 2006-08-17 11:25  millert
2920
2921         * pwutil.c: pw_free() is only used by sudo_freepwcache() so ifdef
2922           it out too.
2923
2924 2006-08-04 11:34  millert
2925
2926         * config.sub, config.guess: Update to latest versions from
2927           cvs.savannah.gnu.org
2928
2929 2006-07-31 13:51  millert
2930
2931         * pwutil.c, sudo_edit.c: Move password/group cache cleaning out of
2932           sudo_end{pw,grp}ent() so we can close the passwd/group files
2933           early.
2934
2935 2006-07-31 13:50  millert
2936
2937         * config.h.in, configure, configure.in, set_perms.c: Add seteuid()
2938           flavor of set_perms() for systems without setreuid() or
2939           setresuid() that have a working seteuid().  Tested on Darwin.
2940
2941 2006-07-30 15:56  millert
2942
2943         * mon_systrace.c: systrace_read() returns ssize_t
2944
2945 2006-07-30 15:53  millert
2946
2947         * configure, configure.in: Fix typo, -lldap vs. -ldap; from Tim
2948           Knox.
2949
2950 2006-07-28 13:12  millert
2951
2952         * HISTORY: Fix typo; Matt Ackeret
2953
2954 2006-07-17 08:25  millert
2955
2956         * sudo.c: Print sudoers path in -V mode for root.
2957
2958 2006-06-15 14:44  millert
2959
2960         * ldap.c: Do a sub tree search instead of a base search (one level
2961           in the tree only) for sudo right objects.  This allows system
2962           administrators to categorize the rights in a tree to make them
2963           easier to manage.
2964
2965 2005-12-28 13:52  millert
2966
2967         * sudo.pod: fix typo
2968
2969 2005-12-04 12:16  millert
2970
2971         * ldap.c: Convert GET_OPT and GET_OPTI to use just 2 args.  Add
2972           timelimit and bind_timelimit support; adapted from gentoo.
2973
2974 2005-11-23 18:57  millert
2975
2976         * ldap.c: Support comments that start in the middle of a line
2977
2978 2005-11-23 18:56  millert
2979
2980         * configure.in, configure: Define LDAP_DEPRECATED until we start
2981           using ldap_get_values_len()
2982
2983 2005-11-18 09:55  millert
2984
2985         * closefrom.c: Silence gcc -Wsign-compare; djm@openbsd.org
2986
2987 2005-11-17 20:39  millert
2988
2989         * error.c, sudo.c, sudo.h, testsudoers.c, visudo.c: cleanup() now
2990           takes an int as an arg so it can be used as a signal handler too.
2991
2992 2005-11-17 20:38  millert
2993
2994         * sudo.c: Make a copy of the shell field in the passwd struct for
2995           NewArgv to avoid a use after free situation after sudo_endpwent()
2996           is called.
2997
2998 2005-11-16 20:36  millert
2999
3000         * Makefile.in, mkstemp.c, config.h.in, configure, configure.in: Add
3001           mkstemp() for those poor souls without it.
3002
3003 2005-11-15 09:25  millert
3004
3005         * env.c: Add PERL5DB to list of environment variables to remove.
3006
3007 2005-11-13 15:49  millert
3008
3009         * mon_systrace.c, mon_systrace.h: Instead of calling the check
3010           function twice with a state cookie use separate check/log
3011           functions.
3012
3013           Check more ioctl() calls for failure.
3014
3015           systrace_{read,write} now return the number of bytes read/written
3016           or -1 on error.
3017
3018 2005-11-13 14:51  millert
3019
3020         * env.c: Add more environment variables to remove; from gentoo
3021           linux Add some comments about what bad env variables go to what
3022           (more to do)
3023
3024 2005-11-11 17:23  millert
3025
3026         * sudo.c, sudo_edit.c: Move sudo_end{gr,pw}ent() until just before
3027           the exec since they free up our cached copy of the passwd
3028           structs, including sudo_user and sudo_runas.  Fixes a
3029           use-after-free bug.
3030
3031 2005-11-11 17:19  millert
3032
3033         * visudo.c: Close all fd's before executing editor.
3034
3035 2005-11-11 17:17  millert
3036
3037         * sudo.c: Enable malloc debugging on OpenBSD when SUDO_DEVEL is
3038           set.
3039
3040 2005-11-11 11:22  millert
3041
3042         * check.c: Fix fd leak when lecture file option is enabled.  From
3043           Jerry Brown
3044
3045 2005-11-07 11:02  millert
3046
3047         * env.c: Add PERLLIB, PERL5LIB and PERL5OPT to the default list of
3048           environment variables to remove.  From Charles Morris
3049
3050 2005-11-01 13:24  millert
3051
3052         * env.c: add JAVA_TOOL_OPTIONS to initial_badenv_table for java 5
3053
3054 2005-10-27 20:35  millert
3055
3056         * env.c: add PS4 and SHELLOPTS to initial_badenv_table for bash
3057
3058 2005-08-14 20:32  millert
3059
3060         * sudoers.pod: Fix typo; Toby Peterson
3061
3062 2005-08-02 09:57  millert
3063
3064         * tsgetgrpw.c: Make return buffers static so they don't get
3065           clobbered
3066
3067 2005-07-27 21:14  millert
3068
3069         * auth/securid5.c: Fix securid5 authentication, was not checking
3070           for ACM_OK.  Also add default cases for the two switch()es.
3071           Problem noted by ccon at worldbank
3072
3073 2005-06-26 20:10  millert
3074
3075         * ldap.c: Remove ncat() in favor of just counting bytes and
3076           pre-allocating what is needed.
3077
3078 2005-06-26 19:44  millert
3079
3080         * ldap.c: Fix up some comments Add missing fclose() for the
3081           rootbinddn case
3082
3083 2005-06-26 19:38  millert
3084
3085         * ldap.c: align struct ldap_config
3086
3087 2005-06-26 19:37  millert
3088
3089         * ldap.c: use LINE_MAX for max conf file line size
3090
3091 2005-06-26 18:36  millert
3092
3093         * pathnames.h.in: add _PATH_LDAP_SECRET
3094
3095 2005-06-26 18:36  millert
3096
3097         * README.LDAP: Mention rootbinddn Give example ou=SUDOers container
3098
3099 2005-06-25 18:03  millert
3100
3101         * configure, INSTALL, configure.in, ldap.c: Support rootbinddn in
3102           ldap.conf
3103
3104 2005-06-25 17:46  millert
3105
3106         * env.c, sudo.pod, sudoers.pod: Preserve DISPLAY environment
3107           variable by default.
3108
3109 2005-06-25 16:39  millert
3110
3111         * acsite.m4, configure: set need_lib_prefix=no for all cases; this
3112           is safe for LD_PRELOAD
3113
3114 2005-06-25 16:15  millert
3115
3116         * acsite.m4, configure: set need_version=no for all cases; this is
3117           safe for LD_PRELOAD
3118
3119 2005-06-25 14:45  millert
3120
3121         * aclocal.m4: typo
3122
3123 2005-06-25 14:33  millert
3124
3125         * configure, configure.in: Add dragonfly
3126
3127 2005-06-25 14:29  millert
3128
3129         * auth/pam.c: Fix call to pam_end() when pam_open_session() fails.
3130
3131 2005-06-25 14:21  millert
3132
3133         * configure: regen
3134
3135 2005-06-25 14:20  millert
3136
3137         * acsite.m4: rebuild acsite.m4 from libtool 1.9f  libtool.m4
3138           ltoptions.m4 ltsugar.m4 ltversion.m4
3139
3140 2005-06-25 14:08  millert
3141
3142         * config.guess, config.sub, ltmain.sh: merge in local changes:
3143           config.guess:  o better openbsd support config.sub:  o hiuxmpp
3144           support ltmain.sh  o remove requirement that libs must begin with
3145           "lib"  o don't print a bunch of crap about library installs  o
3146           don't run ldconfig
3147
3148 2005-06-25 14:05  millert
3149
3150         * config.guess, config.sub, ltmain.sh: libtool 1.9f
3151
3152 2005-06-25 14:04  millert
3153
3154         * configure.in: Update with autoupdate and make minor changes for
3155           libtool 1.9f
3156
3157 2005-06-22 23:19  millert
3158
3159         * parse.c: don't call sudo_ldap_display_cmnd if ldap not setup
3160
3161 2005-06-22 23:04  millert
3162
3163         * check.c, compat.h, fileops.c, gettime.c, sudo_edit.c, visudo.c,
3164           emul/timespec.h: Move declatation of struct timespec to its own
3165           include files for systems without it since it needs time_t
3166           defined.
3167
3168 2005-06-22 22:57  millert
3169
3170         * ldap.c: Don't set safe_cmnd for the "sudo ALL" case.
3171
3172 2005-05-27 01:59  millert
3173
3174         * auth/pam.c: Call pam_open_session() and pam_close_session() to
3175           give pam_limits a chance to run.  Idea from Karel Zak.
3176
3177 2005-04-24 19:24  millert
3178
3179         * check.c, sudo.c: Add explicit cast from mode_t -> u_int in printf
3180           to silence warnings on Solaris
3181
3182 2005-04-24 19:22  millert
3183
3184         * parse.c: include grp.h to silence a warning on Solaris
3185
3186 2005-04-23 15:10  millert
3187
3188         * parse.c: Fix printing of += and -= defaults.
3189
3190 2005-04-17 01:21  millert
3191
3192         * mon_systrace.c: Sanity check number of syscall args with argsize.
3193           Not really needed but a little paranoia never hurts.
3194
3195 2005-04-17 01:18  millert
3196
3197         * mon_systrace.c, mon_systrace.h: Don't do pointer arithmetic on
3198           void * Use int, not size_t/ssize_t for systrace lengths (since it
3199           uses int)
3200
3201 2005-04-16 03:14  millert
3202
3203         * mon_systrace.c: Add some memsets for paranoia Fix namespace
3204           collsion w/ error Check rval of decode_args() and update_env()
3205           Remove improper setting of validated variable
3206
3207 2005-04-11 21:37  millert
3208
3209         * parse.c, sudo.c, sudo.h: In -l mode, only check local sudoers
3210           file if def_ignore_sudoers is not set and call LDAP versions from
3211           display_privs() and display_cmnd() instead of directly from
3212           main().  Because of this we need to defer closing the ldap
3213           connection until after -l processing has ocurred and we must pass
3214           in the ldap pointer to display_privs() and display_cmnd().
3215
3216 2005-04-11 21:33  millert
3217
3218         * ldap.c: Reorganize LDAP code to better match normal sudoers
3219           parsing.  Instead of storing strings for later printing in -l
3220           mode we do another query since the authenticating user and the
3221           user being listed may not be the same (the new -U flag).  Also
3222           add support for "sudo -l command".
3223
3224           There is still a fair bit if duplicated code that can probably be
3225           refactored.
3226
3227 2005-04-11 00:37  millert
3228
3229         * ldap.c: Replace pass variable with do_netgr for better
3230           readability.
3231
3232 2005-04-10 23:49  millert
3233
3234         * ldap.c: use DPRINTF macro
3235
3236 2005-04-10 23:18  millert
3237
3238         * ldap.c: estrdup, not strdup
3239
3240 2005-04-10 17:44  millert
3241
3242         * parse.c: Add macro to test if the tag changed to improve
3243           readability.
3244
3245 2005-04-10 17:40  millert
3246
3247         * parse.c: Avoid printing defaults header if there are no defaults
3248           to print...
3249
3250 2005-04-10 15:29  millert
3251
3252         * glob.c: Fix a warning on systems without strlcpy().
3253
3254 2005-04-10 13:32  millert
3255
3256         * pwutil.c: Use macros where possible for sudo_grdup() like
3257           sudo_pwdup().
3258
3259 2005-04-08 17:04  millert
3260
3261         * utimes.c: It is possible for tv_usec to hold >= 1000000 usecs so
3262           add in tv_usec / 1000000.
3263
3264 2005-03-29 23:38  millert
3265
3266         * auth/kerb5.c: The component in krb5_principal_get_comp_string()
3267           should be 1, not 0 for Heimdal.  From Alex Plotnick.
3268
3269 2005-03-29 09:29  millert
3270
3271         * alias.c, alloc.c, check.c, defaults.c, find_path.c, gram.c,
3272           gram.y, interfaces.c, ldap.c, logging.c, match.c, mon_systrace.c,
3273           pwutil.c, redblack.c, sudo.c, sudo.h, toke.c, toke.l, visudo.c:
3274           Add efree() for consistency with emalloc() et al.  Allows us to
3275           rely on C89 behavior (free(NULL) is valid) even on K&R.
3276
3277 2005-03-28 22:33  millert
3278
3279         * parse.c, sudo.c: Move initgroups() for -U option into
3280           display_privs() so group matching in sudoers works correctly.
3281
3282 2005-03-26 21:34  millert
3283
3284         * ldap.c: Removed duplicate call to ldap_unbind_s introduced along
3285           with sudo_ldap_close.
3286
3287 2005-03-26 20:01  millert
3288
3289         * parse.c: Add missing space in Defaults printing
3290
3291 2005-03-25 12:36  millert
3292
3293         * pwutil.c: Sync sudo_pwdup with OpenBSD changes: use macros for
3294           size computaton and string copies.
3295
3296 2005-03-18 22:08  millert
3297
3298         * pwutil.c: Zero old pw_passwd before replacing with version from
3299           shadow file.
3300
3301 2005-03-18 22:07  millert
3302
3303         * configure, configure.in: Only attempt shadow password detection
3304           if PAM is not being used Add shadow_* variables to make shadow
3305           password detection more generic.
3306
3307 2005-03-18 21:46  millert
3308
3309         * configure.in: Use OSDEFS for os-specific -D_FOO_BAR stuff rather
3310           than CPPFLAGS
3311
3312 2005-03-12 19:27  millert
3313
3314         * sudoers.pod: use a non-breaking space to avoid a double space
3315           after e.g.
3316
3317 2005-03-12 19:26  millert
3318
3319         * sudo.pod: commna, not colon after e.g.
3320
3321 2005-03-12 18:43  millert
3322
3323         * sudo_noexec.c: Add __ variants of the exec functions.  GNU libc
3324           at least uses __execve() internally.
3325
3326 2005-03-12 12:29  millert
3327
3328         * indent.pro: Match reality a bit more.
3329
3330 2005-03-12 12:27  millert
3331
3332         * pwutil.c: Missed piece from rev. 1.6, fix sudo_getpwnam() too.
3333
3334 2005-03-11 23:42  millert
3335
3336         * pwutil.c: Store shadow password after making a local copy of
3337           struct passwd in case normal and shadow routines use the same
3338           internal buffer in libc.
3339
3340 2005-03-10 20:57  millert
3341
3342         * alloc.c, logging.c: Make varargs usage consistent with the rest
3343           of the code.
3344
3345 2005-03-10 10:09  millert
3346
3347         * sudo_noexec.c: Wrap more of the exec family since on Linux the
3348           others do not appear to go through the normal execve() path.
3349
3350 2005-03-10 09:57  millert
3351
3352         * visudo.c: make print_unused static like proto says
3353
3354 2005-03-10 09:55  millert
3355
3356         * glob.c: silence a warning on K&R systems
3357
3358 2005-03-10 09:51  millert
3359
3360         * parse.c, alias.c, error.c: make this build in K&R land
3361
3362 2005-03-07 22:21  millert
3363
3364         * toke.c: regen
3365
3366 2005-03-05 22:46  millert
3367
3368         * ldap.c: return(foo) not return foo optimize _atobool() slightly
3369
3370 2005-03-05 22:40  millert
3371
3372         * ldap.c: Use TRUE/FALSE
3373
3374 2005-03-05 22:31  millert
3375
3376         * ldap.c: Reformat to match the rest of sudo's code.
3377
3378 2005-03-05 19:33  millert
3379
3380         * sudo.pod: I am the primary author
3381
3382 2005-02-22 22:28  millert
3383
3384         * README, RUNSON, Makefile.in: The RUNSON file is toast--it
3385           confused too many people and really isn't needed in a
3386           configure-oriented world.
3387
3388 2005-02-22 22:28  millert
3389
3390         * INSTALL: alternate -> alternative
3391
3392 2005-02-22 22:26  millert
3393
3394         * tgetpass.c: Use TCSADRAIN instead of TCSAFLUSH since some OSes
3395           have issues with TCSAFLUSH.
3396
3397 2005-02-22 22:16  millert
3398
3399         * toke.l: Allow leading blanks before Defaults and Foo_Alias
3400           definitions
3401
3402 2005-02-22 22:14  millert
3403
3404         * Makefile.in: fix rules to build toke.o and gram.o in devel mode
3405
3406 2005-02-20 13:00  millert
3407
3408         * sudoers.pod: env_keep overrides set_logname
3409
3410 2005-02-20 12:57  millert
3411
3412         * env.c: Fix disabling set_logname and make env_keep override
3413           set_logname.
3414
3415 2005-02-20 12:28  millert
3416
3417         * compat.h, config.h.in, configure, configure.in: No longer need
3418           memmove()
3419
3420 2005-02-20 11:48  millert
3421
3422         * env.c, sudo.c: Just clean the environment once.  This assumes
3423           that any further setenv/putenv will be able to handle the fact
3424           that we replaced environ with our own malloc'd copy but all the
3425           implementations I've checked do.
3426
3427 2005-02-15 23:16  millert
3428
3429         * env.c, sudo.c: In -i mode, base the value of insert_env()'s
3430           dupcheck flag on DID_FOO flags.  Move checks for $HOME resetting
3431           into rebuild_env()
3432
3433 2005-02-13 00:33  millert
3434
3435         * env.c, sudo.c: Move setting of user_path, user_shell, user_prompt
3436           and prev_user into init_vars() since user_shell at least is
3437           needed there.
3438
3439 2005-02-12 18:51  millert
3440
3441         * Makefile.in: fix devel builds
3442
3443 2005-02-12 18:46  millert
3444
3445         * check.c, sudo.c: Fix some printf format mismatches on error.
3446
3447 2005-02-12 18:33  millert
3448
3449         * configure, gram.c, toke.c: regen
3450
3451 2005-02-12 17:56  millert
3452
3453         * LICENSE, Makefile.binary.in, Makefile.in, aclocal.m4, alias.c,
3454           alloc.c, check.c, closefrom.c, compat.h, configure.in,
3455           defaults.c, defaults.h, env.c, error.c, fileops.c, find_path.c,
3456           getprogname.c, getspwuid.c, gettime.c, goodpath.c, gram.y,
3457           interfaces.c, interfaces.h, ldap.c, logging.c, logging.h,
3458           match.c, mon_systrace.c, parse.c, redblack.c, redblack.h,
3459           set_perms.c, sigaction.c, snprintf.c, strcasecmp.c, strerror.c,
3460           strlcat.c, strlcpy.c, sudo.c, sudo.h, sudo.pod, sudo_edit.c,
3461           sudo_noexec.c, sudoers.pod, testsudoers.c, tgetpass.c, toke.l,
3462           utimes.c, version.h, visudo.c, visudo.pod, zero_bytes.c,
3463           auth/afs.c, auth/aix_auth.c, auth/bsdauth.c, auth/dce.c,
3464           auth/fwtk.c, auth/kerb4.c, auth/kerb5.c, auth/pam.c,
3465           auth/passwd.c, auth/rfc1938.c, auth/secureware.c, auth/securid.c,
3466           auth/securid5.c, auth/sia.c, auth/sudo_auth.c, auth/sudo_auth.h,
3467           emul/utime.h: Update copyright years.
3468
3469 2005-02-12 16:46  millert
3470
3471         * BUGS, INSTALL, INSTALL.binary, Makefile.in, README, configure.in:
3472           version 1.7
3473
3474 2005-02-12 16:16  millert
3475
3476         * WHATSNEW: What's new in sudo 1.7, based on the 1.7 CHANGES
3477           entries.
3478
3479 2005-02-11 18:06  millert
3480
3481         * compat.h, logging.h, sudo.h: Add __printflike and use it with gcc
3482           to warn about printf-like format mismatches
3483
3484 2005-02-10 00:16  millert
3485
3486         * CHANGES, ChangeLog: Replaced CHANGES file with ChangeLog
3487           generated from cvs logs
3488
3489 2005-02-10 00:03  millert
3490
3491         * set_perms.c: Use warning/error instead of perror/fatal.
3492
3493 2005-02-09 23:13  millert
3494
3495         * config.guess: Update OpenBSD section
3496
3497 2005-02-09 23:10  millert
3498
3499         * UPGRADE: Add upgrading noted for 1.7
3500
3501 2005-02-09 23:00  millert
3502
3503         * env.c, sudo.c, sudoers.pod: Instead of zeroing out the
3504           environment, just prune out entries based on the env_delete and
3505           env_check lists.  Base building up the new environment on the
3506           current environment and the variables we removed initially.
3507
3508 2005-02-09 22:23  millert
3509
3510         * configure, configure.in, sudo.c, config.h.in: Set locale to "C"
3511           if locales are supported, just to be safe.
3512
3513 2005-02-09 22:19  millert
3514
3515         * toke.c, toke.l: Cast argument to ctype functions to unsigned
3516           char.
3517
3518 2005-02-07 22:56  millert
3519
3520         * env.c: correct value for DID_USER
3521
3522 2005-02-07 22:55  millert
3523
3524         * error.c, fnmatch.c, getcwd.c, glob.c, snprintf.c: #include
3525           <compat.h> not "compat.h"
3526
3527 2005-02-07 22:51  millert
3528
3529         * defaults.c: Reset the environment by default.
3530
3531 2005-02-07 22:50  millert
3532
3533         * sudo.c: Alloc an extra slot in NewArgv.  Removes the need to
3534           malloc an new vector if execve() fails.
3535
3536 2005-02-06 23:16  millert
3537
3538         * INSTALL, config.h.in, configure, configure.in, sudo.c: Use
3539           execve(2) and wrap the command in sh if we get ENOEXEC.
3540
3541 2005-02-05 23:01  millert
3542
3543         * sudo_noexec.c: Only include time.h on systems that lack struct
3544           timespec which gets defind in compat.h (using time_t).
3545
3546 2005-02-05 22:59  millert
3547
3548         * sudo_noexec.c: Include time.h for time_t in compat.h for systems
3549           w/o struct timespec.
3550
3551 2005-02-05 22:56  millert
3552
3553         * configure, compat.h, config.h.in, configure.in: use bcopy on
3554           systems w/o memmove
3555
3556 2005-02-05 22:31  millert
3557
3558         * compat.h: __attribute__((__unused__)) doesn't work in gcc 2.7.2.1
3559           so limit its use to gcc >= 2.8.
3560
3561 2005-02-05 21:21  millert
3562
3563         * Makefile.in: Add explicit rule to build sudo_noexec.lo
3564
3565 2005-02-05 17:56  millert
3566
3567         * INSTALL.configure, Makefile.in: No longer depend on VPATH;
3568           pointed out a bunch of missed dependencies.
3569
3570 2005-02-05 13:18  millert
3571
3572         * TROUBLESHOOTING: Help for PAM when account section is missing
3573
3574 2005-02-05 13:01  millert
3575
3576         * auth/pam.c: Give user a clue when there is a missing "account"
3577           section in the PAM config.
3578
3579 2005-02-05 10:22  millert
3580
3581         * auth/pam.c: Better error handling.
3582
3583 2005-02-05 09:57  millert
3584
3585         * configure, config.h.in, configure.in: Move _FOO_SOURCE to
3586           CPPFLAGS so it takes effect as early as possible.  Silences a
3587           warning about isblank() on linux.
3588
3589 2005-02-04 21:49  millert
3590
3591         * auth/pam.c: Fix typo (missing comma) that caused an incorrect
3592           number of args to be passed to log_error().
3593
3594 2005-01-31 23:03  millert
3595
3596         * pwutil.c: Don't try to destroy a tree we didn't create.
3597
3598 2005-01-27 10:42  millert
3599
3600         * alias.c, alloc.c, check.c, closefrom.c, compat.h, defaults.c,
3601           env.c, error.c, fileops.c, find_path.c, fnmatch.c, getcwd.c,
3602           getprogname.c, getspwuid.c, gettime.c, goodpath.c, gram.c,
3603           gram.y, interfaces.c, ldap.c, logging.c, match.c, mon_systrace.c,
3604           parse.c, pwutil.c, set_perms.c, sigaction.c, snprintf.c,
3605           strcasecmp.c, strerror.c, strlcat.c, strlcpy.c, sudo.c,
3606           sudo_edit.c, sudo_noexec.c, testsudoers.c, tgetpass.c, toke.c,
3607           toke.l, utimes.c, visudo.c, zero_bytes.c, auth/afs.c,
3608           auth/aix_auth.c, auth/bsdauth.c, auth/dce.c, auth/fwtk.c,
3609           auth/kerb4.c, auth/kerb5.c, auth/pam.c, auth/passwd.c,
3610           auth/rfc1938.c, auth/secureware.c, auth/securid.c,
3611           auth/securid5.c, auth/sia.c, auth/sudo_auth.c: Add __unused to
3612           rcsids
3613
3614 2005-01-21 10:34  millert
3615
3616         * configure, configure.in: Fix error message when mixing invalid
3617           auth types
3618
3619 2005-01-21 10:32  millert
3620
3621         * INSTALL: PAM, AIX auth, BSD auth and login_cap are now on by
3622           default if the OS supports them.
3623
3624 2005-01-21 10:29  millert
3625
3626         * config.h.in, auth/sudo_auth.h: s/HAVE_AUTHENTICATE/HAVE_AIXAUTH/g
3627
3628 2005-01-21 10:29  millert
3629
3630         * configure.in: Better checking for conflicting authentication
3631           methods Display the authentication methods used at the end of
3632           configure Rename --with-authenticate -> --with-aixauth Use
3633           --with-aixauth, --with-bsdauth, --with-pam, --with-logincap by
3634           default on systems that support them unless disabled.  Add
3635           OSMAJOR variable that replaces old OSREV; now OSREV has full
3636           version number
3637
3638 2005-01-17 19:40  millert
3639
3640         * def_data.c, def_data.in, sudo.c, sudoers.pod: s/-O/-C/
3641
3642 2005-01-14 13:35  millert
3643
3644         * configure.in: Replace:     test -n "$FOO" || FOO="bar"
3645
3646           With:     : ${FOO='bar'}
3647
3648 2005-01-09 18:58  millert
3649
3650         * pwutil.c, testsudoers.c, tsgetgrpw.c: Use function pointers to
3651           only call private passwd/group routines when using a nonstandard
3652           passwd/group file.
3653
3654 2005-01-06 10:34  millert
3655
3656         * CHANGES: sync
3657
3658 2005-01-05 22:16  millert
3659
3660         * tsgetgrpw.c: Can't use strtok() since it doesn't handle empty
3661           fields so add getpwent()/getgrent() functions and call those.
3662
3663 2005-01-05 17:29  millert
3664
3665         * Makefile.in: Fix dummied out toke.c and gram.c dependencies.
3666
3667 2005-01-05 17:18  millert
3668
3669         * Makefile.in: Rename PARSESRCS -> GENERATED since it is only used
3670           in the clean target Add devdir variable and use it to specify the
3671           path to parser sources
3672
3673 2005-01-05 17:17  millert
3674
3675         * configure: regen
3676
3677 2005-01-05 17:17  millert
3678
3679         * configure.in: Add a devdir variables that defaults to $(srcdir)
3680           and is set to . if --devel was specified.  Allows for proper
3681           dependecies building the parser.
3682
3683 2005-01-05 14:50  millert
3684
3685         * testsudoers.c: Add support for custom passwd/group files.
3686
3687 2005-01-05 14:47  millert
3688
3689         * Makefile.in: Build private copy of pwutil.o for testsudoers with
3690           MYPW defined so it uses our own passwd/group routines.
3691
3692 2005-01-05 14:46  millert
3693
3694         * visudo.c: Remove sudo_*{pw,gr}* stubs and add
3695           sudo_setspent/sudo_endspent stubs instead.  We can now just use
3696           the caching sudo_*{pw,gr}* functions in pwutil.c Add comment
3697           about wanting to call sudo_endpwent/sudo_endgrent in cleanup()
3698
3699 2005-01-05 14:44  millert
3700
3701         * tsgetgrpw.c: Remove caching; we will just use what is in pwutil.c
3702           Use global buffers for passwd/group structs Rename functions from
3703           sudo_* to my_*
3704
3705 2005-01-05 14:43  millert
3706
3707         * logging.c, sudo.c: g/c pwcache_init/pwcache_destroy
3708
3709 2005-01-05 14:42  millert
3710
3711         * sudo.h: Undo last commit and add sudo_setspent and sudo_endspent
3712           instead.
3713
3714 2005-01-05 14:41  millert
3715
3716         * getspwuid.c, pwutil.c: Move all but the shadow stuff from
3717           getspwuid.c to pwutil.c and pwcache_get and pwcache_put as they
3718           are no longer needed.  Also add preprocessor magic to use private
3719           versions of the passwd and group routines if MYPW is defined (for
3720           use by testsudoers).
3721
3722 2005-01-04 22:40  millert
3723
3724         * tsgetgrpw.c: zero out struct passwd/group before filling it in so
3725           if there are fields we don't handle they end up as 0.
3726
3727 2005-01-04 20:10  millert
3728
3729         * logging.c, sudo.c, sudo.h, testsudoers.c, visudo.c: Adapt to
3730           pwutil.c
3731
3732 2005-01-04 20:09  millert
3733
3734         * Makefile.in: Add tsgetgrpw.c and pwutil.c Rename the *OBJ
3735           variables for better readability.
3736
3737 2005-01-04 20:08  millert
3738
3739         * tsgetgrpw.c: Passwd and group lookup routines for testsudoers
3740           that support alternate passwd and group files.
3741
3742 2005-01-04 20:07  millert
3743
3744         * getspwuid.c, pwutil.c: Split off pw/gr cache and dup code into
3745           its own file.  This allows visudo and testsudoers to use the
3746           pw/gr cache too.
3747
3748 2005-01-01 19:31  millert
3749
3750         * parse.c: Print Defaults info in "sudo -l" output and wrap lines
3751           based on the terminal width.
3752
3753 2005-01-01 12:41  millert
3754
3755         * match.c, visudo.c, testsudoers.c: Only check group vector in
3756           usergr_matches() if we are matching the invoking or list user.
3757           Always check the group members, even if there was a group vector.
3758
3759 2004-12-17 17:24  millert
3760
3761         * LICENSE, Makefile.in, fnmatch.3: No longer bundle fnmatch.3
3762
3763 2004-12-17 13:12  millert
3764
3765         * CHANGES, TODO: checkpoint
3766
3767 2004-12-16 14:20  millert
3768
3769         * sudo.c: sort usage
3770
3771 2004-12-16 14:20  millert
3772
3773         * sudo.pod: Sort command line options
3774
3775 2004-12-16 13:33  millert
3776
3777         * def_data.c, def_data.h, def_data.in, defaults.c, logging.c,
3778           sudo.c, sudo.pod, sudoers.pod: Add closefrom sudoers option to
3779           start closing at a point other than 3.  Add closefrom_override
3780           sudoers option and -C sudo flag to allow the user to specify a
3781           different closefrom starting point.
3782
3783 2004-12-16 13:25  millert
3784
3785         * pathnames.h.in: Add _PATH_DEVNULL for those without it.
3786
3787 2004-12-15 22:55  millert
3788
3789         * LICENSE: no more UCB strcasecmp
3790
3791 2004-12-15 22:54  millert
3792
3793         * strcasecmp.c: replace BSD licensed one with version derived from
3794           pdksh
3795
3796 2004-12-09 21:07  millert
3797
3798         * sudo.c: Fix last commit.
3799
3800 2004-12-09 19:26  millert
3801
3802         * sudo.c: Make sure stdin, stdout and stderr are open and dup them
3803           to /dev/null if not.
3804
3805 2004-12-03 13:57  millert
3806
3807         * ldap.c, mon_systrace.c, sudo.c, sudo.h: add sudo_ldap_close
3808
3809 2004-12-03 13:52  millert
3810
3811         * fileops.c, gettime.c, sudo.c, sudo_edit.c, utimes.c, visudo.c:
3812           Use TIME_WITH_SYS_TIME
3813
3814 2004-12-03 13:48  millert
3815
3816         * configure, configure.in, config.h.in: Add TIME_WITH_SYS_TIME_H
3817
3818 2004-12-02 11:18  millert
3819
3820         * env.c: Add missing braces to avoid DYLD_FORCE_FLAT_NAMESPACE
3821           being set unconditionally on darwin.  From Toby Peterson.
3822
3823 2004-12-02 10:40  millert
3824
3825         * getspwuid.c: Check rbinsert() return value.  In the case of faked
3826           up entries there is usually a negative response cached that we
3827           need to overwrite.
3828
3829           In pwfree() don't try to zero out a NULL pw_passwd pointer.
3830
3831 2004-12-02 09:53  millert
3832
3833         * mon_systrace.c: Use the double fork trick to avoid the monitor
3834           process being waited for by the main program run through sudo.
3835
3836 2004-11-29 12:52  millert
3837
3838         * sudo.c: Call initgroups() in -U mode so group matches work
3839           normally.
3840
3841 2004-11-29 12:34  millert
3842
3843         * def_data.h, mkdefaults: Don't print a trailing comma for the last
3844           entry in enum def_tupple
3845
3846 2004-11-28 16:08  millert
3847
3848         * sudoers.cat, sudoers.man.in, sudoers.pod: Mention values when
3849           lecture, listpw and verifypw are used in boolean context.
3850
3851 2004-11-28 16:05  millert
3852
3853         * def_data.c, def_data.in: verifypw when used in a boolean TRUE
3854           context should be "all", not "any".
3855
3856 2004-11-26 14:21  millert
3857
3858         * def_data.in, defaults.c: Allow tuples that can be used as
3859           booleans to be used as boolean TRUE.  In this case the 2nd
3860           possible value of the tuple is used for TRUE.
3861
3862 2004-11-25 12:23  millert
3863
3864         * configure, configure.in: Correct the test for 2-parameter
3865           timespecsub
3866
3867 2004-11-25 12:20  millert
3868
3869         * sudo.h: Add strub struct definitions for passwd, timeval and
3870           timespec
3871
3872 2004-11-25 12:09  millert
3873
3874         * configure, configure.in, config.h.in, sudo_edit.c, visudo.c: Add
3875           check for 2-argument form of timespecsub (FreeBSD and BSD/OS) and
3876           fix a typo in the gettimeofday check.
3877
3878 2004-11-24 16:44  millert
3879
3880         * match.c, testsudoers.c: Deal with user_stat being NULL as it is
3881           for visudo and testsudoers.
3882
3883 2004-11-24 16:31  millert
3884
3885         * parse.c, sudo.c, sudo.cat, sudo.h, sudo.man.in, sudo.pod: Add -U
3886           option to use in conjunction with -l instead of -u.  Add support
3887           for "sudo -l command" to test a specific command.
3888
3889 2004-11-24 16:28  millert
3890
3891         * gram.c, gram.y, sudo.c: Set safe_cmnd after sudoers_lookup() if
3892           it has not been set.  Previously it was set by sudo "ALL" in the
3893           parser but at that point the fully-qualified pathname has not yet
3894           been found.
3895
3896 2004-11-23 18:18  millert
3897
3898         * parse.c, testsudoers.c: Correctly handle multiple privileges per
3899           userspec and runas inheritence.
3900
3901 2004-11-21 14:09  millert
3902
3903         * defaults.c: Zero out sd_un for each entry in sudo_defs_table in
3904           init_defaults.
3905
3906 2004-11-19 18:04  millert
3907
3908         * toke.c, toke.l: make per-command defaults work with sudoedit
3909
3910 2004-11-19 18:00  millert
3911
3912         * ldap.c, parse.c, sudo.c, sudo.h: Remove the FLAG_NOPASS,
3913           FLAG_NOEXEC and FLAG_MONITOR flags.  Instead, we just set the
3914           approriate defaults variable.
3915
3916 2004-11-19 17:09  millert
3917
3918         * sample.sudoers, sudoers.cat, sudoers.man.in, sudoers.pod:
3919           Document per-command Defaults.
3920
3921 2004-11-19 16:35  millert
3922
3923         * defaults.c, defaults.h, gram.c, gram.h, gram.y, mon_systrace.c,
3924           sudo.c, testsudoers.c, toke.c, toke.l, visudo.c: Add support for
3925           command-specific Defaults entries.  E.g.
3926           Defaults!/usr/bin/vi noexec
3927
3928 2004-11-19 15:03  millert
3929
3930         * defaults.c, match.c, parse.c, parse.h, testsudoers.c: Change an
3931           occurence of user_matches() -> runas_matches() missed previously
3932           runas_matches(), host_matches() and cmnd_matches() only really
3933           need to pass in a list of members.  user_matches() still needs to
3934           pass in a passwd struct because of "sudo -l"
3935
3936 2004-11-19 14:46  millert
3937
3938         * parse.c: Check def_authenticate, def_noexec and def_monitor when
3939           setting return flags.  XXX May be better to just set the defaults
3940           directly and get rid of those flags.
3941
3942 2004-11-19 13:39  millert
3943
3944         * alias.c, alloc.c, check.c, closefrom.c, defaults.c, env.c,
3945           error.c, fileops.c, find_path.c, fnmatch.c, getcwd.c,
3946           getprogname.c, getspwuid.c, gettime.c, glob.c, goodpath.c,
3947           gram.c, gram.y, interfaces.c, ldap.c, logging.c, match.c,
3948           mon_systrace.c, parse.c, redblack.c, set_perms.c, snprintf.c,
3949           strcasecmp.c, strerror.c, strlcat.c, strlcpy.c, sudo.c,
3950           sudo_edit.c, sudo_noexec.c, testsudoers.c, tgetpass.c, toke.c,
3951           toke.l, utimes.c, visudo.c, zero_bytes.c, auth/afs.c,
3952           auth/aix_auth.c, auth/bsdauth.c, auth/dce.c, auth/fwtk.c,
3953           auth/kerb4.c, auth/kerb5.c, auth/pam.c, auth/passwd.c,
3954           auth/rfc1938.c, auth/secureware.c, auth/securid.c,
3955           auth/securid5.c, auth/sia.c, auth/sudo_auth.c: Use: #include
3956           <config.h> Not: #include "config.h" That way we get the correct
3957           config.h when build dir != src dir
3958
3959 2004-11-19 13:30  millert
3960
3961         * Makefile.in: Back out part of rev 1.263; fix -I order
3962
3963 2004-11-19 13:12  millert
3964
3965         * toke.c, toke.l: More robust parsing if #include; could be much
3966           better still.
3967
3968 2004-11-19 12:55  millert
3969
3970         * sudo_edit.c, visudo.c: Make arg splitting in visudo and sudoedit
3971           consistent.
3972
3973 2004-11-19 12:35  millert
3974
3975         * Makefile.in, alias.c, gram.c, gram.y, parse.h: Split alias
3976           routines out into their own file.
3977
3978 2004-11-19 12:32  millert
3979
3980         * error.h: __attribute__ is already defined in compat.h
3981
3982 2004-11-19 12:30  millert
3983
3984         * visudo.c: quit() should not be __noreturn__ as it is non-void on
3985           some platforms.
3986
3987 2004-11-19 12:24  millert
3988
3989         * auth/: fwtk.c, rfc1938.c, securid.c, securid5.c: Add local
3990           error/warning functions like err/warn but that call an additional
3991           cleanup routine in the error case.  This means we no longer need
3992           to compile a special version of alloc.o for visudo.
3993
3994 2004-11-19 11:54  millert
3995
3996         * parse.h: Clarify comments about the data structures
3997
3998 2004-11-18 15:28  millert
3999
4000         * visudo.c: Add support for VISUAL and EDITOR containing command
4001           line args.  If env_editor is not set any args in VISUAL and
4002           EDITOR are ignored.  Arguments are also now supported in
4003           def_editor.
4004
4005 2004-11-17 14:25  millert
4006
4007         * parse.h: alias_matches() is no more
4008
4009 2004-11-17 14:09  millert
4010
4011         * CHANGES, TODO: sync
4012
4013 2004-11-17 13:19  millert
4014
4015         * Makefile.in: When regenerating the parser, don't replace gram.h
4016           unless it has changed.
4017
4018 2004-11-17 11:56  millert
4019
4020         * Makefile.in: remove Makefile.binary for distclean
4021
4022 2004-11-17 11:18  millert
4023
4024         * env.c: Preserve KRB5CCNAME in zero_env() and add a paranoia check
4025           to make sure we can't overflow new_env.
4026
4027 2004-11-17 10:33  millert
4028
4029         * sudo_edit.c: paranoia when stripping trailing slashes from
4030           tempdir.
4031
4032 2004-11-16 19:00  millert
4033
4034         * sudo.c: Set user_ngroups to 0 if getgroups() returns an error.
4035
4036 2004-11-16 18:59  millert
4037
4038         * configure, configure.in, config.h.in, sudo.c: Add configure check
4039           for getgroups()
4040
4041 2004-11-16 18:55  millert
4042
4043         * ldap.c: Use supplementary group vector in struct sudo_user.
4044
4045 2004-11-16 18:40  millert
4046
4047         * match.c: Only do string comparisons on the group members if there
4048           is no supplemental group list.
4049
4050 2004-11-16 16:10  millert
4051
4052         * CHANGES, TODO: sync
4053
4054 2004-11-16 15:54  millert
4055
4056         * sudo_edit.c: On Digital UNIX _PATH_VAR_TMP doesn't end with a
4057           trailing slash so chop off any trailing slashes we see and add an
4058           explicit one.
4059
4060 2004-11-16 12:02  millert
4061
4062         * match.c: remove bogus XXX comment
4063
4064 2004-11-16 11:10  millert
4065
4066         * match.c: Get rid of alias_matches and correctly fall through to
4067           the non-alias cases when there is no alias with the specified
4068           name.
4069
4070 2004-11-16 10:47  millert
4071
4072         * getspwuid.c: Cache non-existent passwd/group entries too.
4073
4074 2004-11-16 10:45  millert
4075
4076         * gram.c: regen
4077
4078 2004-11-15 23:32  millert
4079
4080         * getspwuid.c: fix typo
4081
4082 2004-11-15 23:24  millert
4083
4084         * check.c, getspwuid.c, glob.c, ldap.c, logging.c, match.c,
4085           mon_systrace.h, sudo.c, sudo.h, testsudoers.c, visudo.c:
4086           Implement group caching and use the passwd and group caches
4087           throughout.
4088
4089 2004-11-15 14:43  millert
4090
4091         * match.c: Properly negate the return value of alias_matches() when
4092           appropriate.
4093
4094 2004-11-15 14:38  millert
4095
4096         * match.c: Make hostname_matches() return TRUE for a match, else
4097           FALSE like the caller expects.
4098
4099 2004-11-15 13:24  millert
4100
4101         * Makefile.in: Add missing dependencies on gram.h
4102
4103 2004-11-15 13:06  millert
4104
4105         * match.c: Use runas_matches in alias_matches() now that we have
4106           it.
4107
4108 2004-11-15 13:00  millert
4109
4110         * parse.c, parse.h: Expand aliases in "sudo -l" mode
4111
4112 2004-11-15 12:33  millert
4113
4114         * gram.y, match.c: Use ALIAS for the member type when storing an
4115           alias instead of HOSTALIAS/RUNASALIAS/CMNDALIAS/USERALIAS since
4116           match.c relies on the more generic type.  Expand runas_matches
4117           instead of calling user_matches() inside of it since
4118           user_matches() looks up USERALIASes, not RUNASALIASes.
4119
4120 2004-11-15 12:05  millert
4121
4122         * CHANGES, getspwuid.c: Paranoia; zero out pw_passwd before freeing
4123           passwd entry.
4124
4125 2004-11-15 10:53  millert
4126
4127         * LICENSE, Makefile.in, alloc.c, check.c, config.h.in, configure,
4128           configure.in, err.c, error.c, error.h, defaults.c, env.c,
4129           find_path.c, interfaces.c, logging.c, mon_systrace.c, sudo.c,
4130           sudo.h, sudo_edit.c, testsudoers.c, visudo.c, emul/err.h: Add
4131           local error/warning functions like err/warn but that call an
4132           additional cleanup routine in the error case.  This means we no
4133           longer need to compile a special version of alloc.o for visudo.
4134
4135 2004-11-15 09:59  millert
4136
4137         * match.c: Use userpw_matches() to compare usernames, not strcmp(),
4138           since the latter checks for "#uid".
4139
4140 2004-11-15 09:53  millert
4141
4142         * getspwuid.c, mon_systrace.c, mon_systrace.h, sudo.c: Cache passwd
4143           db entries in 2 reb-black trees; one indexed by uid, the other by
4144           user name.  The data returned from the cache should be considered
4145           read-only and is destroyed by sudo_endpwent().
4146
4147 2004-11-15 09:50  millert
4148
4149         * match.c: add cast to uid_t
4150
4151 2004-11-15 09:49  millert
4152
4153         * gram.y: missing free in alias_destroy
4154
4155 2004-11-15 09:49  millert
4156
4157         * redblack.c: Can't use rbapply() for rbdestroy since the
4158           destructor is passed a data pointer, not a node pointer.
4159
4160 2004-11-14 23:06  millert
4161
4162         * getspwuid.c, logging.c, sudo.c, sudo.h: Create and use private
4163           versions of setpwent() and endpwent() that set/end the shadow
4164           password file too.
4165
4166 2004-11-14 22:55  millert
4167
4168         * gram.c, gram.h, gram.y, match.c, parse.h, testsudoers.c,
4169           visudo.c: Store aliases in a red-black tree.
4170
4171 2004-11-14 22:52  millert
4172
4173         * Makefile.in, redblack.c, redblack.h: red-black tree
4174           implementation
4175
4176 2004-11-14 22:37  millert
4177
4178         * visudo.c: Edit all sudoers file if there were unused or undefined
4179           aliases and we are in strict mode.
4180
4181 2004-11-12 11:19  millert
4182
4183         * CHANGES, def_data.c, def_data.h, def_data.in, defaults.c, env.c,
4184           find_path.c, sudoers.cat, sudoers.man.in, sudoers.pod, visudo.c:
4185           Bring back the "secure_path" Defaults option now that Defaults
4186           take effect before the path is searched.
4187
4188 2004-11-11 12:22  millert
4189
4190         * logging.c, parse.c: A user can always list their own entries,
4191           even with -u.  Better error message when failing to list another
4192           user's entries.
4193
4194 2004-11-11 12:12  millert
4195
4196         * parse.c, sudo.c, sudo.h: The syntax to list another user's
4197           entries is now "-u otheruser -l".  Only root or users with sudo
4198           "ALL" may list other user's entries.
4199
4200 2004-11-11 11:30  millert
4201
4202         * sudo.cat, sudo.man.in, sudo.pod: Update env variable info in
4203           SECURITY NOTES
4204
4205 2004-11-11 11:25  millert
4206
4207         * env.c: strip CDPATH too
4208
4209 2004-11-11 11:20  millert
4210
4211         * env.c: strip exported bash functions from the environment.
4212
4213 2004-10-27 12:16  millert
4214
4215         * sudo.c: Only reset sudo_user.pw based on SUDO_USER environment
4216           variables for real commands and sudoedit.  This avoids a
4217           confusing message when a user tries "sudo -l" or "sudo -v" and is
4218           denied.
4219
4220 2004-10-27 12:06  millert
4221
4222         * gram.c, gram.y, parse.h: Extend LIST_APPEND to deal with
4223           appending lists too
4224
4225 2004-10-26 18:39  millert
4226
4227         * logging.c: Convert some bitwise AND to ISSET
4228
4229 2004-10-26 18:29  millert
4230
4231         * lex.yy.c, toke.c: toke.c replaces lex.yy.c
4232
4233 2004-10-26 18:29  millert
4234
4235         * CHANGES, TODO: sync
4236
4237 2004-10-26 18:28  millert
4238
4239         * BUGS: new parser fixes most of the outstanding bugs
4240
4241 2004-10-26 18:27  millert
4242
4243         * configure: regen
4244
4245 2004-10-26 18:26  millert
4246
4247         * visudo.c: Rework for the new parser.  Now checks for unused
4248           aliases in sudoers.
4249
4250 2004-10-26 18:25  millert
4251
4252         * testsudoers.c: Rewrite for the new parser.  Now supports a -d
4253           flag (dump) and adds a -h flag (host).  It now defaults to the
4254           local hostname unless otherwise specified.
4255
4256 2004-10-26 18:23  millert
4257
4258         * sudo.h: Add new prototypes.  Remove NOMATCH/UNSPEC (now in
4259           parse.h)
4260
4261 2004-10-26 18:22  millert
4262
4263         * sudo.c: Update for new parse.  We now call find_path() *after* we
4264           have updated the global defaults based on sudoers.  Also adds
4265           support for listing other user's privs if you are root.
4266
4267 2004-10-26 18:21  millert
4268
4269         * mon_systrace.c: Working LDAP support; also remove a now-unneeded
4270           rewind().
4271
4272 2004-10-26 18:20  millert
4273
4274         * logging.c, logging.h: Add NO_STDERR flag.
4275
4276 2004-10-26 18:19  millert
4277
4278         * ldap.c: Split sudo_ldap_check() into three pieces:
4279           sudo_ldap_open(), udo_ldap_update_defaults() and
4280           sudo_ldap_check().  This allows us to connecto to LDAP, apply the
4281           default options, find the command in the user's path, and then
4282           check whether the user is allowed to run it.  The important thing
4283           here is that the default runas user may be specified as a default
4284           option and that needs to be set before we search for the command.
4285
4286 2004-10-26 18:17  millert
4287
4288         * ldap.c: Add casts to unsigned char for isspace() to quiet a gcc
4289           warning.
4290
4291 2004-10-26 18:16  millert
4292
4293         * defaults.h: Add prototype for update_defaults()
4294
4295 2004-10-26 18:16  millert
4296
4297         * defaults.c: Don't warn about line numbers now that we operate on
4298           a set of data structures (or LDAP) and not a file.
4299
4300 2004-10-26 18:15  millert
4301
4302         * config.h.in: No long use lsearch()
4303
4304 2004-10-26 18:14  millert
4305
4306         * Makefile.in: Update for new and changed file names.
4307
4308 2004-10-26 18:14  millert
4309
4310         * LICENSE: no more BSD lsearch.c
4311
4312 2004-10-26 18:14  millert
4313
4314         * match.c: foo_matches() routines now live in match.c Added
4315           user_matches(), runas_matches(), host_matches(), cmnd_matches()
4316           and alias_matches() that operate on the parsed sudoers file.
4317
4318 2004-10-26 18:12  millert
4319
4320         * parse.lex, toke.l: Move parse.lex -> toke.l Rename buffer_frob()
4321           -> switch_buffer() WORD no longer needs to exclude '@' kill
4322           yywrap()
4323
4324 2004-10-26 18:10  millert
4325
4326         * gram.c, gram.h, gram.y, parse.c, parse.h, parse.yacc, sudo.tab.h:
4327           Rewritten parser that converts sudoers into a set of data
4328           structures.  This eliminates ordering issues and makes it
4329           possible to apply sudoers Defaults entries before searching for
4330           the command.
4331
4332 2004-10-26 18:09  millert
4333
4334         * configure.in, lsearch.c, emul/search.h: We won't be using
4335           lsearch() any longer.
4336
4337 2004-10-26 18:07  millert
4338
4339         * ldap.c: sudo should not send mail if someone who runs 'sudo -l'
4340           has no entry.
4341
4342 2004-10-26 16:09  millert
4343
4344         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in, visudo.cat,
4345           visudo.man.in: regen
4346
4347 2004-10-26 16:09  millert
4348
4349         * visudo.pod: Update warnings to match new visudo
4350
4351 2004-10-26 16:08  millert
4352
4353         * sudoers.pod: The new parser doesn't have the old ordering
4354           constraints.
4355
4356 2004-10-26 16:08  millert
4357
4358         * sudo.pod: Document that -l now takes an optional username
4359           argument
4360
4361 2004-10-25 13:44  millert
4362
4363         * RUNSON: AIX 5.2.0.0 works
4364
4365 2004-10-25 13:38  millert
4366
4367         * ldap.c: If LDAP_OPT_SUCCESS is not defined, use LDAP_SUCCESS
4368           instead.  Fixes a compilation problem with Solaris 9's native
4369           LDAP.
4370
4371           Set FLAG_MONITOR when needed.
4372
4373 2004-10-23 13:32  millert
4374
4375         * mon_systrace.c: Call sudo_goodpath() *after* changing the cwd to
4376           match the traced process.  Fixes relative paths.
4377
4378 2004-10-21 12:31  millert
4379
4380         * testsudoers.c: Kill set_perms() stub--it is no longer needed.
4381
4382 2004-10-13 12:52  millert
4383
4384         * sudoers.cat, sudoers.man.in, sudoers.pod: stay_setuid now
4385           requires set_reuid() or setresuid()
4386
4387 2004-10-13 12:46  millert
4388
4389         * INSTALL, PORTING, TROUBLESHOOTING, config.h.in, configure,
4390           configure.in, set_perms.c, sudo.c, sudo.h: Kill use of POSIX
4391           saved uids; they aren't worth bothering with.
4392
4393 2004-10-07 16:23  millert
4394
4395         * glob.c: remove call to issetugid()
4396
4397 2004-10-07 14:57  millert
4398
4399         * sudoers.cat, sudoers.man.in, sudoers.pod: Remove warning about
4400           wildcards.  Now that we use glob() the bug is fixed.
4401
4402 2004-10-07 14:52  millert
4403
4404         * parse.c: Use glob(3) instead of fnmatch(3) for matching pathnames
4405           and stat each result that matches the basename of the user's
4406           command.  This makes "cd /usr/bin ; sudo ./blah" work when
4407           sudoers allows /usr/bin/blah.  Fixes bug #143.
4408
4409 2004-10-07 14:27  millert
4410
4411         * configure, configure.in, config.h.in: Define HAVE_EXTENDED_GLOB
4412           for extended glob (GLOB_TILDE and GLOB_BRACE)
4413
4414 2004-10-07 12:59  millert
4415
4416         * config.h.in, configure, configure.in: Check for a glob() that
4417           supports GLOB_BRACE and GLOB_TILDE
4418
4419 2004-10-07 12:51  millert
4420
4421         * LICENSE: reference glob
4422
4423 2004-10-07 12:50  millert
4424
4425         * glob.c, emul/glob.h: 4.4BSD glob(3) with fixes from OpenBSD and
4426           some unneeded extensions removed.
4427
4428 2004-10-05 17:26  millert
4429
4430         * mon_systrace.c: Just return if STRIOCINJECT or STRIOCREPLACE
4431           fail.  It probably means we are out of space in the stack gap...
4432
4433 2004-10-05 17:20  millert
4434
4435         * CHANGES: sync
4436
4437 2004-10-05 16:53  millert
4438
4439         * mon_systrace.c: Take a stab at ldap sudoers support here.
4440
4441 2004-10-05 15:13  millert
4442
4443         * mon_systrace.c, mon_systrace.h: Detach from tracee on SIGHUP,
4444           SIGINT and SIGTERM.  Now "sudo reboot" doesn't cause reboot to
4445           inadvertanly kill itself.
4446
4447 2004-10-05 14:21  millert
4448
4449         * mon_systrace.c: put "monitor" in the proctitle, not "systrace"
4450
4451 2004-10-05 14:15  millert
4452
4453         * mon_systrace.c: When modifying the environment, don't replace
4454           envp when we can get away with just rewriting pointers in the
4455           traced process.
4456
4457 2004-10-05 13:46  millert
4458
4459         * mon_systrace.c, mon_systrace.h: Add environment updating via
4460           STRIOCINJECT (if available).
4461
4462 2004-10-05 10:22  millert
4463
4464         * sudoers.cat, sudoers.man.in: regen
4465
4466 2004-10-04 16:15  millert
4467
4468         * lex.yy.c: regen
4469
4470 2004-10-04 16:15  millert
4471
4472         * parse.lex: Fix bug introduced in unput() removal; want yyless(0)
4473           not yyless(1)
4474
4475 2004-10-04 12:09  millert
4476
4477         * mon_systrace.c: Include file is now mon_systrace.h
4478
4479 2004-10-04 12:07  millert
4480
4481         * Makefile.in, configure, configure.in, def_data.c, def_data.h,
4482           def_data.in, lex.yy.c, parse.c, parse.h, parse.lex, parse.yacc,
4483           sudo.c, sudo.h, sudo.tab.h, sudoers.pod: No longer call it
4484           tracing, it is now "monitoring" which should be more a obvious
4485           name to non-hackers.
4486
4487 2004-10-01 15:06  millert
4488
4489         * mon_systrace.c, mon_systrace.h: Fix some XXX
4490
4491 2004-10-01 14:30  millert
4492
4493         * mon_systrace.c, mon_systrace.h: No need to include syscall.h, use
4494           1024 as the max # of entries (the max that systrace(4) allows).
4495
4496           Only need to use SYSTR_POLICY_ASSIGN once
4497
4498           Change check_syscall() -> find_handler() and have it return the
4499           handler instead of just running it.  We need this since handler
4500           now have two parts: one part that generates and answer and
4501           another that gets called after the answer is accepted (to do
4502           logging).
4503
4504           Add some missing check_exec for emul execv
4505
4506 2004-10-01 10:58  millert
4507
4508         * sample.pam, sample.sudoers, sample.syslog.conf, sudoers: Add
4509           $Sudo: ChangeLog,v 1.19 2008/12/19 17:40:39 millert Exp $ tags.
4510
4511 2004-10-01 10:47  millert
4512
4513         * config.h.in: Add missing HAVE_LINUX_SYSTRACE_H
4514
4515 2004-09-30 20:46  millert
4516
4517         * Makefile.in: add trace_systrace.o dependency
4518
4519 2004-09-30 19:00  millert
4520
4521         * configure, configure.in: Also look for systrace.h in
4522           /usr/include/linux
4523
4524 2004-09-30 18:27  millert
4525
4526         * mon_systrace.c, mon_systrace.h: Move all struct defs and
4527           prototypes into trace_systrace.h and mark all but
4528           systace_attach() static.
4529
4530 2004-09-30 18:14  millert
4531
4532         * mon_systrace.c, mon_systrace.h: Add support for tracing
4533           emulations.  At the moment, all emulations are compiled in.  It
4534           might make sense to #ifdef them in the future, though this
4535           impeeds readability.
4536
4537 2004-09-30 17:07  millert
4538
4539         * Makefile.in, configure.in, configure: rename systrace.c ->
4540           trace_systrace.c
4541
4542 2004-09-30 15:58  millert
4543
4544         * parse.yacc: Allow this to build with a K&R compiler again
4545
4546 2004-09-30 13:58  millert
4547
4548         * TODO: sync
4549
4550 2004-09-30 13:55  millert
4551
4552         * sudo.c, compat.h, visudo.c: Use __attribute__((__noreturn__))
4553
4554 2004-09-30 13:44  millert
4555
4556         * visudo.c: Exit() takes a negative value to indicate it was not
4557           called via signal.
4558
4559 2004-09-30 13:25  millert
4560
4561         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in, visudo.cat,
4562           visudo.man.in: regen
4563
4564 2004-09-30 13:22  millert
4565
4566         * Makefile.in, visudo.c: Define Err() and Errx() that are like
4567           err() and errx() but call Exit() instead of exit().  Build
4568           private copy of alloc.o for visudo that calls Err() and Errx().
4569
4570 2004-09-29 15:22  millert
4571
4572         * lex.yy.c: regen
4573
4574 2004-09-29 15:22  millert
4575
4576         * CHANGES: sync
4577
4578 2004-09-29 14:41  millert
4579
4580         * visudo.c: Overhaul visudo for editing multiple files:  o visudo
4581           has been broken out into functions (more work needed here)  o
4582           each file is now edited before sudoers is re-parsed  o if a
4583           #include line is added that file will be edited too
4584
4585           TODO:  o cleanup temp files when exiting via err() or errx()  o
4586           continue breaking things out into separate functions
4587
4588 2004-09-29 14:36  millert
4589
4590         * parse.lex, sudo.c, sudo.h, testsudoers.c, visudo.c: Add keepopen
4591           arg to open_sudoers that open_sudoers can use to indicate to the
4592           caller that the fd should not be closed when it is done with it.
4593           To be used by visudo to keep locked fds from being closed
4594           prematurely (and thus losing the lock).
4595
4596 2004-09-29 14:33  millert
4597
4598         * parse.yacc, sudo.c: Add errorfile global that contains the name
4599           of the file that caused the error.
4600
4601 2004-09-29 14:30  millert
4602
4603         * parse.lex: return COMMENT to yacc grammar for a #include line
4604
4605 2004-09-29 14:29  millert
4606
4607         * parse.lex: Remove us of unput() in favor of yyless() which is
4608           cheaper.
4609
4610 2004-09-29 14:28  millert
4611
4612         * parse.yacc: Allow an empty sudoers file.
4613
4614 2004-09-28 16:50  millert
4615
4616         * mon_systrace.c: Rewind sudoers_fp now that sudoers_lookup()
4617           doesn't do it for us.
4618
4619 2004-09-28 14:37  millert
4620
4621         * lex.yy.c: regen
4622
4623 2004-09-28 14:36  millert
4624
4625         * visudo.c: Do signal setup before calling edit_sudoers().  Don't
4626           shadow the "quiet" global.
4627
4628 2004-09-28 14:33  millert
4629
4630         * visudo.c: If a sudoers file includes other files, edit those too.
4631           Does not yes deal with creating the new includes files itself.
4632
4633 2004-09-28 14:31  millert
4634
4635         * testsudoers.c: init_parser now takes a path
4636
4637 2004-09-28 14:31  millert
4638
4639         * parse.c, parse.h, parse.lex, parse.yacc: More scaffolding for
4640           dealing with multiple sudoers files:  o init_parser() now takes a
4641           path used to populate the sudoers global  o the sudoers global is
4642           used to print the correct file in yyerror()  o when switching to
4643           a new sudoers file, perserve old file name and line number
4644
4645 2004-09-28 14:29  millert
4646
4647         * Makefile.in, pathnames.h.in: Kill _PATH_SUDOERS_TMP; it is not
4648           meaningful now that we can have multiple sudoers files.
4649
4650 2004-09-28 13:52  millert
4651
4652         * parse.c, sudo.c: Rewind sudoers_fp in open_sudoers() instead of
4653           sudoers_lookup() so we start at the right file position when
4654           reading include files.
4655
4656 2004-09-27 21:04  millert
4657
4658         * sudoers.pod: document #include
4659
4660 2004-09-27 20:47  millert
4661
4662         * lex.yy.c: regen
4663
4664 2004-09-27 20:47  millert
4665
4666         * parse.lex: Add max depth of 128 for the include stack to avoid
4667           loops.
4668
4669           Since yyerror() doesn't stop parsing, pass return values back to
4670           yylex and call yyterminate() on error.
4671
4672 2004-09-27 14:06  millert
4673
4674         * sudoers.pod: document tracing
4675
4676 2004-09-27 14:05  millert
4677
4678         * sudo.pod: Mention PREVENTING SHELL ESCAPES section of sudoers man
4679           page
4680
4681 2004-09-27 12:08  millert
4682
4683         * lex.yy.c: regen
4684
4685 2004-09-27 12:03  millert
4686
4687         * parse.lex: Add support for #include in sudoers (visudo support
4688           TBD)
4689
4690 2004-09-27 12:02  millert
4691
4692         * parse.yacc: make yyerror()'s argument const
4693
4694 2004-09-27 12:02  millert
4695
4696         * testsudoers.c, visudo.c: Add open_sudoers() stubs.
4697
4698 2004-09-27 12:01  millert
4699
4700         * sudo.c, sudo.h: Rename check_sudoers() open_sudoers() and make it
4701           return a FILE *
4702
4703 2004-09-26 12:35  millert
4704
4705         * BUGS, INSTALL, INSTALL.binary, Makefile.in, README, configure.in,
4706           version.h: Crank version
4707
4708 2004-09-26 12:33  millert
4709
4710         * Makefile.in, sudo.psf: Better HP-UX depot construction
4711
4712 2004-09-25 17:08  millert
4713
4714         * mon_systrace.c: o Made children global so check_exec() can lookup
4715           a child.  o Replaced uid in struct childinfo with struct passwd *
4716           (for runas) o new_child() now takes a parent pid so the runas
4717           info can be inherited o Added find_child() to lookup a child by
4718           its pid o update_child() now fills in a struct passwd o Converted
4719           the big if/else mess in set_policy to a switch o Syscalls that
4720           change uid are now "ask" so we get SYSTR_MSG_UGID events
4721
4722 2004-09-25 17:01  millert
4723
4724         * getspwuid.c: Add flag to sudo_pwdup that indicates whether or not
4725           to lookup the shadow password.  Will be used to a struct passwd
4726           that has the shadow password already filled in.
4727
4728 2004-09-25 16:58  millert
4729
4730         * mon_systrace.c: add missing increment of addr in read_string()
4731
4732 2004-09-25 16:15  millert
4733
4734         * mon_systrace.c: Remove bogus call to update_child() and some
4735           cosmetic fixes
4736
4737 2004-09-25 16:11  millert
4738
4739         * mon_systrace.c: Don't leak /dev/systrace fd to tracee Make
4740           initialized global for simplicity If STRIOCATTACH returns EBUSY
4741           we are already being traced Check for user_args == NULL in
4742           setproctitle() call Add missing calls to STRIOCANSWER
4743
4744 2004-09-25 13:15  millert
4745
4746         * sudo.c: g/c sudo_pwdup proto
4747
4748 2004-09-24 20:21  millert
4749
4750         * Makefile.in, sudo.psf: Add target for building a depot file
4751
4752 2004-09-24 20:07  millert
4753
4754         * mon_systrace.c: trim includes
4755
4756 2004-09-24 14:11  millert
4757
4758         * lex.yy.c, sudo.tab.h: regen
4759
4760 2004-09-24 14:10  millert
4761
4762         * INSTALL: document --with-systrace
4763
4764 2004-09-24 14:10  millert
4765
4766         * config.h.in, configure, configure.in: Add check for setproctitle
4767
4768 2004-09-24 14:09  millert
4769
4770         * mon_systrace.c: pass struct str_msg_ask in to syscall checker so
4771           it can set the error code
4772
4773 2004-09-24 13:30  millert
4774
4775         * mon_systrace.c: systrace(4) support for sudo.  On systems with
4776           the systrace(4) kernel facility (OpenBSD, NetBSD, Linux w/
4777           patches) sudo can intercept exec calls and check the exec args
4778           against the sudoers file.  In other words, sudo can now control
4779           subcommands and shell escapes.
4780
4781 2004-09-24 13:17  millert
4782
4783         * sudo.c, sudo.h: Call systrace_attach() if FLAG_TRACE is set.
4784
4785 2004-09-24 13:15  millert
4786
4787         * parse.c, parse.h, parse.lex, parse.yacc, sudo.h: Add trace
4788           Defaults option and TRACE/NOTRACE tags and set FLAG_TRACE
4789
4790 2004-09-24 13:13  millert
4791
4792         * parse.c, sudo.c: Don't close sudoers_fp, keep it open and set
4793           close on exec flag instead.
4794
4795 2004-09-24 13:11  millert
4796
4797         * def_data.c, def_data.h, def_data.in: Add trace option
4798
4799 2004-09-23 20:24  millert
4800
4801         * Makefile.in: Add systrace
4802
4803 2004-09-23 20:23  millert
4804
4805         * INSTALL: SunOS /bin/sh blows up with configure
4806
4807 2004-09-23 20:23  millert
4808
4809         * configure, configure.in: Include sys/param.h before systrace.h
4810
4811 2004-09-23 20:15  millert
4812
4813         * configure: regen
4814
4815 2004-09-23 20:15  millert
4816
4817         * pathnames.h.in: _PATH_DEV_SYSTRACE
4818
4819 2004-09-23 20:14  millert
4820
4821         * configure.in: line up options in --help
4822
4823 2004-09-23 20:11  millert
4824
4825         * config.h.in, configure.in: Add --with-systrace
4826
4827 2004-09-23 13:35  millert
4828
4829         * configure: regen
4830
4831 2004-09-23 13:35  millert
4832
4833         * aclocal.m4, configure.in: make this work with autoconf-2.59
4834
4835 2004-09-16 12:58  millert
4836
4837         * sudo_edit.c: Simplify logic around open & stat of files and do
4838           sanity on edited file even if we lack fstat (still racable but
4839           worth doing).
4840
4841 2004-09-15 18:47  millert
4842
4843         * HISTORY: Add support url
4844
4845 2004-09-15 16:11  millert
4846
4847         * Makefile.in: versino 1.6.8p1
4848
4849 2004-09-15 15:20  millert
4850
4851         * CHANGES: more changes for 1.6.8p1
4852
4853 2004-09-15 15:18  millert
4854
4855         * version.h: 1.6.8p1
4856
4857 2004-09-15 12:16  millert
4858
4859         * CHANGES, sudo_edit.c: Add sanity check so we don't try to edit
4860           something other than a regular file.
4861
4862 2004-09-14 20:55  aaron
4863
4864         * CHANGES: sync
4865
4866 2004-09-14 20:21  aaron
4867
4868         * INSTALL: document --with-ldap-conf-file
4869
4870 2004-09-14 17:43  millert
4871
4872         * CHANGES, ins_csops.h: political correctness strikes again
4873
4874 2004-09-14 15:09  millert
4875
4876         * RUNSON: sync
4877
4878 2004-09-12 19:50  millert
4879
4880         * Makefile.binary.in, Makefile.in: Install sudoedit man link
4881
4882 2004-09-12 14:25  millert
4883
4884         * INSTALL: Update PAM note and mention where HP-UX users can
4885           download gcc binaries.
4886
4887 2004-09-12 12:08  millert
4888
4889         * Makefile.in: libtool wants to install stuff from .libs so fake
4890           one up for binary installations.
4891
4892 2004-09-12 11:53  millert
4893
4894         * Makefile.binary.in: rm -f old sudoedit link instead of using ln
4895           -f set LIBTOOL correctly
4896
4897 2004-09-12 11:53  millert
4898
4899         * Makefile.in: Deal with "uname -m" having slashes in it rm -f old
4900           sudoedit link instead of using ln -f
4901
4902 2004-09-12 10:22  millert
4903
4904         * Makefile.binary, Makefile.binary.in: Makefile.binary ->
4905           Makefile.binary.in for config.status substitution Add support for
4906           installing noexec bits
4907
4908 2004-09-12 10:21  millert
4909
4910         * Makefile.in: Copy noexec bits into binary dists too No longer use
4911           my old arch script for making binary dists
4912
4913 2004-09-12 09:36  millert
4914
4915         * Makefile.binary: Install sudoedit link.
4916
4917 2004-09-11 12:25  millert
4918
4919         * emul/utime.h: avoid __P so there is no need for compat.h to be
4920           included
4921
4922 2004-09-11 12:24  millert
4923
4924         * utimes.c: Don't use HAVE_UTIME_H before including config.h.
4925
4926 2004-09-10 12:31  millert
4927
4928         * compat.h: Fix Solatis futimes macro
4929
4930 2004-09-09 11:02  millert
4931
4932         * sudo_edit.c: Rename ots -> omtim for improved readability.
4933
4934 2004-09-08 14:38  millert
4935
4936         * sudo_edit.c: Redo changes in revision 1.7.  Don't really need to
4937           keep the temp file open; re-opening it with the invoking user's
4938           euid is sufficient.
4939
4940 2004-09-08 14:36  millert
4941
4942         * CHANGES: sync
4943
4944 2004-09-08 14:35  millert
4945
4946         * sudo.cat, sudo.man.in: regen
4947
4948 2004-09-08 14:34  millert
4949
4950         * sudo.pod: back out revision 1.70; it is no long applicable
4951
4952 2004-09-08 11:57  millert
4953
4954         * env.c: Let the loader initialize nep
4955
4956 2004-09-08 11:49  millert
4957
4958         * configure, configure.in, config.h.in: Removed unneed check for
4959           fchown Add check for gettimeofday Move autoheader template stuff
4960           into separate AH_TEMPLATE lines
4961
4962 2004-09-08 11:48  millert
4963
4964         * check.c, compat.h, fileops.c, sudo.h, sudo_edit.c, visudo.c: Use
4965           timespec throughout.
4966
4967 2004-09-08 11:47  millert
4968
4969         * Makefile.in: gettime.[co]
4970
4971 2004-09-08 11:47  millert
4972
4973         * gettime.c: function to return the current time in a struct
4974           timespec
4975
4976 2004-09-08 10:51  millert
4977
4978         * utimes.c: Not a darpa-sponsored file.
4979
4980 2004-09-07 16:36  millert
4981
4982         * compat.h, config.h.in, configure, configure.in: Add a check for
4983           struct timespec and provide it for those without.
4984
4985 2004-09-07 15:56  millert
4986
4987         * config.h.in, configure, configure.in, sudo_edit.c: Add checks for
4988           st_mtim and st_mtimespec and add macros for pulling the mtime sec
4989           and nsec out of struct stat.  These are used in sudo_edit() to
4990           better tell whether or not the file has changed.
4991
4992 2004-09-07 15:55  millert
4993
4994         * check.c, fileops.c, sudo.h, sudo_edit.c, visudo.c: Add an extra
4995           param to touch() for nsec
4996
4997 2004-09-07 14:06  millert
4998
4999         * sudo_edit.c: Call mkstemp() as the in invoking user so we don't
5000           have to chown the file later.  Only touch() the temp file if we
5001           can do it via the file descriptor.  Don't check for modification
5002           of the temp file if we lack fstat().  Catch errors read()ing the
5003           temp file.
5004
5005 2004-09-07 14:04  millert
5006
5007         * fileops.c: If path is NULL and fd == -1 return -1.
5008
5009 2004-09-07 13:31  millert
5010
5011         * sudo_edit.c: closefrom() is overkill, the only extra fds are the
5012           ones we opened so just close those in the child.
5013
5014 2004-09-07 13:14  millert
5015
5016         * Makefile.in, aclocal.m4, check.c, compat.h, config.h.in,
5017           configure, configure.in, fileops.c, sudo.h, sudo_edit.c, utime.c,
5018           utimes.c, visudo.c: Use utimes() and futimes() instead of utime()
5019           in touch(), emulating as needed.  Not all systems are able to
5020           support setting the times of an fd so touch() takes both an fd
5021           and a file name as arguments.
5022
5023 2004-09-06 21:12  aaron
5024
5025         * env.c: Rare SEGV
5026
5027 2004-09-06 16:46  millert
5028
5029         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in, visudo.cat,
5030           visudo.man.in: regen
5031
5032 2004-09-06 16:45  millert
5033
5034         * sudo.pod, sudoers.pod, visudo.pod: Add SUPPORT section and
5035           re-order some of the sections to match the order we use in
5036           OpenBSD.
5037
5038 2004-09-06 15:05  aaron
5039
5040         * env.c: Openldap ~/.ldaprc fix
5041
5042 2004-09-06 12:18  millert
5043
5044         * sudo.pod: Talk about how the editor must write its changes to the
5045           original file and not just use rename(2).
5046
5047 2004-09-06 12:12  millert
5048
5049         * CHANGES: sync
5050
5051 2004-09-06 12:11  millert
5052
5053         * sudo_edit.c: Keep the temp file open instead of re-opening after
5054           the editor has exited.
5055
5056 2004-09-06 12:10  millert
5057
5058         * sample.pam: Update for current redhat/fedora core.
5059
5060 2004-09-02 21:56  aaron
5061
5062         * README.LDAP: tls_ examples
5063
5064 2004-09-02 00:03  aaron
5065
5066         * ldap.c: config tls_* options
5067
5068 2004-08-29 11:39  millert
5069
5070         * configure, configure.in: No need for -lcrypt when using pam.
5071
5072 2004-08-26 23:57  millert
5073
5074         * configure: regen
5075
5076 2004-08-26 23:44  aaron
5077
5078         * configure.in, ldap.c, pathnames.h.in: Allow --with-ldap-conf-file
5079           option to override LDAP_CONF
5080
5081 2004-08-26 22:08  aaron
5082
5083         * ldap.c: cleanup debug message
5084
5085 2004-08-26 19:29  aaron
5086
5087         * README.LDAP: more config info
5088
5089 2004-08-24 14:01  millert
5090
5091         * TODO, find_path.c, goodpath.c, parse.c, sudo.c, sudo.h, visudo.c:
5092           Add cmnd_base to struct sudo_user and set it in init_vars().  Add
5093           cmnd_stat to struct sudo_user and set it in sudo_goodpath().  No
5094           longer use gross statics in command_matches().  Also rename some
5095           variables for improved clarity.
5096
5097 2004-08-21 14:33  millert
5098
5099         * INSTALL: document HP's crippled compiler deficiency.
5100
5101 2004-08-21 14:25  millert
5102
5103         * INSTALL: Fix some thinkos in --with-editor and --with-env-editor
5104           descriptions.  Noticed by Norihiko Murase.
5105
5106 2004-08-21 14:20  millert
5107
5108         * configure, configure.in: --with-noexec takes an optional PATH
5109           argument.
5110
5111 2004-08-21 14:20  millert
5112
5113         * INSTALL: document --with-noexec
5114
5115 2004-08-17 16:21  millert
5116
5117         * RUNSON, TODO: sync
5118
5119 2004-08-17 15:11  millert
5120
5121         * sudo_edit.c: Better warning message when sudoedit is unable to
5122           write to the destination file.
5123
5124 2004-08-17 14:53  millert
5125
5126         * sudo.cat, sudo.man.in: regen
5127
5128 2004-08-17 14:53  millert
5129
5130         * sudo.pod: Don't italicize the string "sudoedit"
5131
5132 2004-08-16 18:45  millert
5133
5134         * HISTORY: Mention GratiSoft.
5135
5136 2004-08-11 14:29  millert
5137
5138         * parse.yacc: Reset used_runas to FALSE when re-intializing the
5139           parser.
5140
5141 2004-08-09 19:04  millert
5142
5143         * config.guess: Correct OpenBSD mips support
5144
5145 2004-08-09 17:28  millert
5146
5147         * config.guess: Add OpenBSD/mips
5148
5149 2004-08-06 23:43  aaron
5150
5151         * README.LDAP: More behavior notes
5152
5153 2004-08-06 23:36  aaron
5154
5155         * README.LDAP: Updates on current behavior
5156
5157 2004-08-06 19:56  millert
5158
5159         * sudo.pod, sudoers.pod: =back does not take an indentlevel (makes
5160           no difference to formatted files).
5161
5162 2004-08-06 19:48  millert
5163
5164         * CHANGES: new
5165
5166 2004-08-06 19:42  millert
5167
5168         * sudo.c: Consistency.  Use same error for bad -u #uid when
5169           targetpw is set as we do when a bad -u username is specified.
5170
5171 2004-08-06 19:33  millert
5172
5173         * TODO: Add checksum idea from Steve Mancini
5174
5175 2004-08-06 19:32  millert
5176
5177         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in: regen
5178
5179 2004-08-06 19:31  millert
5180
5181         * sudo.pod, sudoers.pod: Document the restriction on uids specified
5182           via -u when targetpw is set.
5183
5184 2004-08-06 19:24  millert
5185
5186         * sudo.c: Error out when targetpw is enabled and sudo is run with
5187           -u #uid but #uid does not exist in the passwd database.  We can't
5188           do target authentication when the target is not in passwd!
5189
5190 2004-08-05 21:16  millert
5191
5192         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in: regen
5193
5194 2004-08-05 21:14  millert
5195
5196         * TODO: Some more todo for the next release.
5197
5198 2004-08-05 21:13  millert
5199
5200         * INSTALL: Make it clear that PAM should be used for DCE support
5201           when possible.
5202
5203 2004-08-05 21:13  millert
5204
5205         * sudoers.pod: o Document problems with wildcards and relative
5206           paths.  o Make the order requirements more prominent.  o Change a
5207           "set" to "reset" for clarity.
5208
5209 2004-08-05 14:29  millert
5210
5211         * sudo.pod: Mention --with-secure-path, not SECURE_PATH.
5212
5213 2004-08-02 22:34  aaron
5214
5215         * ldap.c: reflect changes to parse.c
5216
5217 2004-08-02 14:44  millert
5218
5219         * parse.c, parse.h, parse.yacc, testsudoers.c, visudo.c: Don't pass
5220           user_cmnd and user_args to command_matches(), just use the
5221           globals there.  Since we keep state with statics anyway it is
5222           misleading to pretend that passing in different cmnd and
5223           cmnd_args will work.
5224
5225 2004-08-02 14:40  millert
5226
5227         * parse.c: Fix a bug introduced in rev. 1.149.  When checking for
5228           pseudo-commands check for a '/' anywhere in cmnd, not just the
5229           first character.
5230
5231 2004-07-30 23:07  aaron
5232
5233         * sudo.man.in, sudo.pod: Clarification thanks to Olivier Blin
5234           <oblin@mandrakesoft.com>
5235
5236 2004-07-30 22:41  aaron
5237
5238         * sudoers.man.in, sudoers.pod: Add ignore_local_sudoers
5239
5240 2004-07-30 22:06  aaron
5241
5242         * README.LDAP: Sun One schema definition by
5243           Andreas.Bussjaeger@t-systems.com and janth@moldung.no
5244
5245 2004-07-29 11:57  millert
5246
5247         * CHANGES: typo
5248
5249 2004-07-23 16:44  millert
5250
5251         * CHANGES: sync
5252
5253 2004-07-23 16:43  millert
5254
5255         * parse.c: Parse sudoers file as PERM_RUNAS not PERM_ROOT and
5256           remove a useless PERM_SUDOERS.  Restore to PERM_ROOT upon exit of
5257           the parse.
5258
5259 2004-07-08 10:20  millert
5260
5261         * CHANGES: PAM change
5262
5263 2004-07-07 21:04  aaron
5264
5265         * ldap.c: Better debugging of ALL command
5266
5267 2004-07-07 20:15  millert
5268
5269         * parse.c: When matching for "sudoedit" in sudoers check both the
5270           command the user typed *and* the command that is listed in the
5271           sudoers entry.
5272
5273 2004-07-04 19:59  aaron
5274
5275         * ldap.c: Added !command feature
5276
5277 2004-06-28 10:51  millert
5278
5279         * auth/pam.c: Use pam_acct_mgmt() to check for disabled accounts;
5280           Brian Farrell
5281
5282 2004-06-10 23:11  millert
5283
5284         * LICENSE: License is ISC-style, not BSD-style
5285
5286 2004-06-10 20:58  millert
5287
5288         * CHANGES: sync
5289
5290 2004-06-10 16:54  millert
5291
5292         * sudo.man.in, sudo.cat: regen
5293
5294 2004-06-10 16:53  millert
5295
5296         * sudo.pod: o Update some out of date bits to reality o Change the
5297           shell promt in examples to bourne-shell style o Clarify some
5298           details o Add a CAVEAT about "sudo cd /foo"
5299
5300 2004-06-10 16:19  millert
5301
5302         * check.c: Don't ask for a password if invoking user == target
5303           user.
5304
5305 2004-06-10 12:32  millert
5306
5307         * sudo.c: typo in comment
5308
5309 2004-06-08 19:20  millert
5310
5311         * sudoers.man.in, sudoers.cat: regen
5312
5313 2004-06-08 19:19  millert
5314
5315         * sudoers.pod: Expand on NOEXEC a little.
5316
5317 2004-06-08 16:20  millert
5318
5319         * TODO: sync
5320
5321 2004-06-08 15:58  millert
5322
5323         * visudo.man.in, visudo.cat: regen
5324
5325 2004-06-08 15:55  millert
5326
5327         * CHANGES, parse.yacc, visudo.c, visudo.pod: Add a check in visudo
5328           for runas_default being set after it has already been used.
5329
5330 2004-06-08 13:53  millert
5331
5332         * parse.yacc: Add a MATCHED macro for testing whether foo_matches
5333           has been set to TRUE or FALSE.  This is more readable than
5334           checking for >=0 or < 0.  Doesn't change the actual code
5335           generated.
5336
5337 2004-06-06 20:11  millert
5338
5339         * sudoers.man.in, sudoers.cat: regen
5340
5341 2004-06-06 20:07  millert
5342
5343         * sudoers, sudoers.pod: Correct description of where Defaults specs
5344           should go.
5345
5346 2004-06-06 20:02  millert
5347
5348         * find_path.c, ldap.c, logging.h, testsudoers.c, visudo.c,
5349           auth/bsdauth.c, auth/kerb5.c, auth/pam.c: update (c) year
5350
5351 2004-06-06 19:58  millert
5352
5353         * check.c, compat.h, defaults.c, env.c, find_path.c, getcwd.c,
5354           ldap.c, logging.h, parse.c, parse.yacc, sudo.c, testsudoers.c,
5355           tgetpass.c, visudo.c, auth/bsdauth.c, auth/kerb5.c, auth/pam.c:
5356           Remove trailing spaces, no actual code changes.
5357
5358 2004-06-06 16:22  millert
5359
5360         * parse.yacc: Fix a >=0 that should be <0 that was improperly
5361           converted when UNSPEC was added.
5362
5363 2004-06-06 15:54  millert
5364
5365         * parse.yacc: Add do {} while(0) around pop macro Set cmnd_matches
5366           to UNSPEC, not NOMATCH when resetting it.
5367
5368 2004-06-06 15:39  millert
5369
5370         * parse.yacc: Fix pastos introduced in SETNMATCH addition.
5371
5372 2004-06-05 13:55  millert
5373
5374         * README.LDAP: Update for configure changes
5375
5376 2004-06-05 13:42  millert
5377
5378         * parse.yacc, sudo.h: Add NOMATCH and UNSPEC defines (-1 and -2
5379           respectively) and use these in parse.yacc.  Also in parse.yacc
5380           initialize the *_matches vars to UNSPEC and add two macros,
5381           SETMATCH and SETNMATCH for use when setting *_matches to a value
5382           that may be NOMATCH/UNSPEC/TRUE/FALSE.
5383
5384 2004-06-05 11:17  millert
5385
5386         * parse.yacc: Initialize runas to -2, not -1 since we need to be
5387           able to distinguish between the initialized value and the value
5388           of a non-match when passing along the runas value to multiple
5389           commands.
5390
5391           The result of this is that an unmatched runas is now set to -1,
5392           not 0.  This is required now that parse.c treats a FALSE value
5393           for runas as being explicitly denied.
5394
5395 2004-06-03 16:21  millert
5396
5397         * getprogname.c, sudo.c, visudo.c: Error out if argc < 1.
5398
5399 2004-06-03 12:37  millert
5400
5401         * configure, configure.in: Add tests for what libs we need to link
5402           with for ldap and for whether or not lber.h needs to be
5403           explicitly included.
5404
5405 2004-06-02 20:30  aaron
5406
5407         * ldap.c: Solaris native LDAP build fix
5408
5409 2004-06-01 16:56  millert
5410
5411         * ldap.c: Set edn to NULL is ldap_get_dn() fails to avoid potential
5412           use of an unset variable.
5413
5414 2004-06-01 16:56  millert
5415
5416         * sudo.h: Add prototype for sudo_ldap_list_matches
5417
5418 2004-06-01 16:53  millert
5419
5420         * compat.h, config.h.in, configure, configure.in: Better check for
5421           dirfd macro--we now set HAVE_DIRFD for the macro version too.
5422           Added check for dd_fd in `DIR' if no dirfd is found; this is now
5423           used to confitionally define the dirfd macro in compat.h.
5424
5425 2004-06-01 16:51  millert
5426
5427         * closefrom.c: Only check /proc/$$/fd if we have the dirfd
5428           function/macro.
5429
5430 2004-06-01 15:13  millert
5431
5432         * compat.h, config.h.in, configure, configure.in: Add a check for a
5433           dirfd() function (like Linux) and add a dirfd macro in compat.h
5434           if there is no dirfd() function or macro.
5435
5436 2004-06-01 14:59  millert
5437
5438         * closefrom.c, getcwd.c: dirfd() is now defined in compat.h as
5439           needed.
5440
5441 2004-06-01 14:30  millert
5442
5443         * CHANGES: Clarify closefrom() note.
5444
5445 2004-06-01 12:51  millert
5446
5447         * parse.c: When checking for a command in the directory, only copy
5448           the base dir once.
5449
5450 2004-06-01 12:44  millert
5451
5452         * closefrom.c: If there is a /proc/$$/fd directory, behave like the
5453           Solaris closefrom() and only close the descriptors listed
5454           therein.
5455
5456 2004-06-01 12:23  millert
5457
5458         * alloc.c: compat.h guarantees INT_MAX is defined.
5459
5460 2004-06-01 12:23  millert
5461
5462         * compat.h: Add definitions of OPEN_MAX and INT_MAX for those
5463           without it and remove definition of RLIM_INFINITY (now unused).
5464
5465 2004-05-31 21:22  millert
5466
5467         * CHANGES, alloc.c, check.c, compat.h, find_path.c, getcwd.c,
5468           parse.c, sudo.c, sudo.h, visudo.c: Use PATH_MAX, not MAXPATHLEN
5469           since the former is standardized.
5470
5471 2004-05-31 19:18  millert
5472
5473         * CHANGES: sync
5474
5475 2004-05-31 19:10  millert
5476
5477         * RUNSON: Add some entries that were mailed in a while ago
5478
5479 2004-05-31 14:16  millert
5480
5481         * closefrom.c: o sysconf returns a long, not an int.  o check for
5482           negative return value from sysconf/getdtablesize and use
5483           OPEN_MAX in this case.  o define OPEN_MAX to 256 for those
5484           without it (a fair guess...)
5485
5486 2004-05-30 12:25  millert
5487
5488         * UPGRADE: Mention change in parse order for RunAs entries.
5489
5490 2004-05-30 12:15  millert
5491
5492         * configure: regen
5493
5494 2004-05-29 18:29  millert
5495
5496         * config.h.in, configure.in, INSTALL, README.LDAP:  o --with-ldap
5497           now takes an optional dir as a parameter
5498            o added check for ldap_initialize() and start_tls_s()
5499
5500 2004-05-29 14:54  millert
5501
5502         * README.LDAP: Fix some typos, word choice and formatting issues.
5503
5504 2004-05-28 18:06  millert
5505
5506         * tgetpass.c: Use SA_INTERRUPT so SunOS works correctly, avoid
5507           stdio and just use read/write as it is simpler.
5508
5509 2004-05-28 16:27  millert
5510
5511         * configure, configure.in: Remove hack overriding cross-compiler
5512           check.  It should no longer be needed.
5513
5514 2004-05-28 16:26  millert
5515
5516         * compat.h: Remove select() compat bits since we no longer use
5517           select().
5518
5519 2004-05-28 16:24  millert
5520
5521         * CHANGES, tgetpass.c: Use alarm() instead of select() for the
5522           timeout for systems that don't fully/properly implement select().
5523
5524 2004-05-27 19:14  millert
5525
5526         * CHANGES: synbc
5527
5528 2004-05-27 19:12  millert
5529
5530         * RUNSON: update
5531
5532 2004-05-27 19:12  millert
5533
5534         * set_perms.c: Deal with systems that have no way of setting the
5535           effective uid such as nsr-tandem-nsk.
5536
5537 2004-05-27 19:01  millert
5538
5539         * configure, configure.in: Define NO_SAVED_IDS if we don't find
5540           seteuid()
5541
5542 2004-05-27 18:21  millert
5543
5544         * config.h.in, configure, configure.in: Add back check for
5545           setreuid() since NSK doesn't have it.
5546
5547 2004-05-27 15:57  millert
5548
5549         * sudoers.cat, sudoers.man.in: regen
5550
5551 2004-05-27 15:56  millert
5552
5553         * BUGS, CHANGES: sync
5554
5555 2004-05-27 15:55  millert
5556
5557         * parse.c: In sudoers_lookup() return VALIDATE_NOT_OK if the runas
5558           user was explicitly denied and the command matched.  This fixes a
5559           long-standing bug and makes:     foo machine = (ALL)
5560           /usr/bin/blah     foo machine = (!bar) /usr/bin/blah
5561
5562           equivalent to:     foo machine = (ALL, !bar) /usr/bin/blah
5563
5564 2004-05-27 15:52  millert
5565
5566         * sudoers.pod: Clarify mail_noperm
5567
5568 2004-05-19 21:25  aaron
5569
5570         * Makefile.in: Missing DESTDIR in make install for sudo_noexec.la
5571
5572 2004-05-17 18:32  millert
5573
5574         * sudo.man.in, sudoers.man.in, visudo.man.in, sudo.cat,
5575           sudoers.cat, visudo.cat: regen
5576
5577 2004-05-17 18:31  millert
5578
5579         * TODO: sync
5580
5581 2004-05-17 18:31  millert
5582
5583         * sample.sudoers, sudoers.pod: Remove fastboot/fasthalt (who still
5584           remembers these?) and add a minimal sudoedit example.
5585
5586 2004-05-17 18:21  millert
5587
5588         * CHANGES, INSTALL, TROUBLESHOOTING, UPGRADE, sudo.c, visudo.c:
5589           filesystem -> file system
5590
5591 2004-05-17 18:19  millert
5592
5593         * sudo.pod, sudoers.pod: Fix some minor typos and formatting goofs
5594
5595 2004-05-17 18:10  millert
5596
5597         * lex.yy.c: regen
5598
5599 2004-05-17 17:57  millert
5600
5601         * visudo.pod: remove my email addr
5602
5603 2004-05-17 17:55  millert
5604
5605         * sudo.pod, sudoers.pod, visudo.pod: Use @mansectform@ and
5606           @mansectsu@ everywhere Make man page references links with L<>
5607
5608 2004-05-17 16:51  millert
5609
5610         * parse.lex: Accept quoted globbing characters and pass them
5611           verbatim for fnmatch()
5612
5613 2004-05-17 16:50  millert
5614
5615         * UPGRADE: Document that /tmp/.odus is gone.
5616
5617 2004-05-17 16:28  millert
5618
5619         * CHANGES, aclocal.m4, configure, pathnames.h.in: No longer use
5620           /tmp/.odus as a possible timestamp dir unless specifically
5621           configured to do so.  Instead, if no /var/run exists, use
5622           /var/adm/sudo or /usr/adm/sudo.
5623
5624 2004-05-17 16:08  millert
5625
5626         * check.c, compat.h, logging.c, set_perms.c, sudo.c, tgetpass.c,
5627           visudo.c: Preliminary changes to support nsr-tandem-nsk.  Based
5628           on patches from Tom Bates.
5629
5630 2004-05-16 18:47  millert
5631
5632         * CHANGES: There was no 1.6.7p6.
5633
5634 2004-05-16 16:38  millert
5635
5636         * BUGS, CHANGES: sync
5637
5638 2004-05-16 16:36  millert
5639
5640         * Makefile.in: add missing files to DISTFILES
5641
5642 2004-05-16 16:23  millert
5643
5644         * sudoers.man.in, sudo.cat, sudoers.cat, visudo.cat: regen
5645
5646 2004-05-16 16:20  millert
5647
5648         * Makefile.in: Fix some line wrap and update (c) year
5649
5650 2004-04-28 15:05  aaron
5651
5652         * README.LDAP: Build Note
5653
5654 2004-04-06 22:03  aaron
5655
5656         * Makefile.in: Fix install-dirs
5657
5658 2004-04-04 20:27  millert
5659
5660         * visudo.c: In Exit() when used as a signal handler, emsg is a
5661           pointer so sizeof() is wrong so make it a #define instead.  Also
5662           avoid using a negative exit value.  Found by Aaron Campbell
5663
5664 2004-03-24 18:23  millert
5665
5666         * sudoers.pod: Remove bogus sentence about uids in a User_List.
5667           Document usernames vs. uid parsing in a Runas_List.
5668
5669 2004-03-24 18:06  millert
5670
5671         * parse.c, parse.h, parse.yacc, sudo.c, testsudoers.c, visudo.c: If
5672           the user specified a uid with the -u flag and the uid exists in
5673           the passwd file, set runas_user to the name, not the uid.
5674
5675           When comparing usernames in sudoers, if a name is really a uid
5676           (starts with '#') compare it numerically to pw_uid.
5677
5678 2004-03-22 13:35  millert
5679
5680         * auth/kerb5.c: krb5_mcc_ops should be const; Johnny C. Lam
5681
5682 2004-02-28 18:54  aaron
5683
5684         * CHANGES, config.h.in, ldap.c: Added start_tls support
5685
5686 2004-02-14 18:04  millert
5687
5688         * Makefile.in: Clean up libtool stuff for 'make distclean' and add
5689           def_data.c, def_data.h to PARSESRCS.
5690
5691 2004-02-14 10:13  aaron
5692
5693         * strlcat.c, strlcpy.c: Un-Fix last license munge
5694
5695 2004-02-13 16:37  millert
5696
5697         * CHANGES, RUNSON, TODO: checkpoint
5698
5699 2004-02-13 16:37  millert
5700
5701         * lex.yy.c, configure: regen
5702
5703 2004-02-13 16:36  millert
5704
5705         * LICENSE, Makefile.binary, Makefile.in, alloc.c, check.c,
5706           closefrom.c, compat.h, defaults.c, defaults.h, env.c, fileops.c,
5707           find_path.c, getprogname.c, getspwuid.c, goodpath.c, ins_2001.h,
5708           ins_classic.h, ins_csops.h, ins_goons.h, insults.h, interfaces.c,
5709           interfaces.h, ldap.c, logging.c, logging.h, parse.c, parse.h,
5710           parse.lex, parse.yacc, pathnames.h.in, set_perms.c, sigaction.c,
5711           strerror.c, strlcat.c, strlcpy.c, sudo.c, sudo.h, sudo.man.in,
5712           sudo.pod, sudo_edit.c, sudo_noexec.c, sudoers.man.in,
5713           sudoers.pod, testsudoers.c, tgetpass.c, utime.c, version.h,
5714           visudo.c, visudo.man.in, visudo.pod, zero_bytes.c, auth/afs.c,
5715           auth/aix_auth.c, auth/bsdauth.c, auth/dce.c, auth/fwtk.c,
5716           auth/kerb4.c, auth/kerb5.c, auth/pam.c, auth/passwd.c,
5717           auth/rfc1938.c, auth/secureware.c, auth/securid.c,
5718           auth/securid5.c, auth/sia.c, auth/sudo_auth.c, auth/sudo_auth.h,
5719           emul/search.h, emul/utime.h: More to a less restrictive,
5720           ISC-style license.
5721
5722 2004-02-12 21:08  aaron
5723
5724         * CHANGES, Makefile.in, README.LDAP, config.h.in, configure.in,
5725           def_data.c, def_data.h, def_data.in, ldap.c, sudo.c, sudo.h,
5726           sudoers2ldif: Merged in LDAP Support
5727
5728 2004-02-08 15:53  millert
5729
5730         * sudo.h, sudo_noexec.c: Only do "extern int errno" if errno is not
5731           a macro.
5732
5733 2004-02-06 18:08  millert
5734
5735         * set_perms.c: setreuid(0, 0) fails on QNX if the euid is not
5736           already 0 so set the euid first, then just call setuid(0) to set
5737           the real uid too.
5738
5739 2004-02-06 14:52  millert
5740
5741         * set_perms.c: Use setresuid() and setreuid() for PERM_RUNAS when
5742           appropriate instead of seteuid() which may not exist.
5743
5744 2004-02-04 14:58  millert
5745
5746         * LICENSE: 2004
5747
5748 2004-02-03 23:38  millert
5749
5750         * INSTALL, config.h.in, configure, configure.in, ins_classic.h: Add
5751           --with-pc-insults configure option
5752
5753 2004-02-03 23:32  millert
5754
5755         * visudo.man.in: Prefer VISUAL over EDITOR like old vipw did.
5756
5757 2004-02-01 15:45  millert
5758
5759         * sudo.man.in, sudoers.man.in: regen
5760
5761 2004-02-01 15:44  millert
5762
5763         * sudoers.pod: Add a note that noexec is not a cure-all.
5764
5765 2004-02-01 15:20  millert
5766
5767         * sudoers.pod: Mention that disabling "root_sudo" is pretty
5768           pointless.
5769
5770 2004-02-01 15:20  millert
5771
5772         * configure, configure.in: Substitute for root_sudo in sudoers.pod
5773
5774 2004-02-01 15:03  millert
5775
5776         * sudo.pod: Add sudoedit to the NAME section
5777
5778 2004-02-01 15:00  millert
5779
5780         * sudoers.pod: Document that fact that setting ignore_dot in
5781           sudoers has no effect due to the fact that find_path() is called
5782           *before* sudoers is read.
5783
5784 2004-01-29 19:50  millert
5785
5786         * sudo_edit.c: Do not require _PATH_USRTMP to be set.
5787
5788 2004-01-29 19:42  millert
5789
5790         * BUGS, CHANGES, TODO: sync
5791
5792 2004-01-29 19:42  millert
5793
5794         * sudo.man.in: regen
5795
5796 2004-01-29 19:41  millert
5797
5798         * sudo.pod: Clarify that when sudo is run by root with the
5799           SUDO_USER variable set, the sudoers lookup happens for root and
5800           not the SUDO_USER user.
5801
5802 2004-01-29 17:33  millert
5803
5804         * defaults.c, env.c, fnmatch.c, interfaces.c, logging.c, parse.c,
5805           set_perms.c, sigaction.c, sudo.c, tgetpass.c, auth/pam.c,
5806           auth/sudo_auth.c: Use the SET, CLR and ISSET macros.
5807
5808 2004-01-29 16:22  millert
5809
5810         * interfaces.h: MAIN was replaced with _SUDO_MAIN some time ago.
5811
5812 2004-01-29 16:15  millert
5813
5814         * sudo.c: Don't look at prev_user until after we've parsed sudoers
5815           and done the password check.  That way, if sudo/sudoedit is run
5816           from a root process that was invoked by sudo, we check sudoers
5817           for root, not the previous user.  This makes sudoedit much more
5818           useful and means that for the sudo case, we get correct logging
5819           on who actually ran the command.
5820
5821 2004-01-22 19:22  millert
5822
5823         * sudo_edit.c: Add a comment describing why we need to be notified
5824           about our child stopping.
5825
5826 2004-01-22 16:06  millert
5827
5828         * def_data.c, def_data.in: Update the noexec variable descriptions
5829
5830 2004-01-22 14:18  millert
5831
5832         * sudoers.man.in, sudoers.pod: noexec now replaces more than just
5833           execve()
5834
5835 2004-01-22 12:14  millert
5836
5837         * sudo_noexec.c: Alas, all the world does not go through execve(2).
5838           Many systems still have an execv(2) system call, Linux 2.6
5839           provides fexecve(2) and it is not uncommon for libc to have
5840           underscore ('_') versions of the functions to be used internally
5841           by the library.  Instead of stubbing all these out by hand,
5842           define a macro and let it do the work.  Extra exec functions
5843           pointed out by Reznic Valery.
5844
5845 2004-01-21 21:57  millert
5846
5847         * sudo.c, sudo_edit.c: Fix suspending the editor in -e mode.
5848           Because we do a fork() first we need to be notified when the
5849           child has been stopped and then send that same signal to ourself
5850           so the shell can do its job control thing.
5851
5852 2004-01-21 21:44  millert
5853
5854         * visudo.c: Use WIFEXITED and WEXITSTATUS macros.  If there are
5855           systems out there that want to run sudo that still don't support
5856           these we can try to deal with that later.
5857
5858 2004-01-21 20:03  millert
5859
5860         * lex.yy.c: regen
5861
5862 2004-01-21 20:00  millert
5863
5864         * sudo.man.in, sudo.pod, sudoers.man.in, sudoers.pod: Document sudo
5865           -e / sudoedit
5866
5867 2004-01-21 19:08  millert
5868
5869         * configure, configure.in: fix typo
5870
5871 2004-01-21 19:02  millert
5872
5873         * config.h.in, configure.in: Add SET/CLR/ISSET
5874
5875 2004-01-21 18:55  millert
5876
5877         * sudo.c: Allow non-exclusive flags when invoked as sudoedit.
5878           Pretty print the long usage() line to not wrap (assumes 80 char
5879           display)
5880
5881 2004-01-21 18:01  millert
5882
5883         * Makefile.in, sudo.c: If sudo is invoked as "sudoedit" the -e flag
5884           is implied and no other flags are permitted.
5885
5886 2004-01-21 18:00  millert
5887
5888         * sudo.h: Add a new flag, -e, that makes it possible to give users
5889           the ability to edit files with the editor of their choice as the
5890           invoking user, not the runas user.  Temporary files are used for
5891           the actual edit and the temp file is copied over the original
5892           after the editor is done.
5893
5894 2004-01-21 17:25  millert
5895
5896         * Makefile.in, parse.c, parse.lex, sudo.c, sudo_edit.c: Add a new
5897           flag, -e, that makes it possible to give users the ability to
5898           edit files with the editor of their choice as the invoking user,
5899           not the runas user.  Temporary files are used for the actual edit
5900           and the temp file is copied over the original after the editor is
5901           done.
5902
5903 2004-01-21 17:06  millert
5904
5905         * sudo.c, env.c: If real uid == 0 and the SUDO_USER environment
5906           variables is set, use that to determine the invoking user's true
5907           identity.  That way the proper info gets logged by someone who
5908           has done "sudo su" but still uses sudo to as root.  We can't do
5909           this for non-root users since that would open up a security hole,
5910           though perhaps it would be acceptable to use getlogin(2) on OSes
5911           where this a system call (and doesn't just look in the utmp
5912           file).
5913
5914 2004-01-21 16:58  millert
5915
5916         * pathnames.h.in: Add _PATH_TMP, _PATH_VARTMP and _PATH_USRTMP
5917
5918 2004-01-21 16:57  millert
5919
5920         * configure, config.h.in, configure.in: Add check for fchown(2)
5921
5922 2004-01-20 14:22  millert
5923
5924         * sudo.c: Back out portions of the -i commit that set NewArgv[0] in
5925           set_runaspw.  It is far to late to set NewArgv[0] there and will
5926           have no effect anyway as cmnd and safe_cmnd have already been
5927           set.
5928
5929 2004-01-20 14:18  millert
5930
5931         * visudo.c, visudo.pod: Prefer VISUAL over EDITOR like old vipw
5932           did.
5933
5934 2004-01-18 20:17  millert
5935
5936         * env.c, sudo.c: In -i mode always set new environment based on the
5937           runas user's passwd entry.
5938
5939 2004-01-18 17:56  millert
5940
5941         * sudo.man.in, sudo.pod: Document the new -i flag and sync SYNOPSIS
5942           section with usage() in sudo.c.  Also sort the flags in the
5943           OPTIONS section.
5944
5945 2004-01-18 17:55  millert
5946
5947         * sudo.c, sudo.h: o Add -i that acts similar to "su -", based on
5948           patches from David J. MacKenzie o Sort the flags in the usage
5949           message
5950
5951 2004-01-18 17:22  millert
5952
5953         * sudoers.man.in, sudoers.pod: Add a missing @runas_default@
5954           substitution.
5955
5956 2004-01-17 16:34  millert
5957
5958         * sudo.c: Change euid to runas user before calling find_path().
5959           Unfortunately, though runas_user can be modified in sudoers we
5960           haven't parsed sudoers yet.
5961
5962 2004-01-17 16:25  millert
5963
5964         * sudoers.man.in, sudoers.pod: Add missing defintion of
5965           Parameter_List and use single pipes in the Defaults EBNF
5966           definition.
5967
5968 2004-01-17 13:49  millert
5969
5970         * sudo.c: Fix a bug when set_runaspw() is used as a callback.  We
5971           don't want to reset the contents of runas_pw if the user
5972           specified a user via the -u flag.
5973
5974           Avoid unnecessary passwd lookups in set_authpw().  In most cases
5975           we already have the info in runas_pw.
5976
5977 2004-01-16 18:16  millert
5978
5979         * check.c: Add Stan Lee / Uncle Ben quote to the lecture from
5980           RedHat
5981
5982 2004-01-16 18:12  millert
5983
5984         * sudo.h: Update sudo_getepw() proto and add one for set_runaspw()
5985
5986 2004-01-16 18:10  millert
5987
5988         * parse.c: If we can't stat the command as root, try as the runas
5989           user instead.
5990
5991 2004-01-16 18:09  millert
5992
5993         * testsudoers.c, visudo.c: Add stub set_runaspw() function
5994
5995 2004-01-16 18:09  millert
5996
5997         * sudo.c: Add set_runaspw() function to fill in runas_pw.  This
5998           will be used as a callback to update runas_pw when the runas user
5999           changes.
6000
6001 2004-01-16 18:07  millert
6002
6003         * env.c, sudo.c: PERM_RUNAS -> PERM_FULL_RUNAS
6004
6005 2004-01-16 18:05  millert
6006
6007         * set_perms.c, sudo.h: Rename PERM_RUNAS -> PERM_FULL_RUNAS and add
6008           a PERM_RUNAS that just changes the euid.
6009
6010 2004-01-16 18:04  millert
6011
6012         * getspwuid.c: Make sudo_pwdup() act like OpenBSD pw_dup() and
6013           allocate memory in one chunk for easy free()ing.  Also change it
6014           from static to extern.
6015
6016 2004-01-16 18:03  millert
6017
6018         * defaults.c, defaults.h: Add callback support
6019
6020 2004-01-16 18:02  millert
6021
6022         * def_data.c, def_data.in, mkdefaults: Add a callback field and use
6023           it for runas_default
6024
6025 2004-01-15 15:13  millert
6026
6027         * auth/fwtk.c: Add support for chalnecho and display server
6028           responses used by fwtk >= 2.0
6029
6030 2004-01-12 18:39  millert
6031
6032         * sudoers.man.in, sudoers.pod: ld.so is ld.so.1 on solaris
6033
6034 2004-01-12 14:03  millert
6035
6036         * Makefile.in, config.h.in, configure, configure.in, sudo.c,
6037           sudo.h: Use closefrom() instead of doing the equivalent inline.
6038
6039 2004-01-12 13:55  millert
6040
6041         * closefrom.c: closefrom(3) for systems w/o it
6042
6043 2004-01-09 16:29  millert
6044
6045         * sudoers.man.in: Update from .pod file.
6046
6047 2004-01-09 16:26  millert
6048
6049         * configure, configure.in: Substitute noexec_file for the sudoers
6050           man page
6051
6052 2004-01-09 16:24  millert
6053
6054         * sudo.man.in, sudo.pod: Mention noexec
6055
6056 2004-01-09 16:16  millert
6057
6058         * sudoers.man.in, sudoers.pod: Document noexec
6059
6060 2004-01-09 14:38  millert
6061
6062         * config.h.in, configure.in, auth/pam.c: Move PAM_CONST macro
6063           definition from config.h to pam.c where it belongs.  We can't
6064           have this in config.h since that gets included too early.
6065
6066 2004-01-09 14:35  millert
6067
6068         * config.h.in, configure, configure.in, auth/pam.c: Some PAM
6069           implementations put their headers in /usr/include/pam instead of
6070           /usr/include/security.
6071
6072 2004-01-09 14:32  millert
6073
6074         * configure.in: I missed changing the EXEC macro -> EXECV here when
6075           I changed this in config.h.in and sudo.c a while ago.
6076
6077 2004-01-09 13:15  millert
6078
6079         * acsite.m4: OpenBSD vax/m88k/hppa don't do shared libs
6080
6081 2004-01-09 03:29  millert
6082
6083         * configure, configure.in: o merge the hpux case entries into a
6084           single entry w/ its own sub-case statement.  o HP-UX >= 11
6085           support getspnam(), use it in preference to getprpwuid()
6086
6087 2004-01-09 02:58  millert
6088
6089         * configure, configure.in: eval $shrext so that it expands nicely
6090           on MacOS X
6091
6092 2004-01-09 02:50  millert
6093
6094         * Makefile.in: Don't lie about making a module, it does the wrong
6095           thing on mach
6096
6097 2004-01-09 02:49  millert
6098
6099         * ltmain.sh: Remove requirement that libs must begin with "lib".
6100           They don't when we point directly at the lib using LD_PRELOAD or
6101           its equivalent.
6102
6103 2004-01-09 02:01  millert
6104
6105         * acsite.m4: Disable support for c++, f77 and java.  We don't need
6106           it, it takes a lot of time, and it hosed our check for shared lib
6107           support.
6108
6109 2004-01-09 02:00  millert
6110
6111         * configure: regen
6112
6113 2004-01-09 02:00  millert
6114
6115         * configure.in: Call AC_ENABLE_SHARED and check the status of
6116           enable_shared to know when shared libs are available.
6117
6118 2004-01-09 01:37  millert
6119
6120         * acsite.m4: Duh, OpenBSD suports shared libs too
6121
6122 2004-01-09 01:18  millert
6123
6124         * configure.in, config.h.in: Only OpenPAM and Linux PAM use const
6125           qualifiers.
6126
6127 2004-01-09 01:15  millert
6128
6129         * configure, configure.in: o No need to check for sed, libtool
6130           config does that for us o move check for --with-noexec until
6131           after libtool magic is run so we   can use $can_build_shared and
6132           $shrext
6133
6134 2004-01-09 01:14  millert
6135
6136         * ltmain.sh: Don't print a bunch of crap about library installs
6137           since we are not really installing a library.
6138
6139 2004-01-09 00:38  millert
6140
6141         * env.c: Make format_env() varargs Add noexec support for Darwin,
6142           MacOS X, Irix, and Tru64
6143
6144 2004-01-09 00:32  millert
6145
6146         * acsite.m4, ltconfig, ltmain.sh: Update to libtool 1.5 with local
6147           changes:  o no ldconfig in the finish step  o assume no libprefix
6148           or version is needed
6149
6150 2004-01-09 00:15  millert
6151
6152         * sudo_noexec.c: Fix compilation under K&R
6153
6154 2004-01-06 09:31  millert
6155
6156         * CHANGES: checkpoint
6157
6158 2004-01-06 09:28  millert
6159
6160         * sudo_noexec.c: stub execve() that just returns EACCES; used for
6161           noexec functionality
6162
6163 2004-01-06 01:42  millert
6164
6165         * sudo.tab.h: Regen w/ updated byacc from OpenBSD; fixes a gcc 3.2
6166           issue with generated code.
6167
6168 2004-01-05 16:10  millert
6169
6170         * def_data.c, def_data.h, def_data.in: Move the environment
6171           defaults to the end and shorten a few of the descriptions.
6172
6173 2004-01-05 15:05  millert
6174
6175         * configure.in, configure: no shared libs on ultris or convexos
6176
6177 2004-01-05 15:03  millert
6178
6179         * Makefile.in, configure, configure.in: Build sudo_noexec shared
6180           object using libtool; could use some cleanup.
6181
6182 2004-01-05 14:59  millert
6183
6184         * acsite.m4, ltconfig, ltmain.sh: libtool scaffolding
6185
6186 2004-01-05 14:56  millert
6187
6188         * parse.yacc: Merge the NOPASSWD/PASSWD and NOEXEC/EXEC rules so
6189           that order is not important.
6190
6191 2004-01-05 12:15  millert
6192
6193         * defaults.c, env.c, parse.c, parse.h, parse.lex, parse.yacc,
6194           pathnames.h.in, sudo.c, sudo.h, lex.yy.c: update copyright year
6195
6196 2004-01-04 22:58  millert
6197
6198         * configure, configure.in, defaults.c, env.c, pathnames.h.in: Add
6199           _PATH_SUDO_NOEXEC and corresponding --with-noexec configure
6200           option.  The default value of noexec_file is set to this.
6201
6202 2004-01-04 21:48  millert
6203
6204         * def_data.c, def_data.h, def_data.in, env.c, lex.yy.c, parse.c,
6205           parse.h, parse.lex, parse.yacc, sudo.c, sudo.h, sudo.tab.h: Add
6206           support for preloading a shared object containing a dummy
6207           execve() function that just sets error and returns -1.  This adds
6208           a "noexec_file" option to load the filename as well as a "noexec"
6209           flag to enable it unconditionally.  There is also a NOEXEC tag
6210           that can be attached to specific commands and an EXEC tag to
6211           disable it.
6212
6213 2004-01-04 21:40  millert
6214
6215         * mkdefaults: add missing newline to usage statement
6216
6217 2004-01-04 20:39  millert
6218
6219         * config.h.in, sudo.c: Rename EXEC macro -> EXECV
6220
6221 2004-01-04 20:16  millert
6222
6223         * logging.c: Don't truncate usernames to 8 characters in the log
6224           message.
6225
6226 2004-01-04 20:13  millert
6227
6228         * check.c, sudoers.man.in, sudoers.pod: Update copyright year
6229
6230 2004-01-04 20:12  millert
6231
6232         * check.c, def_data.c, def_data.h, def_data.in, sudoers.man.in,
6233           sudoers.pod: Add a new option, lecture_file, that can be used to
6234           point to a custom sudo lecture.
6235
6236 2003-12-31 17:46  millert
6237
6238         * Makefile.in, sudo.h, zero_bytes.c, auth/aix_auth.c,
6239           auth/bsdauth.c, auth/fwtk.c, auth/pam.c, auth/sudo_auth.c: Add a
6240           zero_bytes() function to do the equivalent of bzero in such a way
6241           that will heopfully not be optimized away by sneaky compilers.
6242
6243 2003-12-31 13:35  millert
6244
6245         * err.c: Use #ifdef __STDC__, not #if __STDC__.
6246
6247 2003-12-30 17:41  millert
6248
6249         * mkdefaults: Always put at least one space between the def_* macro
6250           name and its definition.
6251
6252 2003-12-30 17:34  millert
6253
6254         * configure, configure.in: Adjust code for --without-lecture to
6255           match new values.
6256
6257 2003-12-30 17:33  millert
6258
6259         * visudo.man.in: regen after pasto fix
6260
6261 2003-12-30 17:31  millert
6262
6263         * sudoers.man.in, sudoers.pod: Document that "lecture" has changed
6264           from a flag to a tuple.
6265
6266 2003-12-30 17:31  millert
6267
6268         * check.c, def_data.c, def_data.h, def_data.in, defaults.c,
6269           defaults.h, logging.c, mkdefaults, parse.c, sudo.c, sudo.h: Add
6270           support for tuples in def_data.in; these are implemented as an
6271           enum type.  Currently there is only a single tuple enum but in
6272           the future we may have one tuple enum per T_TUPLE entry in
6273           def_data.in.  Currently listpw, verifypw and lecture are tuples.
6274           This avoids the need to have two entries (one ival, one str) for
6275           pwflags and syslog values.
6276
6277           lecture is now a tuple with the following values: never, once,
6278           always
6279
6280           We no longer use both an int and string entry for syslog
6281           facilities and priorities.  Instead, there are logfac2str() and
6282           logpri2str() functions that get used when we need to print the
6283           string values.
6284
6285 2003-12-30 17:20  millert
6286
6287         * check.c, def_data.h, defaults.c, defaults.h, env.c, find_path.c,
6288           logging.c, mkdefaults, parse.c, parse.yacc, set_perms.c, sudo.c,
6289           visudo.c, auth/aix_auth.c, auth/bsdauth.c, auth/fwtk.c,
6290           auth/pam.c, auth/rfc1938.c, auth/securid5.c, auth/sia.c,
6291           auth/sudo_auth.c: Create def_* macros for each defaults value so
6292           we no longer need the def_{flag,ival,str,list,mode} macros (which
6293           have been removed).  This is a step toward more flexible data
6294           types in def_data.in.
6295
6296 2003-12-30 15:55  millert
6297
6298         * TODO: checkpoint
6299
6300 2003-12-22 21:18  millert
6301
6302         * sudo.c: If we are in -k/-K mode, just spew to stderr.  It is not
6303           unusual for users to place "sudo -k" in a .logout file which can
6304           cause sudo to be run during reboot after the YP/NIS/NIS+/LDAP/etc
6305           daemon has died.  Previously, this would result in useless mail
6306           and logging.
6307
6308 2003-12-16 13:51  millert
6309
6310         * visudo.pod: fix pasto in VISUAL description
6311
6312 2003-12-09 22:09  millert
6313
6314         * configure: regen
6315
6316 2003-12-09 22:08  millert
6317
6318         * CHANGES: checkpoint
6319
6320 2003-12-09 22:02  millert
6321
6322         * TROUBLESHOOTING: Some OSes (like Solaris) allow export w/ nosuid
6323           too
6324
6325 2003-08-12 16:45  millert
6326
6327         * compat.h: We don't use FD_ZERO anymore so just define FD_SET (if
6328           not already there).
6329
6330 2003-06-28 21:31  millert
6331
6332         * auth/pam.c: Fix a core dump on Solaris by preserving the
6333           pam_handle_t we used during authentication for pam_prep_user().
6334           If we didn't authenticate (ie: ticket still valid), we call
6335           pam_init() from pam_prep_user().  This is something of a hack; it
6336           may be better to change the auth API and add an auth_final()
6337           function that acts like pam_prep_user().
6338
6339 2003-06-21 12:50  millert
6340
6341         * set_perms.c: Add explicit declaration of printerr variable in
6342           function header (was defaulting to int which is OK but oh so K&R
6343           :-).  From Theo.
6344
6345 2003-06-09 19:00  millert
6346
6347         * config.h.in, configure.in: s/HAVE_STOW/USE_STOW/
6348
6349 2003-06-09 16:07  millert
6350
6351         * logging.c: Also exit waitpid() loop when pid == 0.  Fixes a
6352           problem where the sudo process would spin eating up CPU until
6353           sendmail finished when it has to send mail.
6354
6355 2003-05-30 16:22  millert
6356
6357         * fnmatch.3, fnmatch.c: Remove advertising clause, UCB has
6358           disavowed it
6359
6360 2003-05-21 21:53  millert
6361
6362         * parse.c: Don't assume that getgrnam() calls don't modify contents
6363           of struct passwd returned by getpwnam().  On FreeBSD w/ NIS this
6364           can happen.  Based on a patch from Kirk Webb.
6365
6366 2003-05-06 11:25  millert
6367
6368         * configure.in: missing ;;
6369
6370 2003-05-06 00:53  millert
6371
6372         * configure.in: darwin has a broken setreuid() in at least some
6373           versions
6374
6375 2003-05-06 00:31  millert
6376
6377         * env.c: Fix an off by one error when reallocating the environment;
6378           Kevin Pye
6379
6380 2003-04-30 14:04  millert
6381
6382         * sudoers.pod: Fix User_Spec definition; SEKINE Tatsuo
6383
6384 2003-04-28 19:30  millert
6385
6386         * HISTORY: More info on the early days from Coggs.
6387
6388 2003-04-21 14:47  millert
6389
6390         * auth/kerb5.c: remove errant semicolon that prevented compilation
6391           under heimdal
6392
6393 2003-04-15 20:42  millert
6394
6395         * Makefile.in, alloc.c, check.c, compat.h, defaults.c, defaults.h,
6396           env.c, fileops.c, find_path.c, getprogname.c, getspwuid.c,
6397           goodpath.c, interfaces.c, interfaces.h, logging.c, parse.c,
6398           parse.lex, parse.yacc, pathnames.h.in, set_perms.c, sigaction.c,
6399           strerror.c, sudo.c, sudo.h, sudo.man.in, sudo.pod,
6400           sudoers.man.in, sudoers.pod, testsudoers.c, tgetpass.c, utime.c,
6401           version.h, visudo.c, visudo.man.in, visudo.pod, auth/afs.c,
6402           auth/aix_auth.c, auth/bsdauth.c, auth/dce.c, auth/fwtk.c,
6403           auth/kerb4.c, auth/kerb5.c, auth/pam.c, auth/passwd.c,
6404           auth/rfc1938.c, auth/secureware.c, auth/securid.c,
6405           auth/securid5.c, auth/sia.c, auth/sudo_auth.c: add DARPA credit
6406           on affected files
6407
6408 2003-04-15 20:25  millert
6409
6410         * LICENSE: slightly different wording for the darpa credit
6411
6412 2003-04-15 14:37  millert
6413
6414         * LICENSE: Add DARPA credit
6415
6416 2003-04-14 16:49  millert
6417
6418         * auth/kerb5.c: Use krb5_princ_component() instead of
6419           krb5_princ_realm() for MIT Kerberos like we did before I messed
6420           things up ;-)
6421
6422           Use krb5_principal_get_comp_string() to do the same thing w/
6423           Heimdal.  I'm not sure if the component should be 0 or 1 in this
6424           case.
6425
6426           #define ENCTYPE_DES_CBC_MD5 ETYPE_DES_CBC_MD5 for Heimdal since
6427           older versions lack ENCTYPE_DES_CBC_MD5.  This is gross and there
6428           should be a configure check for this I guess.
6429
6430 2003-04-13 15:48  millert
6431
6432         * TROUBLESHOOTING, config.h.in, configure, configure.in,
6433           sample.sudoers: builtin -> built-in; Jason McIntyre
6434
6435 2003-04-13 15:45  millert
6436
6437         * sudoers.pod: built in -> built-in; Jason McIntyre
6438
6439 2003-04-09 16:14  millert
6440
6441         * CHANGES: checkpoint for 1.6.7p3
6442
6443 2003-04-09 16:14  millert
6444
6445         * HISTORY: Update info on the early years @ SUNY-Buffalo from Cliff
6446           Spencer.  Amazingly, sudo source from 1985 is available via
6447           groups.google.com
6448
6449 2003-04-09 16:13  millert
6450
6451         * sudo.c: Don't change rl.rlim_max for RLIMIT_CORE.  We need only
6452           set rl.rlim_cur to 0 to turn off core dumps.  This may be needed
6453           for the RLIMIT_CORE restoration on some OSes.
6454
6455 2003-04-04 12:46  millert
6456
6457         * auth/kerb5.c: Make this compile on Heimdal and MIT Kerberos 5
6458
6459 2003-04-04 12:45  millert
6460
6461         * config.h.in, configure, configure.in: Check for heimdal even if
6462           we found krb5-config and define HAVE_HEIMDAL.
6463
6464 2003-04-03 22:04  millert
6465
6466         * auth/kerb5.c: Replace ETYPE_DES_CBC_MD5 with ENCTYPE_DES_CBC_MD5.
6467           The former is no longer defined by MIT kerb5 (though it used to
6468           be and indeed remains so in Heimdal).
6469
6470 2003-04-03 10:16  millert
6471
6472         * mkinstalldirs: Remove newer stuff that passes multiple (possibly
6473           duplicate) directories to "mkdir -p" since that seems to break on
6474           Tru64 Unix at least.  This basically brings back what shipped
6475           with sudo 1.6.6.
6476
6477 2003-04-02 13:57  millert
6478
6479         * auth/kerb5.c: Correct number of args to
6480           krb5_principal_get_realm() and fix an unclosed comment that hid
6481           the bug.
6482
6483 2003-04-02 13:45  millert
6484
6485         * configure: regen
6486
6487 2003-04-02 13:45  millert
6488
6489         * BUGS, CHANGES, INSTALL, INSTALL.binary, Makefile.in, README,
6490           configure.in, version.h: ++version
6491
6492 2003-04-02 13:44  millert
6493
6494         * configure.in: use krb5-config to determine Kerberos V details if
6495           it exists
6496
6497 2003-04-02 13:25  millert
6498
6499         * alloc.c, check.c, compat.h, defaults.c, env.c, find_path.c,
6500           interfaces.c, logging.c, parse.c, sudo.c, sudo.h, testsudoers.c,
6501           visudo.c, auth/fwtk.c, auth/rfc1938.c, auth/securid.c,
6502           auth/securid5.c, auth/sia.c: Use warn/err and getprogname()
6503           throughout.  The main exception is openlog().  Since the admin
6504           may be filtering logs based on the program name in the log files,
6505           hard code this to "sudo".
6506
6507 2003-04-02 13:16  millert
6508
6509         * Makefile.in: Add getprogname.c and err.c
6510
6511 2003-04-02 13:15  millert
6512
6513         * configure: regen
6514
6515 2003-04-02 13:15  millert
6516
6517         * configure.in, config.h.in: Add checks for getprognam(),
6518           __progname and err.h
6519
6520 2003-04-02 13:14  millert
6521
6522         * err.c, emul/err.h: For systems withour err/warn functions.
6523
6524 2003-04-02 13:14  millert
6525
6526         * getprogname.c: For systems neither getprogname() nor __progname;
6527           uses Argv[0].
6528
6529 2003-04-01 10:09  millert
6530
6531         * CHANGES: checkpoint for 1.6.7p1
6532
6533 2003-04-01 10:02  millert
6534
6535         * sudo.c, testsudoers.c: fix strlcpy() rval check (innocuous)
6536
6537 2003-04-01 09:58  millert
6538
6539         * check.c: oflow detection in expand_prompt() was faulty (false
6540           positives).  The count was based on strlcat() return value which
6541           includes the length of the entire string.
6542
6543 2003-03-30 19:02  millert
6544
6545         * CHANGES, RUNSON, TODO: checkpoint for the sudo 1.6.7 release
6546
6547 2003-03-24 16:09  millert
6548
6549         * logging.c: g/c unused variable
6550
6551 2003-03-24 11:06  millert
6552
6553         * configure: regen
6554
6555 2003-03-24 11:05  millert
6556
6557         * configure.in: use man sections 8 and 5 for csops
6558
6559 2003-03-21 18:11  millert
6560
6561         * configure: regen
6562
6563 2003-03-21 15:10  millert
6564
6565         * configure.in: Add -lskey or -lopie directly to SUDO_LIBS instead
6566           of having AC_CHECK_LIB() add them to LIBS.  Fixes visudo linkage.
6567
6568 2003-03-21 14:02  millert
6569
6570         * configure: regen
6571
6572 2003-03-21 14:01  millert
6573
6574         * INSTALL, aclocal.m4, configure.in: Add --with-blibpath for AIX.
6575           An alternate libpath may be specified or -blibpath support can be
6576           disabled.  Also change conifgure such that -blibpath is not
6577           specified if no -L libpaths were added to SUDO_LDFLAGS.
6578
6579 2003-03-20 22:05  millert
6580
6581         * configure.in: add AIX blibpath support
6582
6583 2003-03-20 20:28  millert
6584
6585         * INSTALL, configure.in: --with-skey and --with-opie now take an
6586           option directory argument This obsoletes a --with-csops hack
6587           (/tools/cs/skey)
6588
6589           Also remove the remaining direct uses of "echo"
6590
6591 2003-03-20 17:44  millert
6592
6593         * configure.in: Detect KTH Kerberos IV and deal with it.  Also make
6594           -lroken optional for KTH Kerberos IV and V.
6595
6596 2003-03-20 14:42  millert
6597
6598         * aclocal.m4: Add SUDO_APPEND_LIBPATH function that add
6599           -L/path/to/dir (and -R/path/to/dir if $with_rpath) to the
6600           specified variable.
6601
6602 2003-03-20 14:40  millert
6603
6604         * INSTALL, configure.in: Add -R/path/to/libs for Solaris and SVR4.
6605           There is a new configure option, --with-rpath to control this
6606           behavior.
6607
6608 2003-03-19 23:50  millert
6609
6610         * configure.in: for kerb4 put libdes after libkrb on the link line
6611
6612 2003-03-19 23:49  millert
6613
6614         * auth/kerb4.c: typo
6615
6616 2003-03-19 23:33  millert
6617
6618         * configure.in: fix kerberos lib check when a path is specified
6619
6620 2003-03-19 21:04  millert
6621
6622         * logging.c: Fix boolean thinko in SIGCHLD reaper and call
6623           reapchild after sending mail instead of doing a conditional
6624           sudo_waitpid.
6625
6626 2003-03-19 16:20  millert
6627
6628         * configure: regen
6629
6630 2003-03-19 16:19  millert
6631
6632         * configure.in: replace =DIR with [=DIR] where sensible
6633
6634 2003-03-19 16:16  millert
6635
6636         * configure.in: o Use AC_MSG_* instead of "echo" o New Kerberos
6637           include/lib detection based on openssh's configure.in
6638
6639 2003-03-19 15:58  millert
6640
6641         * INSTALL: --with-kerb4 and --with-kerb5 now take an optional
6642           argument.
6643
6644 2003-03-15 22:03  millert
6645
6646         * auth/securid.c: Kill remaining strcpy(), the programmer's guide
6647           says username is 32 bytes.
6648
6649 2003-03-15 21:18  millert
6650
6651         * auth/kerb4.c: trat uid_t as unsigned long for printf and use
6652           snprintf, not sprintf
6653
6654 2003-03-15 21:18  millert
6655
6656         * auth/rfc1938.c: use snprintf
6657
6658 2003-03-15 15:37  millert
6659
6660         * auth/: afs.c, aix_auth.c, bsdauth.c, dce.c, fwtk.c, kerb4.c,
6661           kerb5.c, pam.c, passwd.c, rfc1938.c, sudo_auth.c: update
6662           copyright year
6663
6664 2003-03-15 15:31  millert
6665
6666         * LICENSE, alloc.c, check.c, configure.in, env.c, sudo.c,
6667           Makefile.in, aclocal.m4, compat.h, find_path.c, interfaces.c,
6668           logging.c, parse.c, parse.lex, parse.yacc, set_perms.c, sudo.h,
6669           sudo.pod, sudoers.pod, testsudoers.c, version.h, visudo.c,
6670           visudo.pod, sudo.man.in, sudoers.man.in, visudo.man.in: update
6671           copyright year
6672
6673 2003-03-15 15:19  millert
6674
6675         * check.c, env.c, sudo.c: Cast [ug]ids to unsigned long and printf
6676           with %lu
6677
6678 2003-03-15 15:17  millert
6679
6680         * configure: regen
6681
6682 2003-03-15 15:16  millert
6683
6684         * configure.in: correct error messages for
6685           --with-sudoers-{mode,uid,gid}
6686
6687 2003-03-15 15:10  millert
6688
6689         * alloc.c: make the malloc(0) error specific to each function to
6690           aid tracking down bugs.
6691
6692 2003-03-15 14:49  millert
6693
6694         * alloc.c: deal with platforms where size_t is signed and there is
6695           no SIZE_MAX or SIZE_T_MAX
6696
6697 2003-03-15 14:10  millert
6698
6699         * auth/kerb5.c: Make this compile w/ Heimdal and fix some gcc
6700           warnings.
6701
6702 2003-03-15 13:02  millert
6703
6704         * sudo.c: Use stat_sudoers macro so --with-stow can work
6705
6706 2003-03-15 13:01  millert
6707
6708         * INSTALL, config.h.in, configure, configure.in: Add support for
6709           --with-stow based on patches from Robert Uhl
6710
6711 2003-03-15 12:51  millert
6712
6713         * env.c: fix indentation
6714
6715 2003-03-15 00:21  millert
6716
6717         * configure.in: back out rev 1.352
6718
6719 2003-03-14 20:11  millert
6720
6721         * lex.yy.c: regen
6722
6723 2003-03-14 20:11  millert
6724
6725         * parse.lex: use strlcpy, not strncpy
6726
6727 2003-03-14 19:48  millert
6728
6729         * set_perms.c: Fix typo; check pw_uid, not pw_gid after
6730           setusercontext() failure.
6731
6732 2003-03-14 19:43  millert
6733
6734         * logging.c: use pid_t
6735
6736 2003-03-14 10:43  millert
6737
6738         * strlcat.c, strlcpy.c: Make gcc shutup about unused rcsid
6739
6740 2003-03-14 10:35  millert
6741
6742         * interfaces.c: Move the n == 0 check for the non-getifaddrs cas
6743
6744 2003-03-13 21:47  millert
6745
6746         * auth/rfc1938.c: skeychallenge() on NetBSD take a size parameter
6747
6748 2003-03-13 21:38  millert
6749
6750         * configure: regen
6751
6752 2003-03-13 21:38  millert
6753
6754         * configure.in: put -ldl after -lpam, not before; fixes static
6755           linking on Linux
6756
6757 2003-03-13 21:17  millert
6758
6759         * interfaces.c: Avoid malloc(0) and fix the loop invariant for the
6760           getifaddrs() case.
6761
6762 2003-03-13 20:24  millert
6763
6764         * sudo.man.in, sudoers.man.in, visudo.man.in, sudo.cat,
6765           sudoers.cat, visudo.cat: regen
6766
6767 2003-03-13 20:23  millert
6768
6769         * Makefile.in: Preserve copyright notice from .pod file in .man.in
6770           file
6771
6772 2003-03-13 20:01  millert
6773
6774         * visudo.pod: Add sudoers(5) to SEE ALSO
6775
6776 2003-03-13 15:27  millert
6777
6778         * lex.yy.c: regen
6779
6780 2003-03-13 15:27  millert
6781
6782         * parse.lex: Don't assume libc can realloc() a NULL string.  If
6783           malloc/realloc fails, make sure we just return; yyerror() is not
6784           terminal.
6785
6786 2003-03-13 15:17  millert
6787
6788         * lex.yy.c: regen
6789
6790 2003-03-13 15:17  millert
6791
6792         * parse.lex: simplify fill_args a little and use strlcpy for
6793           paranoia
6794
6795 2003-03-13 15:00  millert
6796
6797         * check.c, env.c, find_path.c, parse.c, parse.yacc, sudo.c,
6798           testsudoers.c: Use strlc{at,py} for paranoia's sake and exit on
6799           overflow.  In all cases the strings were either pre-allocated to
6800           the correct size of length checks were done before the copy but a
6801           little paranoia can go a long way.
6802
6803 2003-03-13 12:54  millert
6804
6805         * sudo.h: Add strlc{at,py} protos
6806
6807 2003-03-13 12:03  millert
6808
6809         * env.c, interfaces.c: Use erealloc3()
6810
6811 2003-03-13 12:00  millert
6812
6813         * configure: regen
6814
6815 2003-03-13 12:00  millert
6816
6817         * alloc.c: Oflow test of nmemb > SIZE_MAX / size is fine (don't
6818           need >=).  Use memcpy() instead of strcpy() in estrdup() so this
6819           is strcpy()-free.
6820
6821 2003-03-13 11:58  millert
6822
6823         * sudo.c: snprintf() a uid as %lu, not %ld to match the
6824           MAX_UID_T_LEN test in configure.
6825
6826 2003-03-13 11:56  millert
6827
6828         * aclocal.m4: In MAX_UID_T_LEN test cast uid_t to unsigned long,
6829           just unsigned.
6830
6831 2003-03-12 18:46  millert
6832
6833         * sudo.c: Use snprintf() for paranoia
6834
6835 2003-03-12 17:16  millert
6836
6837         * parse.yacc: Use emalloc2 and erealloc3
6838
6839 2003-03-12 17:08  millert
6840
6841         * Makefile.in: strlc{at,py} for those w/o it
6842
6843 2003-03-12 17:07  millert
6844
6845         * strlcat.c, strlcpy.c: stlc{at,py} for those w/o it.
6846
6847 2003-03-12 17:07  millert
6848
6849         * config.h.in, configure, configure.in: Add stlc{at,py} for those
6850           w/o it.
6851
6852 2003-03-12 16:51  millert
6853
6854         * alloc.c, sudo.h: Add erealloc3(), a realloc() version of
6855           emalloc2().
6856
6857 2003-03-12 16:45  millert
6858
6859         * interfaces.c, sudo.c: Use emalloc2() to allocate N things of a
6860           certain size.
6861
6862 2003-03-12 16:41  millert
6863
6864         * alloc.c, sudo.h: Add emalloc2() -- like calloc() but w/o the
6865           bzero and with error/oflow checking.
6866
6867 2003-03-12 16:23  millert
6868
6869         * alloc.c: Error out on malloc(0); suggested by theo
6870
6871 2003-03-09 19:34  millert
6872
6873         * configure, configure.in: fix a typo; David Krause
6874
6875 2003-03-07 10:46  millert
6876
6877         * sudo.pod: fix typo
6878
6879 2003-03-03 21:47  millert
6880
6881         * env.c: Remove DYLD_ from the environment for MacOS X; from bbraun
6882
6883 2003-03-01 13:20  millert
6884
6885         * configure.in, config.h.in: not not; Anil Madhavapeddy
6886
6887 2003-01-23 03:03  millert
6888
6889         * sudo.pod, sudoers.pod, visudo.pod: typos; jmc@openbsd.org
6890
6891 2003-01-20 16:13  millert
6892
6893         * parse.yacc: Add some missing ';' rule terminators that bison
6894           warns about.
6895
6896 2003-01-20 16:07  millert
6897
6898         * config.sub: fix typo I introduced in last merge
6899
6900 2003-01-20 15:59  millert
6901
6902         * configure: regenerate with autoconf 2.57
6903
6904 2003-01-20 15:58  millert
6905
6906         * config.h.in: Add missing "$HOME"
6907
6908 2003-01-20 15:57  millert
6909
6910         * configure.in: Add some more square backets to make autoconf 2.57
6911           happy
6912
6913 2003-01-20 14:39  millert
6914
6915         * config.guess, config.sub, mkinstalldirs: Updates from
6916           autoconf-2.57
6917
6918 2003-01-17 18:10  millert
6919
6920         * lex.yy.c, sudo.tab.h: regen
6921
6922 2003-01-17 18:09  millert
6923
6924         * parse.lex, parse.yacc, sudoers.pod: Add support for
6925           Defaults>RunasUser
6926
6927 2003-01-06 19:10  millert
6928
6929         * visudo.c: fclose() yyin after each yyparse() is done and use
6930           fopen() instead of using freopen().
6931
6932 2003-01-06 19:02  millert
6933
6934         * parse.lex: Better fix for sudoers files w/o a newline before EOF.
6935           It looks like the issue is that yyrestart() does not reset the
6936           start condition to INITIAL which is an issue since we parse
6937           sudoers multiple times.
6938
6939 2003-01-06 18:47  millert
6940
6941         * parse.lex: Work around what appears to be a flex bug when dealing
6942           with files that lack a final newline before EOF.  This adds a
6943           rule to match EOF in the non-initial states which resets the
6944           state to INITIAL and throws an error.
6945
6946 2003-01-06 15:06  millert
6947
6948         * visudo.c: o The parser needs sudoers to end with a newline but
6949           some editors (emacs) may   not add one.  Check for a missing
6950           newline at EOF and add one if needed.  o Set quiet flag during
6951           initial sudoers parse (to get options) o Move yyrestart() call
6952           and always use freopen() to open yyin after   initial sudoers
6953           parse.
6954
6955 2002-12-15 11:24  millert
6956
6957         * set_perms.c: Fix pasto/thinko in setresgid()/setregid() usage.
6958           Want to set effective gid, not real gid, when reading sudoers.
6959
6960 2002-12-15 11:08  millert
6961
6962         * set_perms.c: don't compile set_perms_posix if we have setreuid or
6963           setresuid
6964
6965 2002-12-14 14:21  millert
6966
6967         * sudo.pod, sudoers.pod: document new prompt escapes
6968
6969 2002-12-14 14:15  millert
6970
6971         * check.c: Add %U and %H escapes and redo prompt rewriting.  "%%"
6972           now gets collapsed to "%" as was originally intended.  This also
6973           gets rid of lastchar (does lookahead instead of lookback) which
6974           should simplify the logic slightly.
6975
6976 2002-12-13 13:20  millert
6977
6978         * tgetpass.c: Write the prompt *after* turning off echo to avoid
6979           some password characters being echoed on heavily-loaded machines
6980           with fast typists.
6981
6982 2002-12-13 13:09  millert
6983
6984         * config.sub: Add support for mipseb; wiz@danbala.tuwien.ac.at
6985
6986 2002-12-13 12:48  millert
6987
6988         * configure.in: Fix IRIX fallout from name changes in man dir/sect
6989           Makefile variables.  Patch from erici AT motown DOT cc DOT utexas
6990           DOT edu
6991
6992 2002-12-13 11:33  millert
6993
6994         * auth/pam.c: Keep a local copy of tgetpass_flags so we don't add
6995           in TGP_ECHO to the global copy.  Problem noted by Peter Pentchev.
6996
6997 2002-11-28 18:43  millert
6998
6999         * parse.yacc: Add missing yyerror() calls; YYERROR does not seem to
7000           call this for us.
7001
7002 2002-11-26 12:09  millert
7003
7004         * sudo.c: fix typo in comment; Pedro Bastos
7005
7006 2002-11-22 14:41  millert
7007
7008         * INSTALL: document --disable-setresuid
7009
7010 2002-11-22 14:41  millert
7011
7012         * auth/: aix_auth.c, bsdauth.c, fwtk.c, pam.c, sudo_auth.c:
7013           Sprinkle some volatile qualifiers to prevent over-enthusiastic
7014           optimizers from removing memset() calls.
7015
7016 2002-11-22 14:11  millert
7017
7018         * logging.c, parse.yacc: minor sign fixes pointed out by gcc
7019           -Wsign-compare
7020
7021 2002-11-22 14:09  millert
7022
7023         * set_perms.c, sudo.c, sudo.h: Revamp set_perms.  We now use a
7024           version based on setresuid() or setreuid() when possible since
7025           that allows us to support the stay_setuid option and we always
7026           know exactly what the semantics will be (various Linux kernels
7027           have broken POSIX saved uid support).
7028
7029 2002-11-22 14:08  millert
7030
7031         * config.h.in, configure: regen from configure.in
7032
7033 2002-11-22 14:07  millert
7034
7035         * configure.in: Add checks for setresuid() and a way to disable
7036           using it
7037
7038 2002-11-22 14:05  millert
7039
7040         * compat.h: No long need to emulate set*[ug]id() via setres[ug]id()
7041           or setre[ug]id().  The new set_perms stuff only uses things it
7042           knows are there.
7043
7044 2002-11-22 13:33  millert
7045
7046         * sudo.c: Before exec, restore state of signal handlers to be the
7047           same as when we were initialy invoked instead of just reseting to
7048           SIG_DFL.  Fixes a problem when using sudo with nohup.  Based on a
7049           patch from Paul Markham.
7050
7051 2002-11-22 13:23  millert
7052
7053         * sudo.c: o timestamp_uid should be uid_t, not int o clarify error
7054           message when sudo is run by root and no_root_sudo is set
7055
7056 2002-09-19 17:27  millert
7057
7058         * README: update ftp link for bison
7059
7060 2002-07-20 08:30  millert
7061
7062         * set_perms.c: Error out if setusercontext() fails and the runas
7063           user is not root.
7064
7065 2002-05-20 16:51  millert
7066
7067         * auth/securid5.c: Fix rcsid
7068
7069 2002-05-20 16:50  millert
7070
7071         * configure.in: Fix SecurID API test
7072
7073 2002-05-17 13:20  millert
7074
7075         * env.c: typo in comment
7076
7077 2002-05-17 13:20  millert
7078
7079         * configure.in: securid5 stuff needs pthreads.  Just adding
7080           -lpthread is suboptimal but I don't see a better way at the
7081           moment.
7082
7083 2002-05-17 13:04  millert
7084
7085         * Makefile.in, auth/securid5.c: SecurID API version 5 support from
7086           Michael Stroucken
7087
7088 2002-05-17 13:02  millert
7089
7090         * configure.in: Add check for SecurID 5.0 API
7091
7092 2002-05-08 16:46  millert
7093
7094         * strerror.c: We actually do still need config.h to get the 'const'
7095           definition for K&R C.
7096
7097 2002-05-05 16:43  millert
7098
7099         * configure: regen with autoconf 2.5.3
7100
7101 2002-05-05 16:25  millert
7102
7103         * configure.in: Don't set sysconfdir to '/etc' if the user has
7104           specified a --prefix.
7105
7106 2002-05-05 16:14  millert
7107
7108         * configure.in: Some fixes for autoconf 2.53 from Robert Uhl  o
7109           don't AC_SUBST LIBOBJS  o force a 4th arg for AC_CHECK_HEADER()
7110           to workaround a bug
7111
7112 2002-05-05 15:58  millert
7113
7114         * env.c, sudo.c, sudo.h: No need for dump_badenv() now that
7115           dump_defaults() knows how to dump lists.
7116
7117 2002-05-04 21:31  millert
7118
7119         * BUGS, INSTALL, Makefile.in, configure.in, version.h,
7120           INSTALL.binary, README: ++version
7121
7122 2002-05-04 20:57  millert
7123
7124         * sudoers.pod: document timestampowner
7125
7126 2002-05-04 20:45  millert
7127
7128         * check.c: Don't call set_perms() when doing timestamp stuff unless
7129           timestamp_uid != 0.
7130
7131 2002-05-04 20:43  millert
7132
7133         * check.c, logging.c, parse.c, set_perms.c, sudo.c, sudo.h,
7134           testsudoers.c, auth/sudo_auth.c: g/c second arg to set_perms--it
7135           is no longer used
7136
7137 2002-05-03 18:48  millert
7138
7139         * check.c, set_perms.c, sudo.c, sudo.h: Add support for non-root
7140           timestamp dirs.  This allows the timestamp dir to be shared via
7141           NFS (though this is not recommended).
7142
7143 2002-05-03 18:47  millert
7144
7145         * def_data.c, def_data.h, def_data.in: Add timestampowner, "Owner
7146           of the authentication timestamp dir"
7147
7148 2002-05-02 15:40  millert
7149
7150         * env.c: Don't try to pre-compute the size of the new envp, just
7151           allocate space up front and realloc as needed.  Changes to the
7152           new env pointer must all be made through insert_env() which now
7153           keeps track of spaced used and allocates as needed.
7154
7155 2002-04-26 15:12  millert
7156
7157         * configure: regen
7158
7159 2002-04-26 15:12  millert
7160
7161         * configure.in: Fix two typo/pastos; from jrj@purdue.edu
7162
7163 2002-04-25 11:36  millert
7164
7165         * INSTALL.binary, README: ++version
7166
7167 2002-04-25 11:35  millert
7168
7169         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in, visudo.cat,
7170           visudo.man.in, configure: regen
7171
7172 2002-04-25 11:31  millert
7173
7174         * CHANGES, RUNSON, TODO: Sync with 1.6.6
7175
7176 2002-04-25 11:30  millert
7177
7178         * check.c: The the loop used to expand %h and %u, the lastchar
7179           variable was not being initialized.  This means that if the last
7180           char in the prompt is '%' and the first char is 'h' or 'u' a
7181           extra copy of the host or user name would be copied, for which
7182           space had not been allocated.
7183
7184 2002-04-18 11:41  millert
7185
7186         * BUGS, INSTALL, Makefile.in, configure.in, version.h: crank
7187           version to 1.6.6
7188
7189 2002-04-18 11:39  millert
7190
7191         * auth/afs.c: #undef VOID to get rid of an AFS warning
7192
7193 2002-04-18 11:38  millert
7194
7195         * env.c: Use easprintf instead of emalloc + sprintf for some
7196           things.
7197
7198 2002-03-15 19:45  millert
7199
7200         * lex.yy.c: regen
7201
7202 2002-03-15 19:44  millert
7203
7204         * parse.c, parse.lex, parse.yacc, testsudoers.c: Remove Chris
7205           Jepeway's email address so people don't bug him ;-)
7206
7207 2002-03-11 22:19  millert
7208
7209         * sudo.c: Move endpwent() to be after set_perms(PERM_RUNAS, ...)
7210           and also call endgrent() at the same time.
7211
7212 2002-02-21 22:23  millert
7213
7214         * INSTALL: Make it clear which configure options take arguments.
7215
7216 2002-01-25 13:38  millert
7217
7218         * compat.h: HP-UX 9.x has RLIMIT_* but no RLIM_INFINITY.  If there
7219           is no RLIM_INFINITY, just pretend it is -1.  This works because
7220           we only check for RLIM_INFINITY and do not set anything to that
7221           value.
7222
7223 2002-01-22 11:43  millert
7224
7225         * auth/pam.c: Zero and free allocated memory when there is a
7226           conversation error.
7227
7228 2002-01-21 22:37  millert
7229
7230         * auth/bsdauth.c: Use sigaction() not signal()
7231
7232 2002-01-21 22:26  millert
7233
7234         * INSTALL: Mention that some linux kernels have broken POSIX saved
7235           ID support
7236
7237 2002-01-21 21:03  millert
7238
7239         * CHANGES: checkpoint for 1.6.5p2
7240
7241 2002-01-21 21:01  millert
7242
7243         * configure: regen
7244
7245 2002-01-21 21:01  millert
7246
7247         * configure.in: Add --disable-setreuid flag
7248
7249 2002-01-21 21:00  millert
7250
7251         * INSTALL: Document new --disable-setreuid option and change
7252           description for --disable-saved-ids to match new error message.
7253
7254 2002-01-21 21:00  millert
7255
7256         * set_perms.c: fatal() now takes an argument that determines
7257           whether or not to call perror().
7258
7259 2002-01-21 20:58  millert
7260
7261         * PORTING, TROUBLESHOOTING: Update for new error messages from
7262           set_perms()
7263
7264 2002-01-21 17:46  millert
7265
7266         * auth/pam.c: Make this compile w/o warnings
7267
7268 2002-01-21 17:36  millert
7269
7270         * auth/pam.c: Mention that we can't use pam_acct_mgmt()
7271
7272 2002-01-21 17:25  millert
7273
7274         * auth/: aix_auth.c, bsdauth.c, fwtk.c, pam.c: The user's password
7275           was not zeroed after use when AIX authentication, BSD
7276           authentication, FWTK or PAM was in use.
7277
7278 2002-01-20 14:21  millert
7279
7280         * auth/pam.c: Avoid giving PAM a NULL password response, use the
7281           empty string instead.  This avoids a log warning when the user
7282           hits ^C at the password prompt when PAM is in use.
7283
7284 2002-01-19 19:46  millert
7285
7286         * auth/pam.c: Don't check the return value of pam_setcred().  In
7287           Linux-PAM 0.75 pam_setcred() returns the last saved return code,
7288           not the return code for the setcred module.  Because we haven't
7289           called pam_authenticate(), this is not set and so pam_setcred()
7290           returns PAM_PERM_DENIED.
7291
7292 2002-01-19 19:43  millert
7293
7294         * Makefile.binary, Makefile.in: Don't need a '/' between $(DESTDIR)
7295           and a directory.
7296
7297 2002-01-18 14:18  millert
7298
7299         * configure: regen
7300
7301 2002-01-18 14:18  millert
7302
7303         * configure.in: o BSDi also has a bogus setreuid() o Old FreeBSD
7304           has a bogus setreuid() o new NetBSD has a real setreuid() o add
7305           check for freeifaddrs() if getifaddrs() exists.
7306
7307 2002-01-18 14:17  millert
7308
7309         * config.h.in, interfaces.c: Older BSDi releases lack freeifaddrs()
7310           so add a test for that and if it is not present just use free().
7311
7312 2002-01-17 11:30  millert
7313
7314         * CHANGES, RUNSON: Checkpoint for 1.6.5p1
7315
7316 2002-01-17 10:56  millert
7317
7318         * auth/passwd.c: Return AUTH_FAILURE in passwd_init() if
7319           skeyaccess() denies access to normal passwords, not AUTH_FATAL
7320           (which just causes an exit).
7321
7322 2002-01-17 10:35  millert
7323
7324         * visudo.c: Don't use memory after it has been freed.
7325
7326 2002-01-17 00:24  millert
7327
7328         * auth/passwd.c: skeyaccess() wants a struct passwd * not a char *;
7329           Patch from Phillip E. Lobbes
7330
7331 2002-01-16 20:00  millert
7332
7333         * BUGS: ++version
7334
7335 2002-01-16 19:53  millert
7336
7337         * CHANGES, RUNSON, TODO: checkpoint for sudo 1.6.5
7338
7339 2002-01-16 18:37  millert
7340
7341         * configure: regen
7342
7343 2002-01-16 18:37  millert
7344
7345         * INSTALL, INSTALL.binary, Makefile.in, README, configure.in:
7346           version 1.6.5
7347
7348 2002-01-16 18:37  millert
7349
7350         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in, visudo.cat,
7351           visudo.man.in: sudo version 1.6.5
7352
7353 2002-01-16 16:28  millert
7354
7355         * logging.c: o when invoking the mailer as root use a hard-coded
7356           environment that   doesn't include any info from the user's
7357           environment.  Basically   paranoia.
7358
7359           o Add support for the NO_ROOT_MAILER compile-time option and run
7360           the   mailer as the user and not root if NO_ROOT_MAILER is
7361           defined.
7362
7363 2002-01-16 16:27  millert
7364
7365         * set_perms.c, sudo.h: Bring back PERM_FULL_USER
7366
7367 2002-01-16 16:26  millert
7368
7369         * configure: regen
7370
7371 2002-01-16 16:26  millert
7372
7373         * version.h: version 1.6.5
7374
7375 2002-01-16 16:26  millert
7376
7377         * INSTALL, config.h.in, configure.in: Add --disable-root-mailer
7378           option to run the mailer as the user and not root.
7379
7380 2002-01-16 12:44  millert
7381
7382         * CHANGES: checkpoint for 1.6.4p2
7383
7384 2002-01-15 19:22  millert
7385
7386         * PORTING: Mention the "seteuid(0): Operation not permitted"
7387           problem here too just for good measure.
7388
7389 2002-01-15 18:43  millert
7390
7391         * env.c, getspwuid.c, sudo.c: The SHELL environment variable was
7392           preserved from the user's environment instead of being reset
7393           based on the passwd database when the "env_reset" option was
7394           used.  Now it is reset as it should be.
7395
7396 2002-01-15 17:47  millert
7397
7398         * configure: regen
7399
7400 2002-01-15 17:47  millert
7401
7402         * INSTALL, TROUBLESHOOTING, config.h.in, configure.in, set_perms.c,
7403           sudo.c: Add a configure option to turn off use of POSIX saved IDs
7404
7405 2002-01-15 15:48  millert
7406
7407         * configure: regen
7408
7409 2002-01-15 15:48  millert
7410
7411         * configure.in: add --with-efence option
7412
7413 2002-01-15 15:39  millert
7414
7415         * sudo.c: Only OR in MODE_RESET_HOME if MODE_RUN is set.  Fixes a
7416           problem where "sudo -l" would not work if always_set_home was
7417           set.
7418
7419 2002-01-15 13:16  millert
7420
7421         * lex.yy.c: regen
7422
7423 2002-01-15 13:16  millert
7424
7425         * parse.lex: Quoted commas were not being treated correctly in
7426           command line arguments.
7427
7428 2002-01-14 20:53  millert
7429
7430         * sudo.c: o Move the call to rebuild_env() until after
7431           MODE_RESET_HOME is set.    Otherwise, the set_home option has no
7432           effect.
7433
7434           o Fix use of freed memory when the "fqdn" flag is set.  This was
7435            introduced by the fix for the "segv when gethostbynam() fails"
7436           bug.    Also, we no longer call set_fqdn() if the "fqdn" flag is
7437           not set so    there is no need to check the "fqdn" flag in
7438           set_fqdn() itself.
7439
7440 2002-01-14 20:45  millert
7441
7442         * env.c: Add 'continue' statements to optimize the switch
7443           statement.  From Solar.
7444
7445 2002-01-13 13:42  millert
7446
7447         * sudoers.cat, sudoers.man.in: Regen from new sudoers.pod
7448
7449 2002-01-13 13:36  millert
7450
7451         * sudoers.pod: Add caveat about stay_setuid flag
7452
7453 2002-01-13 13:29  millert
7454
7455         * sudo.c: If set_perms == set_perms_posix and the stay_setuid flag
7456           is not set, set all uids to 0 and use set_perms_fallback().
7457
7458 2002-01-13 13:28  millert
7459
7460         * set_perms.c, sudo.h: Remove PERM_FULL_USER (which is no longer
7461           used) and add PERM_FULL_ROOT (used when exec'ing the mailer).
7462
7463 2002-01-13 13:27  millert
7464
7465         * logging.c: Use set_perms(PERM_FULL_ROOT, 0) before exec'ing the
7466           mailer since we never want to run the mailer setuid.
7467
7468 2002-01-12 17:55  millert
7469
7470         * sudo.cat, sudo.man.in, sudo.pod, visudo.cat, visudo.man.in,
7471           visudo.pod: Use sudo.ws instead of courtesan.com in URLs
7472
7473 2002-01-12 14:00  millert
7474
7475         * Makefile.in, Makefile.binary: Fix mansect substitution
7476
7477 2002-01-12 13:15  millert
7478
7479         * Makefile.in: Substitute man sections in Makefile.binary
7480
7481 2002-01-12 13:15  millert
7482
7483         * Makefile.binary: Sync install targets with Makefile.in and
7484           substitute in man sections.
7485
7486 2002-01-12 13:09  millert
7487
7488         * INSTALL, INSTALL.binary: version is 1.6.4
7489
7490 2002-01-12 12:59  millert
7491
7492         * Makefile.in: Repair bindist target
7493
7494 2002-01-12 11:43  millert
7495
7496         * CHANGES: sync for 1.6.4
7497
7498 2002-01-10 13:00  millert
7499
7500         * install-sh: Fix case where neither whoami nor id are found
7501
7502 2002-01-09 12:35  millert
7503
7504         * install-sh: If neither whoami nor id exists, just assume we are
7505           root.
7506
7507 2002-01-09 11:56  millert
7508
7509         * alloc.c: Add explicit cast to (VOID *) on malloc/realloc.  Seems
7510           to be needed on AIX which for some reason isn't pulling in the
7511           malloc prototype.
7512
7513 2002-01-08 10:00  millert
7514
7515         * Makefile.in, aclocal.m4, compat.h, parse.c, sudo.c: (c) 2002
7516
7517 2002-01-08 09:21  millert
7518
7519         * CHANGES: checkpoint
7520
7521 2002-01-08 09:20  millert
7522
7523         * sudo.c: Defer assigning new environment until right before the
7524           exec.
7525
7526 2002-01-08 09:08  millert
7527
7528         * parse.c: kill extra blank line
7529
7530 2002-01-07 13:59  millert
7531
7532         * configure: regen
7533
7534 2002-01-07 13:59  millert
7535
7536         * configure.in: Use -O not -O2 for m88k-motorola-sysv* since
7537           motorola gcc-derived compiler doesn't recognise -O2.
7538
7539 2002-01-06 23:02  millert
7540
7541         * HISTORY: Clarify origins of Root Group sudo a bit based on info
7542           from billp@rootgroup.com
7543
7544 2002-01-02 22:41  millert
7545
7546         * LICENSE: 2002
7547
7548 2002-01-02 22:26  millert
7549
7550         * CHANGES: checkpoint for 1.6.4rc1
7551
7552 2002-01-02 17:40  millert
7553
7554         * config.h.in: now generated via autoheader
7555
7556 2002-01-02 17:40  millert
7557
7558         * configure: regen
7559
7560 2002-01-02 17:37  millert
7561
7562         * compat.h: Move in some stuff that was previously in config.h.
7563
7564 2002-01-02 17:36  millert
7565
7566         * configure.in, aclocal.m4: Add info for autoheader.
7567
7568 2002-01-01 16:53  millert
7569
7570         * Makefile.in:  o Add DESTDIR support
7571            o Use -M, -O, and -G instead of -m, -o, and -g to facilitate
7572           non-root installs
7573
7574 2002-01-01 16:48  millert
7575
7576         * install-sh: Add -M option (like -m but only for root) If we can't
7577           find "whoami", use "id" w/ some sed.
7578
7579 2002-01-01 14:01  millert
7580
7581         * configure: regen
7582
7583 2002-01-01 14:00  millert
7584
7585         * configure.in: allow user to always override mansectsu and
7586           mansectform
7587
7588 2001-12-31 17:05  millert
7589
7590         * mkinstalldirs: update from autoconf 2.52
7591
7592 2001-12-31 17:03  millert
7593
7594         * config.guess, config.sub: Update from autoconf 2.52
7595
7596 2001-12-31 16:57  millert
7597
7598         * configure: regen with autoconf 2.52
7599
7600 2001-12-31 16:57  millert
7601
7602         * configure.in:  o Call AC_PROG_CC_STDC to find out how to run the
7603           compiler in ANSI mode
7604            o Remove compiler-specific checks for HP-UX now that we use
7605           AC_PROG_CC_STDC
7606
7607 2001-12-31 12:19  millert
7608
7609         * RUNSON: Checkpoint
7610
7611 2001-12-31 12:18  millert
7612
7613         * auth/pam.c: o Add pam_prep_user function to call pam_setcred()
7614           for the target user;   on Linux this often sets resource limits.
7615           o When calling pam_end(), try to convert the auth->result to a
7616           PAM_FOO   value.  This is a hack--we really need to stash the
7617           last PAM_FOO   value received and use that instead.
7618
7619 2001-12-31 12:18  millert
7620
7621         * set_perms.c, sudo.h: o Add pam_prep_user function to call
7622           pam_setcred() for the target user;   on Linux this often sets
7623           resource limits.
7624
7625 2001-12-31 00:53  millert
7626
7627         * env.c: Fix off by one error in number of bytes allocated via
7628           malloc (does not affected any released version of sudo).
7629
7630 2001-12-30 17:12  millert
7631
7632         * lex.yy.c: regen
7633
7634 2001-12-30 17:12  millert
7635
7636         * parse.lex: Allow '@', '(', ')', ':' in arguments to a defaults
7637           variable w/o requiring that they be quoted.
7638
7639 2001-12-30 14:26  millert
7640
7641         * sudoers.cat, sudoers.man.in, sudoers.pod: Mention that no double
7642           quotes are needed when adding/deleting/assigning a single value
7643           to a list.
7644
7645 2001-12-30 13:58  millert
7646
7647         * Makefile.in: Don't rely on mkdefaults being executable, call perl
7648           explicitly.
7649
7650 2001-12-30 13:41  millert
7651
7652         * parse.yacc: Remove some XXX that are no longer relevant.
7653
7654 2001-12-30 13:40  millert
7655
7656         * defaults.c: o Roll our own loop instead of using strpbrk() for
7657           better grokability o When adding to a list we must malloc() and
7658           use memcpy(), not strdup()   since we must only copy len bytes
7659           from str.
7660
7661 2001-12-21 16:49  millert
7662
7663         * parse.yacc: typo in comment
7664
7665 2001-12-19 11:50  millert
7666
7667         * CHANGES: checkpoint
7668
7669 2001-12-19 10:56  millert
7670
7671         * configure: regen
7672
7673 2001-12-19 10:56  millert
7674
7675         * configure.in: avoid the -g flag unless --with-devel was specified
7676
7677 2001-12-19 10:04  millert
7678
7679         * Makefile.in: mkdefaults, def_data.in and sigaction.c were missing
7680           from the tarball
7681
7682 2001-12-19 09:46  millert
7683
7684         * Makefile.in: def_data.c was missing
7685
7686 2001-12-18 12:42  millert
7687
7688         * env.c: Fix setting of $USER and $LOGNAME in the non-reset_env
7689           case.  Also allow HOME, SHELL, LOGNAME, and USER to be specified
7690           in keep_env
7691
7692 2001-12-17 20:48  millert
7693
7694         * TODO: Another TODO item
7695
7696 2001-12-17 19:50  millert
7697
7698         * sudoers: Add comment for Default section so folks know where it
7699           should go.
7700
7701 2001-12-17 18:56  millert
7702
7703         * tgetpass.c: Use TCSETAF, not TCSETA to set terminal in termio
7704           case
7705
7706 2001-12-17 18:35  millert
7707
7708         * sudoers.man.in, sudoers.cat: regen from sudoers.pod
7709
7710 2001-12-17 18:33  millert
7711
7712         * sudoers.pod:  o Typo, Runas_User_List should be Runas_List
7713            o a User_List can not contain a uid
7714            o mention that the Defaults section should come after Alias
7715              definitions but before the user specifications
7716
7717 2001-12-15 11:51  millert
7718
7719         * sudoers.cat, sudoers.man.in: regen
7720
7721 2001-12-15 11:51  millert
7722
7723         * sudoers.pod: Fix listpw and verifypw sections, they were not
7724           being formatted properly.
7725
7726 2001-12-15 11:39  millert
7727
7728         * sudoers.cat, sudoers.man.in: regen
7729
7730 2001-12-15 11:38  millert
7731
7732         * sudoers.pod: fix typos
7733
7734 2001-12-15 10:57  millert
7735
7736         * configure: regen
7737
7738 2001-12-15 10:57  millert
7739
7740         * configure.in, config.h.in: use AC_SYS_POSIX_TERMIOS instead of
7741           rolling our own
7742
7743 2001-12-15 10:33  millert
7744
7745         * README: Reference sudo.ws not courtesan.com
7746
7747 2001-12-15 10:29  millert
7748
7749         * PORTING: Add notes on shadow passwords
7750
7751 2001-12-15 00:48  millert
7752
7753         * BUGS: In list mode (sudo -l), characters escaped with a backslash
7754           are shown verbatim with the backslash.
7755
7756 2001-12-15 00:44  millert
7757
7758         * sudoers: Add simple examples from OpenBSD (Marc Espie)
7759
7760 2001-12-15 00:40  millert
7761
7762         * tgetpass.c: Catch SIGTTIN and SIGTTOU too and treat them like
7763           SIGTSTP.
7764
7765 2001-12-14 21:53  millert
7766
7767         * CHANGES: minor prettyification
7768
7769 2001-12-14 21:43  millert
7770
7771         * CHANGES: Updated change log
7772
7773 2001-12-14 21:27  millert
7774
7775         * testsudoers.c: Fix CIDR handling here too.
7776
7777 2001-12-14 21:21  millert
7778
7779         * auth/pam.c: Apparently a NULL response is OK
7780
7781 2001-12-14 21:19  millert
7782
7783         * TODO: Checkpoint for upcoming beta release
7784
7785 2001-12-14 21:17  millert
7786
7787         * TROUBLESHOOTING: Many people believe that adding a runas spec
7788           should obviate the need for the -u flag.  It does not.
7789
7790 2001-12-14 21:11  millert
7791
7792         * RUNSON: checkpoint update for upcoming 1.6.4 beta
7793
7794 2001-12-14 20:44  millert
7795
7796         * config.h.in: o Add HAVE_STDLIB_H and HAVE_MEMORY_H o Define
7797           HAVE_STRINGS_H even if HAVE_STRING_H is defined -- this is safe
7798           now
7799
7800 2001-12-14 20:07  millert
7801
7802         * PORTING: Add signals section
7803
7804 2001-12-14 20:00  millert
7805
7806         * configure: regen
7807
7808 2001-12-14 20:00  millert
7809
7810         * configure.in: Fix check for sigaction_t
7811
7812 2001-12-14 19:45  millert
7813
7814         * sudo.c: XXX - should call find_path() as runas user, not root.
7815           Can't do that until the parser changes though.
7816
7817 2001-12-14 19:38  millert
7818
7819         * sudo.c: If find_path() fails as root, try again as the invoking
7820           user (useful for NFS).  Idea from Chip Capelik.
7821
7822 2001-12-14 19:28  millert
7823
7824         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in: Regenerate
7825           after pod file changes
7826
7827 2001-12-14 19:24  millert
7828
7829         * def_data.c, def_data.h, def_data.in, set_perms.c, sudo.c, sudo.h,
7830           sudo.pod, sudoers.pod: Add new sudoers option "preserve_groups".
7831           Previously sudo would not call initgroups() if the target user
7832           was root.  Now it always calls initgroups() unless the -P command
7833           line option or the "preserve_groups" sudoers option is set.  Idea
7834           from TJ Saunders.
7835
7836 2001-12-14 18:38  millert
7837
7838         * compat.h, config.h.in: Use new HAVE_SIGACTION_T define
7839
7840 2001-12-14 18:33  millert
7841
7842         * logging.c: Fix compilation on K&C
7843
7844 2001-12-14 18:14  millert
7845
7846         * configure: regen
7847
7848 2001-12-14 18:14  millert
7849
7850         * configure.in: Add check for sigaction_t -- IRIX already defines
7851           this so don't redefine it.
7852
7853 2001-12-14 17:15  millert
7854
7855         * snprintf.c: fix typo
7856
7857 2001-12-14 17:12  millert
7858
7859         * interfaces.c: need stdlib.h here too
7860
7861 2001-12-14 15:31  millert
7862
7863         * configure: regen
7864
7865 2001-12-14 15:31  millert
7866
7867         * configure.in: Remove redundant checks for string.h, strings.h and
7868           unistd.h
7869
7870 2001-12-14 15:29  millert
7871
7872         * sudo.cat, sudo.man.in, sudoers.cat, sudoers.man.in, visudo.cat,
7873           visudo.man.in: Regen from pod files
7874
7875 2001-12-14 15:03  millert
7876
7877         * BUGS: Update for 1.6.4
7878
7879 2001-12-14 14:59  millert
7880
7881         * configure, lex.yy.c: regen
7882
7883 2001-12-14 14:56  millert
7884
7885         * strerror.c: Return EINVAL if errnum > sys_nerr
7886
7887 2001-12-14 14:54  millert
7888
7889         * LICENSE, Makefile.binary, Makefile.in, aclocal.m4, compat.h,
7890           config.h.in, defaults.h, interfaces.h, pathnames.h.in, sudo.h,
7891           sudo.pod, auth/sudo_auth.h: o Update copyright year
7892
7893 2001-12-14 14:54  millert
7894
7895         * configure.in: o Don't define STDC_HEADERS unconditionally for
7896           IRIX o Update copyright year
7897
7898 2001-12-14 14:53  millert
7899
7900         * README: update version
7901
7902 2001-12-14 14:52  millert
7903
7904         * alloc.c, check.c, defaults.c, env.c, fileops.c, find_path.c,
7905           fnmatch.c, getcwd.c, getspwuid.c, goodpath.c, interfaces.c,
7906           logging.c, lsearch.c, parse.c, parse.lex, parse.yacc,
7907           set_perms.c, snprintf.c, sudo.c, testsudoers.c, tgetpass.c,
7908           utime.c, visudo.c, auth/afs.c, auth/aix_auth.c, auth/bsdauth.c,
7909           auth/dce.c, auth/fwtk.c, auth/kerb4.c, auth/kerb5.c, auth/pam.c,
7910           auth/passwd.c, auth/rfc1938.c, auth/secureware.c, auth/securid.c,
7911           auth/sia.c, auth/sudo_auth.c: o Reorder some headers and use
7912           STDC_HEADERS define properly o Update copyright year
7913
7914 2001-12-14 01:53  millert
7915
7916         * configure: regen
7917
7918 2001-12-14 01:53  millert
7919
7920         * tgetpass.c: flags set in signal handlers should be volatile
7921           sig_atomic_t
7922
7923 2001-12-14 01:52  millert
7924
7925         * config.h.in, configure.in: Add checks for volatile and
7926           sig_atomic_t
7927
7928 2001-12-14 01:42  millert
7929
7930         * lex.yy.c, configure: regen
7931
7932 2001-12-14 01:40  millert
7933
7934         * def_data.c, def_data.h, def_data.in, defaults.c, env.c,
7935           find_path.c, sudo.c, sudoers.pod: Remove "secure_path" Defaults
7936           option since it cannot work with the existing parser.
7937
7938 2001-12-14 01:26  millert
7939
7940         * find_path.c, sudo.c: Unset "secure_path" if user_is_exempt()
7941
7942 2001-12-14 01:24  millert
7943
7944         * env.c, pathnames.h.in: o Remove assumption that PATH and TERM are
7945           not listed in env_keep o If no PATH is in the environment use a
7946           default value o If TERM is not set in the non-reset case also
7947           give it a default   value.
7948
7949 2001-12-14 01:17  millert
7950
7951         * aclocal.m4, configure.in, defaults.c, pathnames.h.in:
7952           _PATH_SENDMAIL -> _PATH_SUDO_SENDMAIL so --without-sendmail works
7953           on systems that define  in paths.h
7954
7955 2001-12-14 01:15  millert
7956
7957         * auth/: passwd.c, sudo_auth.c, sudo_auth.h: Add support for
7958           skeyaccess(3) if it is present in libskey.
7959
7960 2001-12-12 21:42  millert
7961
7962         * sudo.c: Only need to do 'lc = login_getclass(NULL)' if lc == NULL
7963
7964 2001-12-12 21:24  millert
7965
7966         * parse.lex: '\\' is a perfectly legal character to have in a
7967           command line argument.
7968
7969 2001-12-12 20:24  millert
7970
7971         * sudo.c: o Defer call to set_fqdn() until it is safe to use
7972           log_error() o Don't print errno string value if gethostbyname
7973           fails, it is not relevant
7974
7975 2001-12-12 20:07  millert
7976
7977         * parse.c: Fix CIDR -> in_addr_t conversion.
7978
7979 2001-12-12 16:21  millert
7980
7981         * sudoers.pod: Remove an extra "User_List" in the User_Spec
7982           definition From ybertrand AT snoopymail.com
7983
7984 2001-12-12 16:00  millert
7985
7986         * parse.c: Make 'listpw=never' work for users who are not
7987           explicitly mentioned in sudoers.
7988
7989 2001-12-12 15:40  millert
7990
7991         * sudoers.pod: Remove gratuitous '=' in EBNF grammar; era AT iki.fi
7992
7993 2001-12-12 15:34  millert
7994
7995         * sudoers.pod: Document new list Defaults type and convert env_keep
7996           and env_delete to lists.  Document new env_check option.
7997
7998 2001-12-12 15:11  millert
7999
8000         * lex.yy.c, sudo.tab.h: regen parser
8001
8002 2001-12-12 14:56  millert
8003
8004         * parse.lex: Don't let '#' appear in a {WORD} and restrict #foo in
8005           a Runas spec to #[0-9-]+.
8006
8007 2001-12-12 14:55  millert
8008
8009         * configure: regen
8010
8011 2001-12-12 14:55  millert
8012
8013         * aclocal.m4: Simpler SUDO_FUNC_ISBLANK that uses AC_TRY_LINK
8014
8015 2001-12-12 14:43  millert
8016
8017         * config.h.in, configure.in: Add check for skeyaccess(3)
8018
8019 2001-12-11 19:47  millert
8020
8021         * visudo.pod: Document new -c, -f, and -q options
8022
8023 2001-12-11 19:41  millert
8024
8025         * visudo.c: o Add -f option (alternate sudoers file) o Convert to
8026           use getopt(3)
8027
8028 2001-12-11 19:31  millert
8029
8030         * configure: regen
8031
8032 2001-12-11 19:31  millert
8033
8034         * aclocal.m4, config.h.in, configure.in: Add check for isblank and
8035           a replacement macro if it doesn't exist.
8036
8037 2001-12-11 18:22  millert
8038
8039         * visudo.c: In check-only mode, don't create sudoers if it does not
8040           already exist.
8041
8042 2001-12-11 18:06  millert
8043
8044         * parse.yacc:  o Add a new token, DEFVAR, to indicate a Defaults
8045           variable name
8046            o Add support for "+=" and "-=" list operators
8047            o replace some 1 and 0 with TRUE and FALSE for greater
8048           legibility.
8049
8050 2001-12-11 18:05  millert
8051
8052         * parse.lex:  o Use exclusive start conditions to remove some
8053           ambiguity in the
8054              lexer.  Also reorder some things for clarity.
8055            o Add support for "+=" and "-=" list operators.
8056            o Use the new DEFVAR token to denote a Defaults variable name.
8057
8058 2001-12-11 18:03  millert
8059
8060         * sudo.h: Prototype init_envtables()
8061
8062 2001-12-11 18:02  millert
8063
8064         * env.c:  o Convert environment handling to use lists instead of
8065           strings.
8066              This greatly simplifies routines that need to do "foreach"
8067           type
8068              operations.
8069            o Add new init_envtables() function to set env_check and
8070           env_delete
8071              defaults based on initial_badenv_table and
8072           initial_checkenv_table
8073              (formerly sudo_badenv_table).
8074
8075 2001-12-11 18:00  millert
8076
8077         * defaults.c, defaults.h:  o Add a new LIST type and functions to
8078           manipulate it.
8079            o This is for use with environment handling variables.
8080            o Call new init_envtables() routine inside init_defaults() to
8081              initialize the environment lists.
8082
8083 2001-12-11 17:57  millert
8084
8085         * def_data.c, def_data.h, def_data.in: Convert environment options
8086           to use the new LIST type and add a new one, env_check that only
8087           deletes if the sanity check fails.
8088
8089 2001-12-11 17:55  millert
8090
8091         * testsudoers.c: Add dummy version of init_envtables()
8092
8093 2001-12-11 17:53  millert
8094
8095         * parse.yacc: honor quiet mode
8096
8097 2001-12-11 17:51  millert
8098
8099         * visudo.c: Add check-only mode
8100
8101 2001-12-10 20:27  millert
8102
8103         * mkdefaults: Fix generation of entries with NULL descriptions.
8104
8105 2001-12-09 00:27  millert
8106
8107         * tgetpass.c: Use sigaction_t and quiet a gcc warning.
8108
8109 2001-12-09 00:20  millert
8110
8111         * sudo.c: Must reset signal handlers before we exec
8112
8113 2001-12-09 00:16  millert
8114
8115         * auth/: aix_auth.c, bsdauth.c, fwtk.c, pam.c, sudo_auth.c: Be
8116           carefule now that tgetpass() can return NULL (user hit ^C).  PAM
8117           version needs testing.  Set SIGTSTP to SIG_DFL during password
8118           entry so user can suspend us.
8119
8120 2001-12-09 00:14  millert
8121
8122         * tgetpass.c: Add support for interrupting/suspending tgetpass via
8123           keyboard input.  If you suspend sudo from the password prompt and
8124           resume it will re-prompt you.
8125
8126 2001-12-09 00:09  millert
8127
8128         * sudo.c: Don't block keyboard interrupt signals, just set them to
8129           SIG_IGN.
8130
8131 2001-12-08 14:48  millert
8132
8133         * config.h.in: add back HAVE_SIGACTION
8134
8135 2001-12-08 14:44  millert
8136
8137         * configure: regen
8138
8139 2001-12-08 14:44  millert
8140
8141         * config.h.in, configure.in, logging.c, sudo.c, visudo.c: Kill
8142           POSIX_SIGNALS define and old signal support now that we emulate
8143           POSIX ones Also be sure to correctly initialize struct sigaction.
8144
8145 2001-12-08 14:42  millert
8146
8147         * strerror.c: Don't need config.h or "#ifndef HAVE_STRERROR"
8148           wrapper.
8149
8150 2001-12-08 14:39  millert
8151
8152         * compat.h: Add scaffolding for POSIX signal emulation
8153
8154 2001-12-08 14:36  millert
8155
8156         * sigaction.c: o Add missing ';' so this compiles o Can't use NULL
8157           since we don't include stdio.h
8158
8159 2001-12-08 14:23  millert
8160
8161         * sigaction.c: Emulate sigaction() using sigvec()
8162
8163 2001-11-12 19:32  millert
8164
8165         * sudoers.pod: Document new behavior of negative values of
8166           timestamp_timeout Fix a typo
8167
8168 2001-11-12 19:31  millert
8169
8170         * sudo.pod: Add security note about command not being logged after
8171           'sudo su' and friends.
8172
8173 2001-11-12 19:19  millert
8174
8175         * sudo.pod: Mention that -V prints default values when run as root,
8176           including the list of environment variables to clear.
8177
8178 2001-11-12 19:14  millert
8179
8180         * Makefile.in: Run pod2man with --quotes=none to avoid stupid
8181           quoting of C<> entries.
8182
8183 2001-11-12 13:12  millert
8184
8185         * def_data.c, def_data.h, def_data.in, sudoers.pod,
8186           auth/sudo_auth.c: Add mail_badpass option Also modify mail_always
8187           behavior to also send mail when the password is wrong
8188
8189 2001-11-12 13:08  millert
8190
8191         * env.c, sudo.c, sudo.h: Dump default bad env table when 'sudo -V'
8192           is run by root.
8193
8194 2001-11-11 23:52  millert
8195
8196         * sudoers.pod: document env_delete
8197
8198 2001-11-11 23:51  millert
8199
8200         * env.c: Add support for '*' in env_keep when not resetting the
8201           environment (ie: the normal case).
8202
8203 2001-11-11 23:47  millert
8204
8205         * env.c: Add env_delete variable that lets the user replace/add to
8206           the bad_env_table.  Allow '*' wildcard in env_keep entries.
8207
8208 2001-11-06 13:59  millert
8209
8210         * mkinstalldirs: Force umask to 022 to guarantee sane directory
8211           permissions.
8212
8213 2001-11-02 18:09  millert
8214
8215         * Makefile.in: add sudo.tab.h and sudo.tab.c to sudo.tab.o
8216           dependency
8217
8218 2001-11-02 17:25  millert
8219
8220         * mkdefaults: fix breakage in last commit
8221
8222 2001-11-02 17:18  millert
8223
8224         * Makefile.in: acsite.m4 -> aclocal.m4
8225
8226 2001-11-02 15:59  millert
8227
8228         * check.c: fix I_TS_TIMEOUT vs. I_TIMESTAMP_TIMEOUT pasto in
8229           previous commit
8230
8231 2001-11-02 15:57  millert
8232
8233         * def_data.c: regenerated from def_data.in
8234
8235 2001-11-02 15:56  millert
8236
8237         * check.c, defaults.c, defaults.h: Add new T_UINT type that most
8238           things use instead of T_INT If timestamp_timeout is < 0 then
8239           treat the ticket as never expiring (to be expired manually by the
8240           user).
8241
8242 2001-11-02 15:51  millert
8243
8244         * def_data.in: change most T_INT -> T_UINT
8245
8246 2001-11-02 15:51  millert
8247
8248         * mkdefaults: fix warning when no args
8249
8250 2001-11-02 12:52  millert
8251
8252         * visudo.c: Change 2 Exit() -> exit() Avoid stdio in Exit() and
8253           call _exit() if we are a signal handler.  We no longer print the
8254           signal number but the user can just check the exit value for
8255           that.
8256
8257 2001-10-16 01:35  millert
8258
8259         * logging.c: when setting up pipes in child process check for case
8260           where stdin == pipe fd 0
8261
8262 2001-10-11 13:20  millert
8263
8264         * visudo.c: Ignore editor exit value since XPG4 says vi's exit
8265           value is the count of editing errors made (failed searches, etc).
8266
8267 2001-10-05 16:39  millert
8268
8269         * configure: regen
8270
8271 2001-10-05 16:39  millert
8272
8273         * configure.in: sco now is identified by config.guess as *-sco-*
8274
8275 2001-10-05 16:24  millert
8276
8277         * configure.in: Check for getspnam() in -lgen if not in -lc for
8278           UnixWare.
8279
8280 2001-09-17 21:48  millert
8281
8282         * sudoers.pod, visudo.pod: "upper case" -> "uppercase"
8283
8284 2001-09-17 21:32  millert
8285
8286         * sudoers.pod: fix typos and grammar; pjanzen@foatdi.harvard.edu
8287
8288 2001-08-28 10:26  millert
8289
8290         * sudoers.pod: Missing word (specify); krapht@secureops.com
8291
8292 2001-08-23 17:43  millert
8293
8294         * sudo.c: If we fail to lookup a login class, apply the default
8295           one.
8296
8297 2001-08-23 17:42  millert
8298
8299         * logging.c: In log_error() free message, not logline
8300           unconditionally, then free logline if it is not the same as
8301           message.  No function change but this mirrors how they are
8302           allocated.
8303
8304 2001-07-16 23:33  millert
8305
8306         * configure: regenerate
8307
8308 2001-07-16 23:33  millert
8309
8310         * configure.in: remove some backslash quotes that are unneeded
8311
8312 2001-07-16 23:30  millert
8313
8314         * configure.in: o Tweaks to make this work with autoconf-2.50 o Use
8315           AC_LIBOBJ instead of changing LIBOBJS directly o Use
8316           AC_REPLACE_FUNCS where we can o Use AC_CHECK_FUNCS instead of
8317           AC_CHECK_FUNC so we don't have to   AC_DEFINE things manually.
8318
8319 2001-07-16 23:28  millert
8320
8321         * config.guess, config.sub: Updated from autoconf-2.50
8322
8323 2001-05-22 19:11  millert
8324
8325         * README: Update mailing list section.  We use mailman now, not
8326           majordomo.
8327
8328 2001-05-10 14:55  millert
8329
8330         * getspwuid.c, logging.c, sudo.c: Use setpwent()/endpwent() + all
8331           the shadow variants to make sure we don't inadvertantly leak an
8332           fd to the child.  Apparently Linux's shadow routines leave the fd
8333           open even if you don't call setspent().  Reported by
8334           mike@gistnet.com; different patch used.
8335
8336 2001-04-12 21:43  millert
8337
8338         * sudoers.pod: s/eg./e.g./
8339
8340 2001-04-12 21:42  millert
8341
8342         * tgetpass.c: select() may return EAGAIN.  If so, continue like we
8343           do for EINTR.
8344
8345 2001-04-12 21:41  millert
8346
8347         * logging.c: Fix a non-exploitable buffer overflow in the word
8348           splitting code.  This should really be rewritten.
8349
8350 2001-04-12 21:41  millert
8351
8352         * Makefile.in: FAQ link goes away
8353
8354 2001-04-12 21:40  millert
8355
8356         * INSTALL: Tell people to look in sample.syslog.conf for examples,
8357           not FAQ
8358
8359 2001-04-12 21:40  millert
8360
8361         * TROUBLESHOOTING: Update list of env vars that are cleared
8362
8363 2001-04-12 21:36  millert
8364
8365         * sudo.c: remove struct env_table decl since that stuff has all
8366           moved to env.c
8367
8368 2001-04-04 13:17  millert
8369
8370         * fileops.c: Fix a pasto in flock-style unlocking and include
8371           <sys/file.h> for flock on older systems; twetzel@gwdg.de
8372
8373 2001-04-04 13:14  millert
8374
8375         * configure: regen to get NeXT lockf/flock fix
8376
8377 2001-04-04 13:14  millert
8378
8379         * configure.in: force NeXT to use flock since lockf is broken
8380
8381 2001-03-30 08:54  millert
8382
8383         * check.c: Use stashed user_gid when checking against exempt gid
8384           since sudo sets its gid to a a value that makes sudoers readable.
8385           Previously if you used gid 0 as the exempt group everyone would
8386           be exempt.  From Paul Kranenburg <pk@cs.few.eur.nl>
8387
8388 2001-03-29 13:14  millert
8389
8390         * configure: regen
8391
8392 2001-03-29 13:08  millert
8393
8394         * aclocal.m4: #include stdio.h in SUDO_CHECK_TYPE since IRIX 6
8395           aparently defines some types (such as ssize_t) therein.
8396
8397 2001-03-02 09:09  millert
8398
8399         * defaults.c: Fix negation of paths in a boolean context.  Problem
8400           found by apt@UH.EDU
8401
8402 2001-02-23 13:03  millert
8403
8404         * visudo.c: pasto
8405
8406 2001-02-17 16:11  millert
8407
8408         * visudo.c: SA_RESETHAND means the opposite of what I was
8409           thinking--oops To block all signals in old-style signals use ~0,
8410           not 0xffffffff
8411
8412 2001-02-04 11:16  millert
8413
8414         * defaults.c: coerce difference of pointers to int when used in a
8415           string length printf format; deraadt@openbsd.org
8416
8417 2001-01-17 11:34  millert
8418
8419         * visudo.c: Block all signals in Exit() to avoid a signal race.
8420           There is still a tiny window but I'm not going to worry about it.
8421
8422 2001-01-07 13:57  millert
8423
8424         * env.c: glibc uses the LANGUAGE env var so clear that too; Solar
8425           Designer
8426
8427 2001-01-07 13:55  millert
8428
8429         * lex.yy.c: Regenerate with a fix to flex.skl that preserves errno
8430           from clobbering by isatty().
8431
8432 2000-12-30 20:39  millert
8433
8434         * auth/: aix_auth.c, bsdauth.c, fwtk.c, pam.c, sia.c, sudo_auth.c:
8435           Some defaults I_ defines got renamed.
8436
8437 2000-12-30 20:38  millert
8438
8439         * Makefile.in, check.c, def_data.c, def_data.h, def_data.in,
8440           defaults.c, defaults.h, env.c, logging.c, mkdefaults, parse.yacc,
8441           set_perms.c, sudo.c: Move defaults info into its own files from
8442           which we generate .h and .c files.  This makes adding or
8443           rearranging variables much simpler.
8444
8445 2000-12-30 16:58  millert
8446
8447         * configure, configure.in: fix typo in last commit
8448
8449 2000-12-30 16:55  millert
8450
8451         * compat.h, config.h.in, configure, configure.in: Add check +
8452           emulation for setegid (like seteuid).
8453
8454 2000-12-30 16:22  millert
8455
8456         * env.c: Make env_keep override badenv_table as documented Fix
8457           traversal of badenv_table (broken in last commit)
8458
8459 2000-12-29 22:59  millert
8460
8461         * set_perms.c, sudo.c, sudo.h: Don't try and build saved uid
8462           version of set_perms on systems w/o them.  Rename
8463           set_perms_saved_uid() -> set_perms_posix() Make
8464           set_perms_setreuid simply be set_perms_fallback() and simply
8465           include   the appropriate function at compile time (setreuid()
8466           vs. setuid()).
8467
8468 2000-12-29 22:45  millert
8469
8470         * sudoers.pod, sudoers.cat, sudoers.man.in: PATH is also preserved
8471           when env_reset is in effect
8472
8473 2000-12-29 22:29  millert
8474
8475         * CHANGES, env.c, Makefile.in, check.c, compat.h, config.h.in,
8476           configure, configure.in, defaults.c, defaults.h, find_path.c,
8477           getspwuid.c, set_perms.c, sudo.c, sudo.cat, sudo.h, sudo.man.in,
8478           sudo.pod, sudoers.cat, sudoers.man.in, sudoers.pod,
8479           testsudoers.c, visudo.c, visudo.cat, visudo.man.in: New Defaults
8480           options:  o stay_setuid - sudo will remain setuid if system has
8481           saved uids or setreuid(2)  o env_reset - reset the environment to
8482           a sane default  o env_keep - preserve environment variables that
8483           would otherwise be cleared
8484
8485           No longer use getenv/putenv/setenv functions--do environment
8486           munging by hand.  Potentially dangerous environment variables can
8487           be cleared only if they contain '/' pr '%' characters to protect
8488           buggy programs.  Moved environment routines into env.c (new file)
8489
8490 2000-12-29 22:17  millert
8491
8492         * INSTALL: Clear up --without-passwd description
8493
8494 2000-12-29 19:39  millert
8495
8496         * sudo_setenv.c, putenv.c: We now build up a new environment from
8497           scratch and assign it to "environ".
8498
8499 2000-12-18 22:35  millert
8500
8501         * sudo.pod, visudo.pod: Grammatical fixes from Paul Janzen
8502
8503 2000-12-14 23:19  millert
8504
8505         * visudo.c: If there was a syntax error and the user just wants to
8506           quit, unlink sudoers if it is zero length.
8507
8508 2000-12-14 23:10  millert
8509
8510         * visudo.c: 'Q' means ignore parse error, not 'q'
8511
8512 2000-12-14 22:57  millert
8513
8514         * visudo.c: Open sudoers for writing with mode SUDOERS_MODE From
8515           Dimitry Andric <dim@xs4all.nl>
8516
8517 2000-12-13 12:23  millert
8518
8519         * set_perms.c: Add missing #ifdef HAVE_LOGIN_CAP_H;
8520           ayamura@ayamura.org
8521
8522 2000-12-09 11:46  millert
8523
8524         * config.guess, config.sub: Darwin / Mac OS X support from Wilfredo
8525           Sanchez <wsanchez@apple.com>
8526
8527 2000-11-03 09:36  millert
8528
8529         * sudo.c, visudo.c: Use exit(127), not exit(-1)
8530
8531 2000-11-03 00:37  millert
8532
8533         * defaults.h, set_perms.c, sudo.c, Makefile.in, defaults.c: Move
8534           set_perms() to its own file and use POSIX saved uid or setreuid()
8535           if available.
8536
8537           Added stay_setuid option for systems that have libraries that
8538           perform extra paranoia checks in system libraries for setuid
8539           programs (ie: anything with issetugid(2)).
8540
8541 2000-11-02 20:28  millert
8542
8543         * sudo.c: strip more bits from the environment and add a facility
8544           for stripping things only if they contain '/' or '%' to address
8545           printf format string vulnerabilities in other programs.
8546
8547 2000-11-02 12:55  millert
8548
8549         * configure: regen
8550
8551 2000-11-02 12:55  millert
8552
8553         * configure.in: For NCR, add -lc89 to LIBS, not SUDO_LIBS and cache
8554           the existence of strcasecmp().
8555
8556 2000-11-02 12:46  millert
8557
8558         * configure: regen
8559
8560 2000-11-02 12:46  millert
8561
8562         * configure.in: Check for strcasecmp(3) in -lc89 for NCR Unix
8563
8564 2000-11-01 10:22  millert
8565
8566         * config.h.in: Define HAVE_INNETGR #ifdef HAVE__INNETGR
8567
8568 2000-11-01 10:17  millert
8569
8570         * configure: regen
8571
8572 2000-11-01 10:17  millert
8573
8574         * compat.h, config.h.in, configure.in: Add check for _innetgr(3)
8575           since NCR systems have that instead of innetgr(3).
8576
8577 2000-10-31 14:16  millert
8578
8579         * auth/securid.c: check return value of creadcfg() call sd_close()
8580           after sd_auth() store username in sd->username so we don't rely
8581           on the USER env variable
8582
8583 2000-10-29 23:00  millert
8584
8585         * INSTALL: document --with-bsdauth
8586
8587 2000-10-29 22:57  millert
8588
8589         * configure: regen
8590
8591 2000-10-29 22:56  millert
8592
8593         * configure.in: --with-bsdauth assumes --with-logincap
8594
8595 2000-10-29 22:45  millert
8596
8597         * auth/: bsdauth.c, fwtk.c: When prompting for a response to a
8598           challenge, if the user just hits return then reprompt with echo
8599           turned on.
8600
8601 2000-10-29 17:31  millert
8602
8603         * sudo.c: Remove debugging code that should not have been
8604           committed, oops.
8605
8606 2000-10-29 17:31  millert
8607
8608         * auth/bsdauth.c: Use lower-level routines and get the password
8609           ourselves.  Checks for a challenge and if there is one echo is
8610           not turned off.
8611
8612 2000-10-29 17:30  millert
8613
8614         * auth/: pam.c, sudo_auth.h: minor housekeeping, no real code
8615           changes
8616
8617 2000-10-27 18:41  millert
8618
8619         * sudo.c: Fix a coredump in the logging functions if gethostname(2)
8620           fails by deferring the call to log_error() until things are
8621           better setup.
8622
8623           Fix return value of set_loginclass() in non-BSD-auth case.
8624
8625           Hard-code 'sudo' in the usage message so we can fit more options
8626           on a line
8627
8628 2000-10-27 18:35  millert
8629
8630         * logging.c: Fix errant ';' (typo) that broken MSG_ONLY
8631
8632 2000-10-26 13:03  millert
8633
8634         * sudo.cat, sudo.man.in: regen
8635
8636 2000-10-26 13:01  millert
8637
8638         * sudo.pod: Document -a flag
8639
8640 2000-10-26 12:42  millert
8641
8642         * Makefile.in, config.h.in, configure, configure.in, getspwuid.c,
8643           sudo.c, auth/sudo_auth.h, auth/bsdauth.c: Add support for BSD
8644           authentication.
8645
8646 2000-10-19 10:09  millert
8647
8648         * sudoers.pod: Fix typo; from sato@complex.eng.hokudai.ac.jp
8649
8650 2000-10-12 09:49  millert
8651
8652         * sudoers.pod: Mention negating umask
8653
8654 2000-10-12 01:30  millert
8655
8656         * defaults.c: Allow user to specify umask of 0777 (same as !umask)
8657
8658 2000-10-08 21:46  millert
8659
8660         * sudo.pod, visudo.pod: Fix a typo and give a URL for the sudo
8661           history.
8662
8663 2000-10-08 12:25  millert
8664
8665         * defaults.c, sudo.pod: fix typos; pepper@reppep.com
8666
8667 2000-09-14 16:48  millert
8668
8669         * sudo.c, sudo.h, sudo_setenv.c: sudo_setenv() now exits on memory
8670           alloc failure instead of returning -1.
8671
8672 2000-09-07 17:41  millert
8673
8674         * sudo.c: Strip out NLSPATH and PATH_LOCALE from the environment
8675           for FreeBSD and possibly others.
8676
8677 2000-09-07 10:43  millert
8678
8679         * logging.c: Don't use vsyslog(3) since HP-UX (and others?) lack
8680           it.  This means that "%m" won't be expanded but we don't use that
8681           anyway since the logging routines may splat to stderr as well.
8682
8683 2000-09-06 21:35  millert
8684
8685         * defaults.c, defaults.h, sudo.c, sudoers.cat, sudoers.man.in,
8686           sudoers.pod: Add always_set_home variable
8687
8688 2000-09-06 21:24  millert
8689
8690         * configure, configure.in: Have to hard code default values in help
8691           since the defaults are set _after_ the help stuff.
8692
8693 2000-08-31 13:08  millert
8694
8695         * lex.yy.c, parse.lex: Allow special characters (including '#') to
8696           be embedded in pathnames if quoted by a '\\'.  The quoted chars
8697           will be dealt with by fnmatch().  Unfortunately, 'sudo -l' still
8698           prints the '\\'.
8699
8700 2000-08-13 17:10  millert
8701
8702         * install-sh: Better path searching for programs we need.
8703
8704 2000-08-13 17:10  millert
8705
8706         * TROUBLESHOOTING: Add section on "C compiler cannot create
8707           executables" errors.
8708
8709 2000-08-13 17:10  millert
8710
8711         * Makefile.binary, Makefile.in, version.h: Crank version
8712
8713 2000-08-13 17:09  millert
8714
8715         * aclocal.m4, configure, configure.in, sudo.cat, sudo.man.in,
8716           sudo.pod, sudoers.cat, sudoers.man.in, sudoers.pod, visudo.cat,
8717           visudo.man.in, visudo.pod: Substitute values from configure into
8718           man pages.
8719
8720 2000-08-12 16:48  millert
8721
8722         * parse.c, sudo.c: The listpw and verifypw sudoers options would
8723           not take effect because the value of the default was checked
8724           *before* sudoers was parsed.  Instead of passing in the value of
8725           PWCHECK_* to sudoers_lookup(), pass in the arg for def_ival() so
8726           the check can be deferred until after sudoers is parsed.
8727
8728 2000-08-11 15:41  millert
8729
8730         * tgetpass.c: When writing prompt, no need to write the NUL as
8731           well; hag@linnaean.org
8732
8733 2000-06-09 12:25  millert
8734
8735         * install-sh: When looking for chown, check in /sbin too
8736
8737 2000-06-04 22:57  millert
8738
8739         * visudo.c: Remove extraneous call to init_defaults() and set
8740           runas_user to NULL betweem parses so init_defaults will reset it
8741           each time, thus avoiding a reference to free()d data.
8742
8743 2000-06-04 19:57  millert
8744
8745         * config.h.in, interfaces.c, interfaces.h, sudo.c: Add support for
8746           using getifaddrs() to get the list of ip addr / netmask pairs.
8747           Currently IPv4-only.
8748
8749 2000-06-04 19:51  millert
8750
8751         * visudo.c: Add a missing check for UserEditor == NULL Add missing
8752           '+' before line number when invoking editor to fix a syntax error
8753
8754 2000-05-12 16:55  millert
8755
8756         * sudo.c: Call clean_env very early in main() for paranoia's sake.
8757           Idea from Marc Esipovich.
8758
8759 2000-05-10 01:11  millert
8760
8761         * sudo.h: Update proto for evasprintf and easprintf
8762
8763 2000-05-10 01:10  millert
8764
8765         * alloc.c: Make easprintf() and evasprintf() return an int.
8766
8767 2000-05-10 00:56  millert
8768
8769         * check.c: If the targetpw flag is set, use target username as part
8770           of the timestamp path.  If tty tickets are in effect cat the tty
8771           and the target username with a ':' as the separator.
8772
8773 2000-05-09 12:05  millert
8774
8775         * auth/pam.c: Backout part of last change; setting PAM_USER to the
8776           invoking user breaks things like targetpw.
8777
8778 2000-05-09 11:52  millert
8779
8780         * auth/pam.c: set tty and username via pam_set_item
8781
8782 2000-05-09 11:42  millert
8783
8784         * check.c, getspwuid.c, sudo.c, sudo.h, auth/sudo_auth.c: Fix root,
8785           runas, and target authentication for non-passwd file auth
8786           methods.
8787
8788 2000-04-22 14:15  millert
8789
8790         * sudo.pod, sudo.man.in, sudoers.man.in, sudoers.pod, visudo.pod,
8791           sudo.cat, sudoers.cat, visudo.man.in, visudo.cat: Use B<-Z> not
8792           C<-Z> for command line flags in all places.  This is more
8793           consistent and works around a bug in Pod::Man.
8794
8795 2000-04-22 13:59  millert
8796
8797         * sudoers.cat, sudoers.man.in, sudoers.pod: Fix an occurence of
8798           'semicolon' that should be 'colon'
8799
8800 2000-04-19 15:30  millert
8801
8802         * configure, configure.in: Fix --with-badpri help line
8803
8804 2000-04-17 14:01  millert
8805
8806         * defaults.c, logging.c, sudo.c: Bracket calls to syslog with an
8807           openlog() and closelog() since some authentication methods (like
8808           PAM) may do their own logging via syslog.  Since we don't use
8809           syslog much (usually just once per session) this doesn't really
8810           incur a performance penalty.  It also Fixes a SEGV with pam_kafs.
8811
8812 2000-04-15 16:32  millert
8813
8814         * sudo.c: Fix -H flag.  runas_homedir is only valid after
8815           set_perms(PERM_RUNAS, mode)
8816
8817 2000-04-12 18:56  millert
8818
8819         * INSTALL: Clarify the fact that insults are not enabled just by
8820           including them in the binary.
8821
8822 2000-04-07 10:39  millert
8823
8824         * sudo.man.in, sudoers.man.in, visudo.man.in, sudo.cat,
8825           sudoers.cat, visudo.cat: Regenerated with perl 5.6.0 pod2man
8826
8827 2000-04-07 10:38  millert
8828
8829         * Makefile.in: Give date string to pod2man since its default is
8830           ugly and it ain't got no alibi.
8831
8832 2000-04-07 10:27  millert
8833
8834         * Makefile.in: Do section substitution on the output of pod2man and
8835           remove hack needed for old pod2man.
8836
8837 2000-04-07 10:26  millert
8838
8839         * sudo.pod, sudoers.pod, visudo.pod: Put back real man sections, we
8840           will do the substitution later.
8841
8842 2000-04-02 11:44  millert
8843
8844         * configure, configure.in: Don't bother checking for the path to vi
8845           if user specified --with-editor
8846
8847 2000-04-01 17:25  millert
8848
8849         * CHANGES, visudo.c: Visudo now does its own fork/exec instead of
8850           calling system(3).
8851
8852 2000-04-01 16:23  millert
8853
8854         * CHANGES, INSTALL, Makefile.in, sudoers.cat, sudoers.man.in,
8855           sudoers.pod, visudo.c: Visudo now checks for the existence of an
8856           editor and gives a sensible error if it does not exist.
8857
8858           The path to the editor for visudo is now a colon-separated list
8859           of allowable editors.  If the user has $EDITOR set and it matches
8860           one of the allowed editors that editor will be used.  If not, the
8861           first editor in the list that actually exists is used.
8862
8863 2000-04-01 16:22  millert
8864
8865         * sudo.pod, sudo.cat, sudo.man.in: Clear up confusion wrt sudo's
8866           return value.
8867
8868 2000-03-27 12:08  millert
8869
8870         * Makefile.in: Strip sudo and visudo for bindist target
8871
8872 2000-03-26 22:26  millert
8873
8874         * sudo.cat, sudo.man.in, sudo.pod, sudoers.cat, sudoers.man.in,
8875           sudoers.pod, visudo.cat, visudo.man.in, visudo.pod: Use
8876           @mansectsu@ and @mansectform@ in the man page bodies as well.
8877
8878 2000-03-26 22:07  millert
8879
8880         * visudo.cat, visudo.man.in, visudo.pod: Typo: @sysconf@ ->
8881           @sysconfdir@
8882
8883 2000-03-26 21:57  millert
8884
8885         * Makefile.in: 'make dist' should not cause any files to be
8886           modified so remove its dependencies.
8887
8888 2000-03-26 21:43  millert
8889
8890         * CHANGES: Whoops, forgot to add release marker
8891
8892 2000-03-26 11:57  millert
8893
8894         * CHANGES: Final change for 1.6.3 (or so I hope)
8895
8896 2000-03-26 11:57  millert
8897
8898         * sudo.cat, sudoers.cat, visudo.cat: Use SYSV man sections since
8899           BSD systems will have nroff...
8900
8901 2000-03-24 18:58  millert
8902
8903         * parse.yacc: When checking to see if the host/user matches in a
8904           defaults spec, check against TRUE, not just non-zero since it
8905           might be -1.
8906
8907 2000-03-24 15:14  millert
8908
8909         * configure.in, configure: OSF/1 puts file formats in section 4,
8910           not 5.
8911
8912 2000-03-24 15:13  millert
8913
8914         * CHANGES, INSTALL, sudo.c: Make login class support work on BSD/OS
8915
8916 2000-03-23 20:24  millert
8917
8918         * RUNSON: Update for 1.6.3
8919
8920 2000-03-23 20:23  millert
8921
8922         * configure, configure.in: If there is no inet_addr but there *is*
8923           an __inet_addr that's ok since inet_addr is probably just a macro
8924           then.  The better thing to do would be to look for the macro, but
8925           this is fine for now.
8926
8927 2000-03-23 19:50  millert
8928
8929         * configure, configure.in: Don't use shlicc for BSD/OS 4.x
8930
8931 2000-03-23 19:40  millert
8932
8933         * Makefile.in, configure, configure.in: *.man lives in cwd, *.cat
8934           lives in $(srcdir), add a @mansrcdir@ configure variable so we
8935           can deal with this.  Also, only remove *.man for 'distclean' not
8936           'clean'.
8937
8938 2000-03-23 19:16  millert
8939
8940         * sudo.c: set_loginclass() should be static like the proto says
8941
8942 2000-03-23 14:14  millert
8943
8944         * fnmatch.c: Add #ifdef __STDC__ around the rangematch function
8945           header to avoid promotion of test to int, thus violating the
8946           prototype.  Gcc handles this gracefully but more std ANSI
8947           compilers will complain.
8948
8949 2000-03-23 10:11  millert
8950
8951         * emul/fnmatch.h: Pull in newer fnmatch(3) that supports
8952           FNM_CASEFOLD
8953
8954 2000-03-23 10:11  millert
8955
8956         * aclocal.m4, configure, fnmatch.3, fnmatch.c: Pull in newer
8957           fnmatch(3) that supports FNM_CASEFOLD Check for FNM_CASEFOLD in
8958           configure
8959
8960 2000-03-22 23:41  millert
8961
8962         * CHANGES, TODO: update for 1.6.3
8963
8964 2000-03-22 23:38  millert
8965
8966         * lex.yy.c, parse.c, parse.h, parse.lex, parse.yacc, sudo.tab.h,
8967           testsudoers.c, visudo.c: Fully qualified hosts w/ wildcards were
8968           not matching the FQHOST token type.  There's really no need for a
8969           separate token for fully-qualified vs.  unqualified anymore so
8970           FQHOST is now history and hostname_matches now decides which
8971           hostname (short or long) to check based on whether or not the
8972           pattern contains a '.'.
8973
8974 2000-03-22 23:09  millert
8975
8976         * parse.c, parse.h, parse.yacc, sudoers.pod, testsudoers.c,
8977           visudo.c, sudoers.cat, sudoers.man.in: Add support for wildcards
8978           in the hostname.
8979
8980 2000-03-22 22:50  millert
8981
8982         * Makefile.in: Add targets for *.man.in, using config.status to
8983           generate *.man from *.man.in
8984
8985 2000-03-22 22:20  millert
8986
8987         * sudoers.cat, sudoers.man.in, sudoers.pod: Document set_logname
8988           option and enbolden refs to sudo and visudo.
8989
8990 2000-03-22 19:35  millert
8991
8992         * INSTALL, Makefile.in, aclocal.m4, configure, configure.in,
8993           sudo.cat, sudo.pod, sudo.man.in, sudoers.cat, sudoers.pod,
8994           visudo.cat, visudo.pod, sudoers.man.in, visudo.man.in: Add
8995           FreeBSD login.conf support (untested on BSD/OS) based on a patch
8996           from Michael D. Marchionna.  configure now does substitution on
8997           the man pages, allowing us to fix up the paths and set the
8998           section correctly.  Based on an idea from Michael D. Marchionna.
8999
9000 2000-03-22 19:27  millert
9001
9002         * auth/passwd.c: Better fix for handling HP-UX aging info.
9003
9004 2000-03-22 19:20  millert
9005
9006         * sudo.c: Add support for set_logname run-time default
9007
9008 2000-03-22 19:17  millert
9009
9010         * sudo.man.in, sudoers.man.in, visudo.man.in: configure does
9011           substitution on these to produce *.man
9012
9013 2000-03-22 19:16  millert
9014
9015         * sudo.man, sudoers.man, visudo.man: These files now get generated
9016           from *.man.in at configure time.
9017
9018 2000-03-22 18:40  millert
9019
9020         * defaults.c, defaults.h: Add set_logname option so users can turn
9021           off setting of LOGNAME/USER environment variables.
9022
9023 2000-03-22 10:53  millert
9024
9025         * testsudoers.c, lsearch.c, parse.c: kill register
9026
9027 2000-03-13 15:52  millert
9028
9029         * auth/passwd.c: HP-UX adds extra info at the end for password
9030           aging so when comparing the result of crypt to pw_passwd we only
9031           compare the first len(epass) bytes *unless* the user entered an
9032           empty string for a password.
9033
9034 2000-03-13 11:05  millert
9035
9036         * logging.c: Get rid of grandchild hack, it was causing problems
9037           and there is really no need for it.  This fixes a bug where we
9038           spin eating up CPU when the user runs a long-running process like
9039           a shell.
9040
9041 2000-03-07 14:26  millert
9042
9043         * sudo.c: User can always specify a login class if he/she is
9044           already root.
9045
9046 2000-03-06 23:29  millert
9047
9048         * config.h.in, configure, configure.in, defaults.c, defaults.h,
9049           sudo.c, sudo.h: FreeBSD login class (login.conf) support.
9050
9051 2000-03-06 14:42  millert
9052
9053         * auth/sudo_auth.c: HAVE_SECUREWARE -> HAVE_GETPRPWNAM; fixes
9054           secureware support
9055
9056 2000-03-03 18:04  millert
9057
9058         * auth/passwd.c: Truncate unencrypted password to 8 chars if
9059           encrypted password is exactly 13 characters (indicateing standard
9060           a DES password).  Many versions of crypt() do this for you, but
9061           not all (like HP-UX's).
9062
9063 2000-03-01 21:01  millert
9064
9065         * INSTALL, RUNSON: Mention that gcc on dynix may have problems
9066
9067 2000-02-29 17:46  millert
9068
9069         * Makefile.in: Link visudo with NET_LIBS since we now call syslog
9070           via defaults.c
9071
9072 2000-02-29 17:41  millert
9073
9074         * defaults.c: Use Argv[0] as the first arg to openlog() since
9075           visudo uses this too.
9076
9077 2000-02-28 18:58  millert
9078
9079         * sudo.c: Stash coredumpsize resource limit and retsore it before
9080           the exec() Otherwise the child ends up with a coredumpsize of 0.
9081
9082 2000-02-26 22:56  millert
9083
9084         * sudo.cat, sudo.man, sudo.pod: document -S flag
9085
9086 2000-02-26 22:54  millert
9087
9088         * sudo.c: fix usage string
9089
9090 2000-02-26 22:48  millert
9091
9092         * CHANGES, RUNSON, TODO, sudo.c, sudo.h, tgetpass.c,
9093           auth/aix_auth.c, auth/fwtk.c, auth/pam.c, auth/sudo_auth.c: Added
9094           -S flag (read passwd from stdin) and tgetpass_flags global that
9095           holds flags to be passed in to tgetpass().  Change echo_off param
9096           to tgetpass() into a flags field.  There are currently 2 possible
9097           flags for tgetpass(): TGP_ECHO and TGP_STDIN.  In tgetpass(),
9098           abstract the echo set/clear via macros and if (flags & TGP_ECHO)
9099           but echo is not set on the terminal, but sure to set it.
9100
9101 2000-02-26 22:11  millert
9102
9103         * tgetpass.c: Fixed a bug that caused an infinite loop when the
9104           password timeout was disabled.
9105
9106 2000-02-18 12:56  millert
9107
9108         * CHANGES, defaults.c, defaults.h, getspwuid.c, sudo.c, sudo.h,
9109           sudoers.cat, sudoers.man, sudoers.pod, visudo.c: Add rootpw,
9110           runaspw, and targetpw options.
9111
9112 2000-02-18 12:11  millert
9113
9114         * CHANGES, defaults.c, sudoers.cat, sudoers.man, sudoers.pod,
9115           visudo.c: enveditor -> env_editor
9116
9117 2000-02-15 19:07  millert
9118
9119         * BUGS, INSTALL, Makefile.in, README, configure, configure.in,
9120           sudo.cat, sudo.man, sudoers.cat, sudoers.man, version.h,
9121           visudo.cat, visudo.man: crank versino to 1.6.3
9122
9123 2000-02-15 19:03  millert
9124
9125         * INSTALL, TODO, defaults.c, defaults.h, sudoers.cat, sudoers.man,
9126           sudoers.pod, visudo.c: Add 'editor' and 'enveditor' sudoers
9127           defaults and make visudo honor them.  This means that visudo will
9128           now parse the sudoers file *before* it is edited so a bogus
9129           sudoers file will cause a warning to go to stderr.  Also, visudo
9130           checks the variables once--it does not check them after each
9131           editor run since that could be confusing.
9132
9133 2000-02-15 18:49  millert
9134
9135         * RUNSON: 1.6.2 -> 1.6.2p1
9136
9137 2000-02-15 18:36  millert
9138
9139         * check.c, sudo.c, sudo.h: Move user_is_exempt prototype into
9140           sudo.h
9141
9142 2000-02-13 13:38  millert
9143
9144         * configure, configure.in: Fix thinko, some && should have been ||
9145           in the last commit
9146
9147 2000-02-13 13:28  millert
9148
9149         * configure, configure.in: Don't initialized Makefile variables to
9150           be NULL since the user may want to import variables from their
9151           environment.
9152
9153 2000-02-03 21:09  millert
9154
9155         * configure, configure.in: typo
9156
9157 2000-01-27 15:01  millert
9158
9159         * INSTALL, RUNSON, configure, configure.in: Make pam work on HP-UX
9160           11.0;jaearick@colby.edu
9161
9162 2000-01-27 15:01  millert
9163
9164         * CHANGES: recent changes; prepare for 1.6.2p1
9165
9166 2000-01-26 23:31  millert
9167
9168         * find_path.c: Don't apply SECURE_PATH if user is example;
9169           jmknoble@pobox.com
9170
9171 2000-01-26 16:21  millert
9172
9173         * sudoers.cat, sudoers.man, sudoers.pod: Expanded docs on sudoers
9174           'defaults' options based on INSTALL file info.
9175
9176 2000-01-26 16:21  millert
9177
9178         * INSTALL: Fix some while lies
9179
9180 2000-01-24 10:48  millert
9181
9182         * Makefile.in: When making a bindist, link FAQ to TROUBLESHOOTING
9183           instead of copying.
9184
9185 2000-01-23 22:57  millert
9186
9187         * sudoers.cat, sudoers.man, sudoers.pod: Add netgroup caveat
9188
9189 2000-01-23 22:42  millert
9190
9191         * RUNSON: Last minute updates
9192
9193 2000-01-23 22:26  millert
9194
9195         * TROUBLESHOOTING: PAM entry
9196
9197 2000-01-23 22:23  millert
9198
9199         * auth/pam.c: correct a comment
9200
9201 2000-01-23 22:03  millert
9202
9203         * CHANGES, RUNSON: update for 1.6.2
9204
9205 2000-01-23 21:59  millert
9206
9207         * auth/pam.c: Better detection of PAM errors and fix custom prompts
9208           with PAM.  Based on patches from "Cloyce D. Spradling"
9209           <cloyce@headgear.org>
9210
9211 2000-01-20 11:15  millert
9212
9213         * snprintf.c: Cast ULONG_MAX to unsigned long long when comparing
9214           to an unsigned long long value.
9215
9216 2000-01-19 14:07  millert
9217
9218         * CHANGES, config.h.in, configure, configure.in, visudo.c: Fix
9219           sudoers locking in visudo.  We now lock the sudoers file itself,
9220           not the temp file (since locking the temp file can foul up
9221           editors).  The previous locking scheme didn't work because the fd
9222           was closed too early.
9223
9224 2000-01-19 13:37  millert
9225
9226         * configure, config.h.in, configure.in: Don't need test for
9227           ftruncate() any more.
9228
9229 2000-01-18 21:23  millert
9230
9231         * configure, configure.in: Add a test for the -Aa flag w/ HP-UX's
9232           cc.  Fixes compilation with the unbundled HP-UX cc.
9233
9234 2000-01-18 17:00  millert
9235
9236         * sudoers.cat, sudoers.man, sudoers.pod: "a a" -> "a"; Aaron
9237           Campbell <aaron@cs.dal.ca>
9238
9239 2000-01-17 18:46  millert
9240
9241         * LICENSE, Makefile.in, defaults.c, defaults.h, parse.c, parse.h,
9242           parse.yacc, sudo.c, sudo.h, sudoers.pod, testsudoers.c,
9243           tgetpass.c, version.h, visudo.c: update copyright year on changed
9244           files
9245
9246 2000-01-17 18:45  millert
9247
9248         * RUNSON: updates
9249
9250 2000-01-17 18:45  millert
9251
9252         * CHANGES: aix fix
9253
9254 2000-01-17 18:42  millert
9255
9256         * INSTALL: Crank version to 1.6.2
9257
9258 2000-01-17 18:11  millert
9259
9260         * configure: Crank version to 1.6.2
9261
9262 2000-01-17 17:46  millert
9263
9264         * sudo.c: When using rlimit check for RLIM_INFINITY When computing
9265           the value of maxfd, use min(getdtablesize(), RLIMIT_NOFILE)
9266
9267 2000-01-17 12:32  millert
9268
9269         * CHANGES: recent changes
9270
9271 2000-01-17 12:28  millert
9272
9273         * BUGS, Makefile.in, README, configure.in, sudo.cat, sudo.man,
9274           sudoers.cat, sudoers.man, version.h, visudo.cat, visudo.man:
9275           Crank version to 1.6.2
9276
9277 2000-01-17 12:25  millert
9278
9279         * INSTALL, defaults.c, defaults.h, sudo.c, sudo.h, sudoers.pod: Add
9280           'shell_noargs' runtime option back in.  We have to defer checking
9281           until after the sudoers file has been parsed but since there are
9282           now other options that operate that way this one can too.  Based
9283           on a patch from bguillory@email.com.
9284
9285 2000-01-16 23:05  millert
9286
9287         * defaults.c, defaults.h, parse.c, sudo.c, sudo.h: Add "listpw" and
9288           "verifypw" options.
9289
9290 2000-01-16 22:57  millert
9291
9292         * sudoers.cat, sudoers.man, sudoers.pod: o Fix some typos/omissions
9293           o Add section on verifypw and listpw o Define how NOPASSWD
9294           interacts with the -v and -l flags
9295
9296 2000-01-14 12:39  millert
9297
9298         * configure, configure.in: For HP-UX cc, add -Aa to CPPFLAGS.  For
9299           HP-UX always add -D_HPUX_SOURCE to CPPFLAGS.
9300
9301 2000-01-14 12:29  millert
9302
9303         * defaults.c, defaults.h: In struct sudo_defs_types, move the union
9304           to the end and don't initialize the union member since that only
9305           works with an ANSI compiler.  We set the value of the union by
9306           hand in init_defaults() anyway.  This allows sudo to compile on a
9307           K&R compiler again.
9308
9309 2000-01-11 13:20  millert
9310
9311         * parse.c, parse.h, parse.yacc, testsudoers.c, visudo.c:
9312           netgr_matches needs to check shost as well as host since they may
9313           be different.
9314
9315 2000-01-11 13:17  millert
9316
9317         * tgetpass.c: End on \r as well as \n
9318
9319 2000-01-02 23:53  millert
9320
9321         * sudo.c: Update statbuf.st_mode based on SUDOERS_MODE when we are
9322           chaning from 0400 to whatever SUDOERS_MODE is (converting from
9323           the old sudoers mode).  Assumes that SUDOERS_MODE is less
9324           restrictive than 0400 which should always be the case.
9325
9326 2000-01-02 23:43  millert
9327
9328         * parse.c, parse.yacc, sudo.c, sudo.h: Make treatment of -l and -v
9329           sane wrt NOPASSWD flags.  Now allow -l w/o a passwd if there is
9330           *any* entry for the user on the host with a NOPASSWD flag.  For
9331           -v, only allow w/o a passwd if *all* entries for the user on the
9332           host w/ the specified runas user have the NOPASSWD flag set.
9333
9334 2000-01-02 23:26  millert
9335
9336         * Makefile.in: add check target
9337
9338 1999-12-16 13:02  millert
9339
9340         * visudo.c: Treat EOF at whatnow prompt like 'x' instead of
9341           looping.
9342
9343 1999-12-10 00:09  millert
9344
9345         * CHANGES: recent changes
9346
9347 1999-12-08 23:04  millert
9348
9349         * config.h.in, configure, configure.in, sudo.c: Add check for
9350           initgroups() since old SYSV lacks this.
9351
9352 1999-12-08 22:54  millert
9353
9354         * CHANGES, RUNSON, aclocal.m4, config.h.in, configure,
9355           configure.in, parse.c, testsudoers.c: o Kill HAVE_FNMATCH_H o
9356           Only define HAVE_FNMATCH if <fnmatch.h> exists.
9357
9358 1999-12-06 01:47  millert
9359
9360         * CHANGES, RUNSON, insults.h, auth/sudo_auth.c: Don't allow insults
9361           to be enabled if the insults[] array is empty.  Otherwise there
9362           would be division by zero.
9363
9364 1999-12-06 01:25  millert
9365
9366         * insults.h: Don't care about USE_INSULTS #define since the insult
9367           stuff may be overridden at runtime.
9368
9369 1999-12-06 01:23  millert
9370
9371         * auth/sudo_auth.c: Honor insults flag.
9372
9373 1999-12-05 19:14  millert
9374
9375         * CHANGES, parse.c: Don't ask the user for a password if the user
9376           is not allowed to run the command and the authenticate flag (in
9377           sudoers) is false.
9378
9379 1999-12-05 19:05  millert
9380
9381         * CHANGES, RUNSON, lex.yy.c, parse.lex: o Whenever we get a bare
9382           newline we change to the INITIAL state.  o Enter GOTRUNAS when we
9383           see Runas_Alias
9384
9385           This allows #uid to work in a RunasAlias.
9386
9387 1999-12-05 14:06  millert
9388
9389         * CHANGES, parse.yacc: fix parsing of runas lists: o oprunasuser
9390           and runaslist now return a value o in a runasspec, if a runaslist
9391           does not return TRUE, set runas_matches to   FALSE.  Normally, a
9392           runaslist only returns FALSE for explicitly denied   users.  o
9393           since runaslist does not modify the stack there is no need for a
9394           push/pop   in runasalias.
9395
9396 1999-12-04 21:54  millert
9397
9398         * check.c, sudo.c: Don't kill the user's tickets until after
9399           sudoers has been parsed since tty_tickets and ticket_dir could be
9400           set in sudoers.
9401
9402 1999-12-04 21:18  millert
9403
9404         * BUGS, CHANGES, Makefile.binary, Makefile.in, README, RUNSON,
9405           configure, configure.in, sudo.cat, sudo.man, sudoers.cat,
9406           sudoers.man, tgetpass.c, version.h, visudo.cat, visudo.man: crank
9407           version to 1.6
9408
9409 1999-12-04 21:18  millert
9410
9411         * testsudoers.c: add set_fqdn() stub
9412
9413 1999-12-02 15:31  millert
9414
9415         * INSTALL, defaults.c, defaults.h, sudo.c, sudo.h, sudoers.cat,
9416           sudoers.man, sudoers.pod, visudo.c: o Kill shell_noargs option,
9417           it cannot work since the command needs to   be set before sudoers
9418           is parsed.  o Fix the "set_home" sudoers option (only worked at
9419           compile time).  o Fix "fqdn" sudoers option.  We now set
9420           host/shost via set_fqdn which   gets called when the "fqdn"
9421           option is set in sudoers.  o Move the openlog() to
9422           store_syslogfac() so this gets overridden   correctly from the
9423           sudoers file.
9424
9425 1999-12-02 15:21  millert
9426
9427         * auth/securid.c: SecurID support should compile now.
9428
9429 1999-11-28 20:56  millert
9430
9431         * sudo.pod, visudo.pod, sudo.cat, sudo.man, sudoers.man,
9432           visudo.man, sudoers.cat, visudo.cat: fix some syntactic goofs
9433
9434 1999-11-28 18:51  millert
9435
9436         * sudo.html, sudoers.html, Makefile.in, visudo.html: No longer need
9437           the .html files as they are generated automatically on the web
9438           site.
9439
9440 1999-11-28 18:49  millert
9441
9442         * CHANGES, LICENSE: kill characters that made wml unhappy
9443
9444 1999-11-28 18:34  millert
9445
9446         * HISTORY: typo
9447
9448 1999-11-25 12:05  millert
9449
9450         * README: majordomo@cs.colorado.edu -> majordomo@courtesan.com
9451
9452 1999-11-24 19:43  millert
9453
9454         * Makefile.in, configure: Wrap script execution w/ /bin/sh for the
9455           benefit of ctm
9456
9457 1999-11-23 22:52  millert
9458
9459         * sudo.c: Make the -s flag be exclusive too.  Also reorder the
9460           flags in the exclusive usage message so they are alphabetical.
9461
9462 1999-11-23 13:27  millert
9463
9464         * auth/pam.c: make pam errors other than PAM_PERM_DENIED fatal
9465
9466 1999-11-23 13:07  millert
9467
9468         * auth/API: fix typo
9469
9470 1999-11-23 13:07  millert
9471
9472         * INSTALL: make it clear that /etc/pam.d/sudo is required on linux
9473
9474 1999-11-23 13:06  millert
9475
9476         * auth/pam.c: fix a warning on redhat and spew an error if
9477           pam_authenticate() returns an error other than AUTH_SUCCESS or
9478           PAM_PERM_DENIED
9479
9480 1999-11-23 00:43  millert
9481
9482         * sudo.cat, sudo.html, sudo.man, sudo.pod: Be very clear that the
9483           password required is the user's not root's
9484
9485 1999-11-19 21:04  millert
9486
9487         * Makefile.in: add sample.syslog.conf to DISTFILES and BINFILES
9488
9489 1999-11-18 19:13  millert
9490
9491         * RUNSON: updates from Brian Jackson + some formatting
9492
9493 1999-11-17 21:39  millert
9494
9495         * INSTALL.binary, Makefile.binary, README, RUNSON: o One RUNSon
9496           update o Changes for automating real binary releases
9497
9498 1999-11-17 21:38  millert
9499
9500         * Makefile.in: Add bindist target
9501
9502 1999-11-16 16:26  millert
9503
9504         * TROUBLESHOOTING: talk about run-time options in addition to
9505           compile-time options
9506
9507 1999-11-16 01:16  millert
9508
9509         * CHANGES: fix typos
9510
9511 1999-11-16 01:09  millert
9512
9513         * sudo.c: need sys/time.h if HAVE_SETRLIMIT
9514
9515 1999-11-16 00:42  millert
9516
9517         * PORTING, README, RUNSON, sudo.c, sudo.cat, sudo.html, sudo.man,
9518           sudo.pod, visudo.cat, visudo.html, visudo.man, visudo.pod: get
9519           rid of references to sudo-bugs.  Now mention the web site or the
9520           sudo@ alias
9521
9522 1999-11-16 00:35  millert
9523
9524         * sudoers.html: repair pod2html damage
9525
9526 1999-11-16 00:28  millert
9527
9528         * RUNSON, TODO: Update for 1.6 release
9529
9530 1999-11-16 00:23  millert
9531
9532         * sudoers.cat, sudoers.html, sudoers.man, sudoers.pod: Add warning
9533           about using ALL in a command context.
9534
9535 1999-11-09 15:12  millert
9536
9537         * visudo.c: Call yyrestart() on a parse error to reset the lexer
9538           state.
9539
9540 1999-11-09 15:06  millert
9541
9542         * parse.lex, lex.yy.c: Don't need YY_FLUSH_BUFFER after all Move
9543           yyrestart() into visudo.c since it might not get called in yywrap
9544           if we get a parse error (and we only reread the file on error
9545           anyway).
9546
9547 1999-11-09 14:32  millert
9548
9549         * parse.lex, lex.yy.c: Call YY_FLUSH_BUFFER macro in yywrap() to
9550           clean up any buffers that might still exist.  Call yyrestart()
9551           instead of using the deprecated YY_NEW_FILE macro.
9552
9553 1999-11-09 12:13  millert
9554
9555         * lex.yy.c, parse.lex: flex doesn't need %N table size declarations
9556
9557 1999-11-08 19:00  millert
9558
9559         * sudoers.cat, sudoers.html, sudoers.man, sudoers.pod: Mention what
9560           characters need to be escaped in names.
9561
9562 1999-11-08 18:59  millert
9563
9564         * configure: regen
9565
9566 1999-11-08 18:59  millert
9567
9568         * INSTALL: clarify Mac OS X entry
9569
9570 1999-11-08 18:59  millert
9571
9572         * RUNSON: update
9573
9574 1999-11-08 17:45  millert
9575
9576         * configure.in: o Use AC_MSG_ERROR throughout o Check syslog
9577           configure options for danity
9578
9579 1999-11-05 17:11  millert
9580
9581         * defaults.c: Fix printing of type T_MODE in dump_defaults()
9582
9583 1999-11-05 12:00  millert
9584
9585         * strcasecmp.c: missing sys/types.h
9586
9587 1999-11-05 00:42  millert
9588
9589         * INSTALL: Break out options that may be overridden at run time
9590           into their own section.  Add a not about Max OS X and correct
9591           some lies.
9592
9593 1999-11-04 14:01  millert
9594
9595         * CHANGES, config.h.in, configure, configure.in, sudo.c: o Now use
9596           getrlimit to find the highest fd when closing all non-std fd's o
9597           Turn off core dumps via setrlimit for the sake of paranoia
9598
9599 1999-11-04 13:57  millert
9600
9601         * RUNSON: updates
9602
9603 1999-11-01 10:59  millert
9604
9605         * CHANGES: updates
9606
9607 1999-11-01 10:58  millert
9608
9609         * tgetpass.c: When read()'ing, do a single character at a time to
9610           be sure we don't go oast the newline.
9611
9612 1999-11-01 10:43  millert
9613
9614         * sudo.c: For the sudo_root option, check against user_uid, not
9615           getuid() since at this point, ruid == euid == 0.
9616
9617 1999-10-31 23:14  millert
9618
9619         * RUNSON: some updates
9620
9621 1999-10-31 23:14  millert
9622
9623         * logging.h: Fix compilation problem when --with-logging=file was
9624           specified.  This means that syslog is now required to build sudo
9625           but that should not be a problem.  If it is it can be fixed
9626           trivially with a configure check for syslog() or syslog.h.
9627
9628 1999-10-31 23:00  millert
9629
9630         * tgetpass.c: Make this work again for things like "sudo echo hi |
9631           more" where the tty gets put into character at a time mode.  We
9632           read until we read end of line or we run out of space (similar to
9633           fgets(3)).
9634
9635 1999-10-20 11:23  millert
9636
9637         * sudoers.cat, sudoers.html, sudoers.man, sudoers.pod: change ital
9638           to bold
9639
9640 1999-10-20 11:23  millert
9641
9642         * RUNSON: update
9643
9644 1999-10-16 13:56  millert
9645
9646         * defaults.c: Error out if syslog parameters are given without a
9647           value.  For Ultrix or 4.2BSD "syslog" is allowed without a value
9648           since there are no facilities in the 4.2BSD syslog.
9649
9650 1999-10-15 16:37  millert
9651
9652         * defaults.c: Ignore the syslog facility for systems w/ old syslog
9653           like Ultrix.
9654
9655 1999-10-15 12:51  millert
9656
9657         * TROUBLESHOOTING: people with "." early in their path can have
9658           problems running sudo from the build dir ;-)
9659
9660 1999-10-13 00:18  millert
9661
9662         * sudo.man, sudo.pod, sudo.cat, sudo.html: Remove -r realm option
9663
9664 1999-10-12 22:34  millert
9665
9666         * configure, configure.in, sudo.c, auth/kerb5.c, auth/sudo_auth.c,
9667           auth/sudo_auth.h: New krb5 code from Frank Cusack
9668           <fcusack@iconnet.net>.
9669
9670 1999-10-12 22:33  millert
9671
9672         * CHANGES: update to reality
9673
9674 1999-10-11 20:53  millert
9675
9676         * auth/fwtk.c: include <auth.h> to get function prototypes.
9677
9678 1999-10-11 20:05  millert
9679
9680         * sudo.cat, sudo.html, sudo.man, sudo.pod: document -L flag
9681
9682 1999-10-11 19:42  millert
9683
9684         * sudo.c: in set_perms(), always call setuid(0) before changing the
9685           ruid/euid so we always know it will succeed.
9686
9687 1999-10-11 12:24  millert
9688
9689         * defaults.h: #undef T_FOO to avoid conflicts with system defines
9690           (like on ULTRIX).
9691
9692 1999-10-11 11:55  millert
9693
9694         * TODO, sample.sudoers, sudoers.cat, sudoers.html, sudoers.man,
9695           sudoers.pod: Docuement "Defaults" lines in /etc/sudoers.  Still
9696           needs some fleshing out but this is a start.
9697
9698 1999-10-10 17:21  millert
9699
9700         * defaults.c: use strtol, not strtoul since not everyone has not
9701           strtoul
9702
9703 1999-10-10 15:01  millert
9704
9705         * lex.yy.c, parse.lex: last {WORD} rule should only apply in the
9706           INITIAL state
9707
9708 1999-10-10 14:38  millert
9709
9710         * lex.yy.c, parse.lex: o Add support for escaped characters in the
9711           WORD macro o Modify fill() to squash escape chars
9712
9713 1999-10-10 13:56  millert
9714
9715         * defaults.c, defaults.h: o Add T_PATH flag to allow simple sanity
9716           checks for default values that   are supposed to be pathnames.  o
9717           Fix a duplicate free when visudo finds an error.
9718
9719 1999-10-09 01:01  millert
9720
9721         * defaults.c, defaults.h, logging.c: mail_if_foo -> mail_foo
9722
9723 1999-10-07 21:12  millert
9724
9725         * compat.h, defaults.c, defaults.h, sudo.c, tgetpass.c: o Add
9726           requiretty option o Move O_NOCTTY to compat.h
9727
9728 1999-10-07 21:12  millert
9729
9730         * logging.c: The exit() in log_error() was mistakenly removed in a
9731           previous version.  Put it back...
9732
9733 1999-10-07 17:20  millert
9734
9735         * INSTALL, TODO, check.c, config.h.in, configure, configure.in,
9736           defaults.c, defaults.h, find_path.c, getspwuid.c, lex.yy.c,
9737           logging.c, parse.yacc, sudo.c, auth/aix_auth.c, auth/fwtk.c,
9738           auth/pam.c, auth/rfc1938.c, auth/sia.c, auth/sudo_auth.c: o
9739           Change defaults stuff to put the value right in the struct.  o
9740           Implement mailer_flags o Store syslog stuff both in int and
9741           string form.  Setting the string   form magically updates the int
9742           version.  o Add boolean attribute to strings where it makes sense
9743           to say !foo
9744
9745 1999-10-07 17:13  millert
9746
9747         * tgetpass.c: add O_NOCTTY when opening /dev/tty just in case
9748
9749 1999-10-06 00:48  millert
9750
9751         * auth/API: cleanup function no longer takes a status arg
9752
9753 1999-10-06 00:48  millert
9754
9755         * INSTALL: the the
9756
9757 1999-09-15 05:15  millert
9758
9759         * TODO, config.h.in, configure, configure.in, logging.c: Use
9760           strftime() instead of ctime() if it is available.
9761
9762 1999-09-14 12:58  millert
9763
9764         * defaults.c: fix copyright date
9765
9766 1999-09-14 12:57  millert
9767
9768         * RUNSON: update ReliantUNIX entry
9769
9770 1999-09-14 12:56  millert
9771
9772         * defaults.c, defaults.h, logging.c: add log_year option
9773
9774 1999-09-14 04:01  millert
9775
9776         * configure, configure.in: add --without-sendmail to help output
9777
9778 1999-09-14 03:42  millert
9779
9780         * configure, configure.in: enforce an otctal arg for
9781           --with-suoders-mode
9782
9783 1999-09-08 04:06  millert
9784
9785         * BUGS, INSTALL, Makefile.in, TODO, aclocal.m4, check.c,
9786           config.h.in, configure, configure.in, defaults.c, defaults.h,
9787           find_path.c, lex.yy.c, logging.c, parse.h, parse.lex, parse.yacc,
9788           sudo.c, sudo.h, sudo.tab.h, testsudoers.c, version.c, visudo.c,
9789           auth/aix_auth.c, auth/fwtk.c, auth/kerb5.c, auth/pam.c,
9790           auth/rfc1938.c, auth/sia.c, auth/sudo_auth.c: Add support for
9791           "Defaults" line in sudoers to make configuration variables
9792           changable at runtime (and on a global, per-host and per-user
9793           basis).  Both the names and the internal representation are still
9794           subject to change.  It was necessary to make sudo_user.runas but
9795           a char ** instead of a char * since this value can be changed by
9796           a Defaults line.  There is a similar (but more complicated) issue
9797           with sudo_user.prompt but it is handled differently at the
9798           moment.
9799
9800           Add a "-L" flag to list the name of options with their
9801           descriptions.  This may only be temporary.
9802
9803           Move some prototypes to parse.h
9804
9805           Be much less restrictive on what is allowed for a username.
9806
9807 1999-09-08 04:01  millert
9808
9809         * sample.syslog.conf: Add more info
9810
9811 1999-09-04 03:09  millert
9812
9813         * fnmatch.3, fnmatch.c, getcwd.c, lsearch.c, snprintf.c,
9814           strcasecmp.c, LICENSE: UCB has dropped the advertising clause
9815           from their license.
9816
9817 1999-08-31 05:39  millert
9818
9819         * auth/sudo_auth.h: move dce_verofy proto to correct section
9820
9821 1999-08-31 05:39  millert
9822
9823         * auth/dce.c: remove XXX
9824
9825 1999-08-28 06:00  millert
9826
9827         * emul/fnmatch.h: Add fnmatch() prototype
9828
9829 1999-08-28 06:00  millert
9830
9831         * fnmatch.c, parse.c, testsudoers.c: Move inclusion of
9832           emul/fnmatch.h to be after sudo.h for __P
9833
9834 1999-08-28 05:59  millert
9835
9836         * sudo.h: add strcasecmp proto
9837
9838 1999-08-28 05:50  millert
9839
9840         * auth/sudo_auth.c: add check for case where there are no auth
9841           methods
9842
9843 1999-08-28 05:36  millert
9844
9845         * configure, configure.in: Define _XOPEN_EXTENDED_SOURCE on AIX and
9846           __USE_FIXED_PROTOTYPES__ on SunOS4 w/ gcc
9847
9848 1999-08-28 05:24  millert
9849
9850         * getspwuid.c, lex.yy.c, parse.lex, parse.yacc: include strings.h
9851           everywhere we include string.h
9852
9853 1999-08-28 05:22  millert
9854
9855         * version.c: nicer output when showing auth methods
9856
9857 1999-08-28 05:00  millert
9858
9859         * version.c: Add support for SEND_MAIL_WHEN_NO_HOST
9860
9861 1999-08-28 04:49  millert
9862
9863         * config.h.in, configure.in, configure: Add _GNU_SOURCE for Linux
9864
9865 1999-08-28 04:22  millert
9866
9867         * parse.lex, lex.yy.c: fix definition of OCTECT
9868
9869 1999-08-28 04:10  millert
9870
9871         * configure, configure.in: aix_auth.o not authenticate.o
9872
9873 1999-08-27 17:02  millert
9874
9875         * sudo.c: Only block SIGINT, SIGQUIT, SIGTSTP (which can be
9876           generated from the keyboard).  Since we run with ruid/euid == 0
9877           the user can't really signal us in nasty ways.
9878
9879 1999-08-27 17:01  millert
9880
9881         * visudo.c: Don't need to worry about catching too many signals
9882           since we do locking on the tmp file.  If a lockfile is really
9883           stale, it will be detected and overwritten.
9884
9885 1999-08-27 16:09  millert
9886
9887         * INSTALL, Makefile.in: include auth/API in tarball
9888
9889 1999-08-27 16:09  millert
9890
9891         * auth/sudo_auth.c: move memset() of plaintext pw outside of verify
9892           loop and only do the memset if we are *not* in standalone mode.
9893
9894 1999-08-27 13:46  millert
9895
9896         * auth/: sudo_auth.c, sudo_auth.h: DCE is not a standalone method
9897
9898 1999-08-27 11:53  millert
9899
9900         * sudo.c: fix --enable-noargs-shell
9901
9902 1999-08-27 11:06  millert
9903
9904         * snprintf.c: "#ifdef __STDC__" not "#if __STDC__" (I missed one)
9905
9906 1999-08-27 10:54  millert
9907
9908         * auth/: fwtk.c, sia.c: _cleanup() function returns an int.
9909
9910 1999-08-27 10:50  millert
9911
9912         * auth/dce.c: there were still some return(0)'s hanging around,
9913           make them AUTH_FAILURE
9914
9915 1999-08-27 10:39  millert
9916
9917         * parse.c: typo in comment
9918
9919 1999-08-27 10:03  millert
9920
9921         * version.c: add missing semicolon
9922
9923 1999-08-27 08:31  millert
9924
9925         * auth/sudo_auth.h: missing backslash
9926
9927 1999-08-26 17:24  millert
9928
9929         * CHANGES, config.h.in, configure, configure.in: Kill
9930           _XOPEN_EXTENDED_SOURCE -- causes problems on some OSes
9931
9932 1999-08-26 09:21  millert
9933
9934         * Makefile.in: add parse.h to HDRS
9935
9936 1999-08-26 09:16  millert
9937
9938         * Makefile.in, configure, configure.in: Kill VISUDO_LIBS and
9939           VISUDO_LDFLAGS.  Add LIBS, NET_LIBS, and LDFLAGS.  Common libs go
9940           in LIBS, commong ld flags go in LDFLAGS and network libs like
9941           -lsocket, -lnsl go in NET_LIBS.  This allows testsudoers to build
9942           on Solaris and is a bit cleaner in general.
9943
9944 1999-08-26 06:56  millert
9945
9946         * UPGRADE: mention ptmp -> sudoers.tmp
9947
9948 1999-08-26 06:12  millert
9949
9950         * configure.in, configure, config.h.in: Define
9951           _XOPEN_SOURCE_EXTENDED not _XOPEN_SOURCE
9952
9953 1999-08-26 05:37  millert
9954
9955         * RUNSON: add 2 reports
9956
9957 1999-08-26 05:20  millert
9958
9959         * auth/kerb5.c: Minor changes, mostly cosmetic.
9960           verify_krb_v5_tgt() changed to return a value  more like a system
9961           function
9962
9963 1999-08-26 05:19  millert
9964
9965         * auth/dce.c: Add an XXX
9966
9967 1999-08-26 05:19  millert
9968
9969         * TODO: more things todo!
9970
9971 1999-08-26 05:18  millert
9972
9973         * sample.sudoers: update based on what is in the man page
9974
9975 1999-08-26 05:10  millert
9976
9977         * parse.yacc: minor change to first line printed in -l mode
9978
9979 1999-08-26 05:10  millert
9980
9981         * sudo.cat, sudo.html, sudo.man, sudo.pod: rename "ENVIRONMENT
9982           VARIABLES" section to "ENVIRONMENT" to be more standard and add
9983           "EXAMPLES" section
9984
9985 1999-08-26 05:08  millert
9986
9987         * visudo.cat, visudo.html, visudo.man, visudo.pod: rename
9988           "ENVIRONMENT VARIABLES" section to "ENVIRONMENT" to be more
9989           standard
9990
9991 1999-08-26 05:06  millert
9992
9993         * logging.c, parse.c, sudo.h: add FLAG_NO_CHECK
9994
9995 1999-08-26 05:05  millert
9996
9997         * parse.lex, lex.yy.c: make an OCTET really be limited to 0-255
9998
9999 1999-08-26 05:04  millert
10000
10001         * UPGRADE: mention timestamp changes
10002
10003 1999-08-26 05:04  millert
10004
10005         * PORTING: cosmetic cleanup
10006
10007 1999-08-26 05:00  millert
10008
10009         * sudoers.cat, sudoers.html, sudoers.man, sudoers.pod: new
10010           sudoers(8) man page
10011
10012 1999-08-24 13:45  millert
10013
10014         * version.c: Update comments about syslog name tables
10015
10016 1999-08-24 13:37  millert
10017
10018         * CHANGES, LICENSE, Makefile.in, configure, strcasecmp.c,
10019           configure.in, parse.yacc: include strcasecmp() for those without
10020           it
10021
10022 1999-08-24 12:43  millert
10023
10024         * sample.sudoers: Use the : operator some more and fix a typo
10025
10026 1999-08-24 12:43  millert
10027
10028         * HISTORY: update the history of sudo
10029
10030 1999-08-24 12:42  millert
10031
10032         * parse.c, parse.lex, testsudoers.c: CIDR-style netmask support
10033
10034 1999-08-24 12:41  millert
10035
10036         * CHANGES: recent changes
10037
10038 1999-08-24 12:40  millert
10039
10040         * sudo.tab.h: these should be generated with byacc, not bison
10041
10042 1999-08-24 12:40  millert
10043
10044         * lex.yy.c: regen
10045
10046 1999-08-24 11:58  millert
10047
10048         * parse.h, parse.yacc, sudo.tab.h: In "sudo -l" mode, the type of
10049           the stored (expanded) alias was not stored with the contents.
10050           This could lead to incorrect output if the sudoers file had
10051           different alias types with the same name.  Normal parsing (ie:
10052           not in '-l' mode) is unaffected.
10053
10054 1999-08-23 12:47  millert
10055
10056         * configure, configure.in: define _XOPEN_SOURCE to get at crypt()
10057           proto on some systems
10058
10059 1999-08-22 13:10  millert
10060
10061         * snprintf.c: fix comment
10062
10063 1999-08-22 13:09  millert
10064
10065         * tgetpass.c: don't need limits.h
10066
10067 1999-08-22 07:36  millert
10068
10069         * snprintf.c: kill bogus reference to vfprintf
10070
10071 1999-08-22 07:26  millert
10072
10073         * sample.sudoers, sudoers: better examples
10074
10075 1999-08-22 07:23  millert
10076
10077         * snprintf.c: Add some const in the K&R defs.  This is safe since
10078           we define const away if the compiler doesn't grok it.
10079
10080 1999-08-22 07:22  millert
10081
10082         * aclocal.m4, configure: Better test for working long long support.
10083           Ultrix compiler supports basic long long but not all operations
10084           on them.
10085
10086 1999-08-22 05:59  millert
10087
10088         * aclocal.m4, config.h.in, configure, getspwuid.c, snprintf.c,
10089           sudo.c, auth/secureware.c: Add check for LONG_IS_QUAD #undef
10090           MAXINT before including hpsecurity.h to silence an HP-UX warning
10091           Check for U?LONG_LONG_MAX in snprintf.c and use LONG_IS_QUAD
10092
10093 1999-08-21 15:00  millert
10094
10095         * LICENSE, aclocal.m4, config.h.in, configure, configure.in,
10096           snprintf.c: UCB-derived snprintf + asprintf support.  Supports
10097           quads if the compiler does.  No floating point yet, perhaps
10098           later...
10099
10100 1999-08-20 16:37  millert
10101
10102         * check.c, find_path.c, goodpath.c, logging.c, parse.c, sudo.c,
10103           auth/API, auth/sudo_auth.c, auth/sudo_auth.h: Run most of the
10104           code as root, not the invoking user.  It doesn't really gain us
10105           anything to run as the user since an attacker can just have an
10106           setuid(0) in their egg.  Running as root solves potential
10107           problems wrt signalling.
10108
10109 1999-08-19 13:45  millert
10110
10111         * logging.c, sudo.c: Don't wait for child to finish in log_error(),
10112           let the signal handler get it if we are still running, else let
10113           init reap it for us.  The extra time it takes to wait lets the
10114           user know that mail is being sent.
10115
10116           Install SIGCHLD handler in main() and for POSIX signals, block
10117           everything *except* SIGCHLD.
10118
10119 1999-08-19 12:30  millert
10120
10121         * logging.c, parse.c, parse.yacc, sudo.c, configure, sudo.h,
10122           INSTALL, config.h.in, configure.in: sudoers_lookup() now returns
10123           a bitmap instead of an int.  This makes it possible to express
10124           things like "failed to validate because user not listed for this
10125           host".  Some thigns that were previously VALIDATE_FOO are now
10126           FLAG_FOO.  This may change later on.
10127
10128           Reorganized code in log_auth() and sudo.c to deal with above
10129           changes.
10130
10131           Safer versions of push/pushcp with in the do { ... } while (0)
10132           style
10133
10134           parse.yacc now saves info on the stack to allow parse.c to
10135           determine if a user was listed, but not for the host he/she tried
10136           to run on.
10137
10138           Added --with-mail-if-no-host option
10139
10140 1999-08-17 11:29  millert
10141
10142         * parse.yacc, sudo.h, visudo.c, visudo.cat, visudo.html,
10143           visudo.man, visudo.pod: o NewArgv and NewArgc don't need to be
10144           externally visible.  o If pedantic > 1, it is a parse error.  o
10145           Add -s (strict) option to visudo which sets pedantic to 2.
10146
10147 1999-08-17 11:26  millert
10148
10149         * HISTORY, INSTALL: Just have sudo-bugs contact info in one place
10150
10151 1999-08-17 11:20  millert
10152
10153         * sudo.cat, sudo.html, sudo.man, sudo.pod: Add BUGS section
10154
10155 1999-08-17 10:29  millert
10156
10157         * configure, configure.in, Makefile.in: Add testsudoers to default
10158           build target if --with-devel Don't clean generated parser files
10159           unless "distclean".
10160
10161 1999-08-17 08:47  millert
10162
10163         * parse.yacc: In pedantic mode we need to save *all* the aliases,
10164           not just those that match, or we get spurious warnings.
10165
10166 1999-08-17 05:32  millert
10167
10168         * TROUBLESHOOTING: reference samples.sylog.conf
10169
10170 1999-08-14 11:50  millert
10171
10172         * sample.syslog.conf: Sample entries for syslog.conf
10173
10174 1999-08-14 11:40  millert
10175
10176         * CHANGES: recent changes
10177
10178 1999-08-14 11:36  millert
10179
10180         * auth/: API, afs.c, aix_auth.c, dce.c, fwtk.c, kerb4.c, kerb5.c,
10181           pam.c, passwd.c, rfc1938.c, secureware.c, securid.c, sia.c,
10182           sudo_auth.c, sudo_auth.h: In struct sudo_auth, turn need_root and
10183           configured into flags and add a flag to specify an auth method is
10184           running alone (the only one).  Pass auth methods their sudo_auth
10185           pointer, not the data pointer.  This allows us to get at the
10186           flags and tell if we are the only auth method.  That, in turn,
10187           allows the method to be able to decide what should/should not be
10188           a fatal error.  Currently only rfc1938 uses it this way, which
10189           allows us to kill the OTP_ONLY define and te hackery that went
10190           with it.  With access to the sudo_auth struct, methods can also
10191           get at a string holding their cannonical name (useful in error
10192           messages).
10193
10194 1999-08-14 11:34  millert
10195
10196         * Makefile.in, INSTALL, README, config.h.in, configure,
10197           configure.in, getspwuid.c, lex.yy.c, parse.lex, parse.yacc,
10198           sudo.tab.h: o --with-otp deprecated, use --without-passwd instead
10199           o real dependencies in the Makefile o --with-devel option to
10200           enable yacc, lex, and -Wall o style -- "foo -> bar" becomes
10201           "foo->bar" o ALL goes back to being a token, not a string but
10202           don't leak memory o rename hsotspec -> host in parse.yacc
10203
10204 1999-08-12 12:26  millert
10205
10206         * BUGS, CHANGES: recent changes
10207
10208 1999-08-12 12:24  millert
10209
10210         * configure, configure.in, interfaces.c, snprintf.c, sudo.c,
10211           sudo.h, auth/sudo_auth.c: o Digital UNIX needs to check for
10212           *snprintf() before -ldb is added to LIBS since -ldb includes a
10213           bogus snprintf().  o Add forward refs for struct mbuf and struct
10214           rtentry for Digital UNIX.  o Reorder some functions in snprintf.c
10215           to fix -Wall o Add missing includes to fix more -Wall
10216
10217 1999-08-12 10:37  millert
10218
10219         * INSTALL, check.c, config.h.in, configure, configure.in,
10220           parse.yacc, testsudoers.c, version.c, visudo.c, auth/sudo_auth.c:
10221           o Add a "pedentic" flag to the parser.  This makes sudo warn in
10222           cases where an alias may be used before it is defined.  Only
10223           turned on for visudo and testsudoers.  o Add
10224           --disable-authentication option that makes sudo not require
10225           authentication by default.  The PASSWD tag can be used to require
10226           authentication for an entry.  We no longer overload
10227           --without-passwd.
10228
10229 1999-08-12 10:29  millert
10230
10231         * lex.yy.c, parse.lex: Break 'WORD' regexp def into HOSTNAME and
10232           USERNAME.  These days a username can contain just about anything
10233           so be very permissive.  Also drop the unused \. punctuation.
10234
10235 1999-08-09 18:25  millert
10236
10237         * parse.yacc: o add a 'val' element to aliasinfo struct and move ->
10238           parse.h o find_alias() now returns an aliasinfo * instead of
10239           boolean o add_alias() now takes a value parameter to store in the
10240           aliasinfo.val o The cmnd, hostspec, runasuser, and user rules now
10241           return: 1) positive match 0) negative match (due to '!') -1) no
10242           match This means setting $$ explicitly in all cases, which I
10243           should have done in the first place.  It also means that we
10244           always store a value that is != -1 and when we see a '!' we can
10245           set *_matches to !rv if rv != -1.  The upshot of all of this is
10246           that '!' now works the way it should in lists and some of the
10247           rules are more uniform and sensible.
10248
10249 1999-08-09 18:17  millert
10250
10251         * Makefile.in: add parse.h dependency
10252
10253 1999-08-09 18:17  millert
10254
10255         * parse.h: kill unused *_matched macros
10256
10257 1999-08-09 10:35  millert
10258
10259         * parse.yacc: Allow a list of users as the first thing in a user
10260           spec, not just a single entry.  This makes things more uniform,
10261           though it does allow you to write user specs that are hard to
10262           read.
10263
10264 1999-08-09 10:08  millert
10265
10266         * configure: regen
10267
10268 1999-08-09 10:08  millert
10269
10270         * configure.in: fix check for crypt() in libufc
10271
10272 1999-08-07 14:03  millert
10273
10274         * README: sudo-users list now exists
10275
10276 1999-08-07 07:46  millert
10277
10278         * INSTALL, PORTING, README, TODO, TROUBLESHOOTING: Update to
10279           reality.
10280
10281 1999-08-07 05:59  millert
10282
10283         * CHANGES, Makefile.in, TODO, TROUBLESHOOTING, check.c, compat.h,
10284           config.h.in, configure.in, logging.c, sudo.h, version.c,
10285           visudo.c, configure, fileops.c: o Move lock_file() and touch()
10286           into fileops.c so visudo can use them o Visudo now locks the
10287           sudoers temp file instead of bailing when the temp file already
10288           exists.  This fixes the problem of stale temp files but it does
10289           *require* that you not try to put the temp file in a
10290           world-writable directory.  This shoud not be an issue as the temp
10291           file should live in the same dir as sudoers.  o Visudo now only
10292           installs the temp file as sudoers if it changed.
10293
10294 1999-08-06 09:49  millert
10295
10296         * logging.c: add fcntl locking
10297
10298 1999-08-06 09:33  millert
10299
10300         * configure, config.h.in, configure.in, logging.c: Lock the log
10301           file.
10302
10303 1999-08-06 05:36  millert
10304
10305         * Makefile.in, TROUBLESHOOTING, parse.c, pathnames.h.in, sudo.c,
10306           visudo.c, visudo.cat, visudo.html, visudo.man, visudo.pod: o
10307           /etc/stmp -> /etc/sudoers.tmp since solaris uses stmp as shadow
10308           temp file o _PATH_SUDO_SUDOERS -> _PATH_SUDOERS and
10309           _PATH_SUDO_STMP -> _PATH_SUDOERS_TMP
10310
10311 1999-08-05 17:38  millert
10312
10313         * INSTALL, check.c, config.h.in, configure, configure.in,
10314           version.c: o Kill *_MESSAGE and replace with NO_LECTURE o Add
10315           more things to root sudo -V config reporting
10316
10317 1999-08-05 10:56  millert
10318
10319         * configure, configure.in: aix_auth.o not authenticate.o
10320
10321 1999-08-05 10:48  millert
10322
10323         * config.h.in: Add --with-goodpri and --with-badpri configure
10324           options to specify the syslog priority to use.
10325
10326 1999-08-05 10:30  millert
10327
10328         * INSTALL, configure.in, logging.h, configure: Add --with-goodpri
10329           and --with-badpri configure options to specify the syslog
10330           priority to use.
10331
10332 1999-08-05 10:25  millert
10333
10334         * compat.h: kill crufty AIX stuff
10335
10336 1999-08-05 06:55  millert
10337
10338         * Makefile.in: Sigh, some versions of make (like Solaris's) don't
10339           deal with $< like I would expect.  Both GNU and BSD makes get
10340           this right but...  So, we just expand $< inline at the cost of
10341           some ugliness.
10342
10343 1999-08-05 06:52  millert
10344
10345         * version.c: If the invoking user is root, sudo will now print
10346           configure info in -V mode.  Currently just prints logging info,
10347           to be expanded later.
10348
10349 1999-08-05 06:51  millert
10350
10351         * logging.c, logging.h, sudo.c, sudo.h: o new defines for syslog
10352           facility and priority o use new print_version() functino for -V
10353           mode
10354
10355 1999-08-05 06:49  millert
10356
10357         * check.c: Don't need version.c
10358
10359 1999-08-05 06:21  millert
10360
10361         * configure, configure.in, aclocal.m4, config.h.in: Add check for
10362           syslog facilities and priorities tables in syslog.h
10363
10364 1999-08-05 05:23  millert
10365
10366         * Makefile.in: o authenticate -> aix_auth o add version.c
10367
10368 1999-08-05 05:21  millert
10369
10370         * auth/sudo_auth.c: Missed a prompt -> user_prompt conversion
10371
10372 1999-08-04 13:32  millert
10373
10374         * TODO: sudo should lock its logfile
10375
10376 1999-08-04 13:28  millert
10377
10378         * parse.yacc: o Add '!' correctly when expanding Aliases.  o Add
10379           shortcut macros for append() to make things more readable.  o The
10380           separator in append() is now a string instead of a char.  o In
10381           append(), only prepend the separator if the last char is not a
10382           '!'.    This is a hack but it greatly simplifies '!' handling.  o
10383           In -l mode, Runas lists and NOPASSWD/PASSWD tags are now
10384           inherited   across entries in a list (matches current behavior).
10385           o Fix formatting in -l mode such that items in a list are
10386           separated by   a space.  Greatlt improves readability.  o Space
10387           for name field in struct aliasinfo is now allocated dyanically
10388           instead of using a (big) buffer.  o In add_alias(), only search
10389           the list once (lsearch instead of lfind + lsearch)
10390
10391 1999-08-04 11:31  millert
10392
10393         * lex.yy.c, sudo.tab.h: regen
10394
10395 1999-08-04 10:54  millert
10396
10397         * configure, configure.in: Solais pam doesn't require anye xtra
10398           setup
10399
10400 1999-08-04 05:35  millert
10401
10402         * parse.yacc: o Simpler '!' support now that the lexer deals with
10403           multiple !'s for us.  o In the case of opFOO, have FOO give a
10404           boolean return value and set   foo_matches in opFOO, not FOO.  o
10405           Treat 'ALL' as a string since it gets fill()'d in
10406           parse.lex--fixes a   small memory leak.  In the long run it may
10407           be better to just fix parse.lex   and make ALL back into a token.
10408           However, having it be a string is useful   since it can be
10409           easily passed back to the parent rule if we so desire.
10410
10411 1999-08-04 03:54  millert
10412
10413         * parse.lex: o Remove some unnecessary backslashes o collapse
10414           multiple !'s by using !+ and checking if yyleng is even or odd.
10415           this allows us to simplify ! handling in parse.yacc
10416
10417 1999-08-04 03:53  millert
10418
10419         * sudo.c: -u flag was being ignored
10420
10421 1999-08-01 13:04  millert
10422
10423         * Makefile.in: correct fix
10424
10425 1999-08-01 12:37  millert
10426
10427         * Makefile.in: work around pod2man stupididy
10428
10429 1999-08-01 12:35  millert
10430
10431         * Makefile.in: correct dependencies for .cat
10432
10433 1999-08-01 12:26  millert
10434
10435         * sudo.cat, sudo.man, visudo.cat, visudo.man: regen
10436
10437 1999-08-01 12:25  millert
10438
10439         * sudo.pod, visudo.pod: Add copyright Update to reality
10440
10441 1999-08-01 11:42  millert
10442
10443         * parse.c, sudo.c, sudo.h: rename validate() to the more
10444           descriptive sudoers_lookup()
10445
10446 1999-08-01 06:49  millert
10447
10448         * auth/aix_auth.c: use tgetpass
10449
10450 1999-07-31 12:32  millert
10451
10452         * CHANGES: updates
10453
10454 1999-07-31 12:31  millert
10455
10456         * HISTORY, INSTALL, Makefile.in, README, RUNSON, TROUBLESHOOTING,
10457           configure, configure.in, sudo.c: Sudo, not CU Sudo
10458
10459 1999-07-31 12:19  millert
10460
10461         * Makefile.in, alloc.c, check.c, compat.h, config.h.in,
10462           find_path.c, getspwuid.c, goodpath.c, ins_2001.h, ins_classic.h,
10463           ins_csops.h, ins_goons.h, insults.h, interfaces.c, interfaces.h,
10464           lex.yy.c, logging.c, logging.h, parse.c, parse.h, parse.lex,
10465           parse.yacc, pathnames.h.in, putenv.c, strerror.c, sudo.c, sudo.h,
10466           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, version.h,
10467           visudo.c, auth/afs.c, auth/aix_auth.c, auth/dce.c, auth/fwtk.c,
10468           auth/kerb4.c, auth/kerb5.c, auth/pam.c, auth/passwd.c,
10469           auth/rfc1938.c, auth/secureware.c, auth/securid.c, auth/sia.c,
10470           auth/sudo_auth.c, auth/sudo_auth.h, emul/search.h, emul/utime.h,
10471           LICENSE: add 4th term to license similar to term 5 in the apache
10472           license
10473
10474 1999-07-31 12:02  millert
10475
10476         * LICENSE, aclocal.m4, check.c, configure.in, insults.h, logging.c,
10477           sudo.c, sudo.h, auth/rfc1938.c: there was a 1995 release too
10478
10479 1999-07-28 05:24  millert
10480
10481         * CHANGES: updates
10482
10483 1999-07-28 05:21  millert
10484
10485         * check.c: Use dirs instead of files for timestamp.  This allows
10486           tty and non-tty schemes to coexist reasonably.  Note, however,
10487           that when you update a tty ticket, the mtime on the user dir gets
10488           updated as well.
10489
10490 1999-07-28 05:17  millert
10491
10492         * configure.in, configure: Fix getprpwnam() checking on SCO.  Need
10493           to link with "-lprot -lx" when linking test program, not just
10494           -lprot.  Also add check for getspnam().  The SCO docs indicate
10495           that /etc/shadow can be used but this may be a lie.
10496
10497 1999-07-24 03:35  millert
10498
10499         * auth/API: first cut at auth API description
10500
10501 1999-07-22 15:48  millert
10502
10503         * auth/: fwtk.c, kerb4.c, kerb5.c, pam.c, rfc1938.c, secureware.c,
10504           securid.c, sudo_auth.c, sudo_auth.h: auth API change.  There is
10505           now an init method that gets run before the main loop.  This
10506           allows auth routines to differentiate between initialization that
10507           happens once vs. setup that needs to run each time through the
10508           loop.
10509
10510 1999-07-22 12:23  millert
10511
10512         * logging.c, auth/kerb5.c: use easprintf() and evasprintf()
10513
10514 1999-07-22 12:22  millert
10515
10516         * alloc.c, sudo.h: add easprintf() and evasprintf(), error checking
10517           versions of asprintf() and  vasprintf()
10518
10519 1999-07-22 09:14  millert
10520
10521         * TODO: remove 2 items.  One done, one won't do.
10522
10523 1999-07-22 09:10  millert
10524
10525         * sudo.man, visudo.man, sudo.cat, sudo.html, sudoers.html,
10526           visudo.cat, visudo.html, configure, lex.yy.c: regen
10527
10528 1999-07-22 09:06  millert
10529
10530         * CHANGES: new changes
10531
10532 1999-07-22 09:01  millert
10533
10534         * sudo.pod: o Document -K flag and update meaning of -k flag.  o
10535           BSD-style copyright o Document clearing of BIND resolver
10536           environment variables o Clarify bit about shared libs o suggest
10537           rc files create /tmp/.odus if your OS gives away files
10538
10539 1999-07-22 08:59  millert
10540
10541         * visudo.pod: BSD license
10542
10543 1999-07-22 08:58  millert
10544
10545         * tgetpass.c: o BSD copyright o no need to block signals, we now do
10546           that in main() o cosmetic changes
10547
10548 1999-07-22 08:57  millert
10549
10550         * testsudoers.c, visudo.c: o BSD-style copyright o Use "struct
10551           sudo_user" instead of old globals.  o some cometic cleanup
10552
10553 1999-07-22 08:56  millert
10554
10555         * sudo_setenv.c, version.h: BSD-style copyright
10556
10557 1999-07-22 08:56  millert
10558
10559         * sudo.h: o BSD copyright o logging and parser bits moved to their
10560           own .h files o new "struct sudo_user" to encapsulate many of the
10561           old globals.
10562
10563 1999-07-22 08:55  millert
10564
10565         * sudo.c: o no longer contains sudo 1.1/1.2 code o BSD copyright o
10566           use new logging routines o simplified flow of control o BIND
10567           resolver additions to badenv_table
10568
10569 1999-07-22 08:53  millert
10570
10571         * strerror.c: BSD-style copyright
10572
10573 1999-07-22 08:53  millert
10574
10575         * snprintf.c: Now compiles on more K&R compilers
10576
10577 1999-07-22 08:52  millert
10578
10579         * putenv.c: BSD-style copyright, cosmetic changes
10580
10581 1999-07-22 08:51  millert
10582
10583         * parse.c, parse.yacc, parse.h, parse.lex: BSD-style copyright.
10584           Move parser-specific defines and structs into parse.h + other
10585           cosmetic changes
10586
10587 1999-07-22 08:51  millert
10588
10589         * logging.h: defines for logging routines
10590
10591 1999-07-22 08:49  millert
10592
10593         * ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
10594           interfaces.h, pathnames.h.in: BSD-style copyright
10595
10596 1999-07-22 08:48  millert
10597
10598         * find_path.c, getspwuid.c, goodpath.c, interfaces.c: BSD-style
10599           copyright, cosmetic changes
10600
10601 1999-07-22 08:46  millert
10602
10603         * configure.in: o tgetpass.c is no longer optional o kill DCE_OBJS,
10604           add AUTH_OBJS o kill --disable-tgetpass o add --without-passwd o
10605           changes to fill in AUTH_OBJS for new auth api o check for
10606           strerror(), v?snprintf() and v?asprintf() o replace
10607           --with-AuthSRV with --with-fwtk
10608
10609 1999-07-22 08:43  millert
10610
10611         * config.h.in: BSD-style copyright.  Remove USE_GETPASS and
10612           HAVE_UTIME_NULL.  Add HAVE_FWTK, HAVE_STRERROR, HAVE_SNPRINTF,
10613           HAVE_VSNPRINTF, HAVE_ASPRINTF, HAVE_VASPRINTF, WITHOUT_PASSWD and
10614           NO_PASSWD
10615
10616 1999-07-22 08:42  millert
10617
10618         * compat.h: BSD-style copyright; Add S_IFLNK and MIN/MAX id they
10619           are missing.
10620
10621 1999-07-22 08:39  millert
10622
10623         * alloc.c: BSD-style copyright
10624
10625 1999-07-22 08:38  millert
10626
10627         * TROUBLESHOOTING: no more --with-getpass
10628
10629 1999-07-22 08:34  millert
10630
10631         * TODO: Take out things I've done...
10632
10633 1999-07-22 08:34  millert
10634
10635         * README: Refer to LICENSE
10636
10637 1999-07-22 08:34  millert
10638
10639         * PORTING: --with-getpass no longer exists
10640
10641 1999-07-22 08:33  millert
10642
10643         * Makefile.in: BSD-style copyright.  Update to reflect reality wrt
10644           new files and new auth modules.
10645
10646 1999-07-22 08:32  millert
10647
10648         * INSTALL: Remove --with-AuthSRV and --disable-tgetpass.  Add
10649           --with-fwtk and --without-passwd.
10650
10651 1999-07-22 08:31  millert
10652
10653         * HISTORY: Update history a bit
10654
10655 1999-07-22 08:29  millert
10656
10657         * COPYING, LICENSE: Now distributed under a BSD-style license
10658
10659 1999-07-22 08:28  millert
10660
10661         * auth/sudo_auth.c: o BSD-style copyright o Add support for
10662           NO_PASSWD/WITHOUT_PASSWD options.  o skey/opie replaced by
10663           rfc1938 code o new struct sudo_user global
10664
10665 1999-07-22 08:25  millert
10666
10667         * auth/: pam.c, sia.c: BSD-style copyright and use new log
10668           functions
10669
10670 1999-07-22 08:24  millert
10671
10672         * auth/kerb5.c: o BSD-style copyright o Use new log functiongs o
10673           Use asprintf() and snprintf() where sensible.
10674
10675 1999-07-22 08:19  millert
10676
10677         * check.c: Rewrote all the old sudo 1.1/1.2 code.  Timestamp
10678           handling is now done more reasonably--better sanity checks and
10679           tty-based stamps are now done as files in a directory with the
10680           same name as the invoking user, eg. /var/run/sudo/millert/ttyp1.
10681           It is not currently possible to mix tty and non-tty based ticket
10682           schemes but this may change in the future (it requires sudo to
10683           use a directory instead of a file in the non-tty case).  Also,
10684           ``sudo -k'' now sets the ticket back to the epoch and ``sudo -K''
10685           really deletes the file.  That way you don't get the lecture
10686           again just because you killed your ticket in .logout.  BSD-style
10687           copyright now.
10688
10689 1999-07-22 08:13  millert
10690
10691         * logging.c: o rewritten logging routines.  log_error() now takes
10692           printf-style varargs    and log_auth() for the return value of
10693           validate().  o BSD-style copyright
10694
10695 1999-07-22 07:04  millert
10696
10697         * auth.c, check_sia.c, dce_pwent.c, secureware.c: superceded by new
10698           auth API
10699
10700 1999-07-22 07:02  millert
10701
10702         * auth/fwtk.c: Use snprintf() where it makes sense and add a
10703           BSD-style copyright
10704
10705 1999-07-22 07:00  millert
10706
10707         * auth/: afs.c, aix_auth.c, dce.c, passwd.c, rfc1938.c,
10708           secureware.c, securid.c, sudo_auth.h, kerb4.c: BSD-style
10709           copyright
10710
10711 1999-07-22 06:57  millert
10712
10713         * emul/utime.h, utime.c: BSD-style copyright
10714
10715 1999-07-22 06:57  millert
10716
10717         * emul/search.h: this has been rewritten so use my BSD-style
10718           copyright
10719
10720 1999-07-15 11:21  millert
10721
10722         * snprintf.c: include malloc.h if no stdlib.h
10723
10724 1999-07-15 10:21  millert
10725
10726         * snprintf.c: KTH snprintf()/asprintf() for systems w/o them
10727
10728 1999-07-15 10:20  millert
10729
10730         * strerror.c: strerror() for systems w/o it
10731
10732 1999-07-12 06:53  millert
10733
10734         * visudo.c: stylistic changes
10735
10736 1999-07-12 06:25  millert
10737
10738         * parse.c, parse.lex, parse.yacc: Add contribution info in the main
10739           comment
10740
10741 1999-07-11 16:10  millert
10742
10743         * auth/pam.c: remove missed ref to PAM_nullpw
10744
10745 1999-07-11 16:10  millert
10746
10747         * auth/sudo_auth.h: pasto
10748
10749 1999-07-11 15:19  millert
10750
10751         * auth/kerb5.c: more or less complete now--still untested
10752
10753 1999-07-11 15:09  millert
10754
10755         * auth/: afs.c, pam.c: don't use user_name macro, it will go away
10756
10757 1999-07-11 14:42  millert
10758
10759         * auth/: opie.c, rfc1938.c, sudo_auth.h, skey.c: combine skey/opie
10760           code into rfc1938.c
10761
10762 1999-07-11 07:22  millert
10763
10764         * auth/: dce.c, sudo_auth.h: DCE authentication method; basically
10765           unchanged from dce_pwent.c
10766
10767 1999-07-11 06:44  millert
10768
10769         * auth/: aix_auth.c, sudo_auth.h: AIX authenticate() support.
10770           Could probably be much better
10771
10772 1999-07-11 06:43  millert
10773
10774         * auth/sia.c: Fix an uninitialized variable and some cleanup.  Now
10775           works (tested)
10776
10777 1999-07-11 05:37  millert
10778
10779         * auth/: sia.c, sudo_auth.h: SIA support for digital unix
10780
10781 1999-07-11 05:33  millert
10782
10783         * auth/pam.c: don't use prompt global, it will go away
10784
10785 1999-07-11 05:32  millert
10786
10787         * auth/secureware.c: correct copyright years
10788
10789 1999-07-10 20:32  millert
10790
10791         * auth/: afs.c, fwtk.c, kerb4.c, sudo_auth.h, kerb5.c, opie.c,
10792           pam.c, passwd.c, secureware.c, securid.c, skey.c, sudo_auth.c:
10793           New authentication API and methods
10794
10795 1999-07-08 06:46  millert
10796
10797         * parse.yacc: only save an entry if user_matches && host_matches,
10798           even if the stack is empty (fix for previous commit)
10799
10800 1999-07-08 06:35  millert
10801
10802         * parse.yacc: 1) Always save an entry on the stack if it is empty.
10803           This fixes the -l and -v flags that were broken by earlier parser
10804           changes.
10805
10806           2) In a Runas list, don't negate FALSE -> TRUE since that would
10807           make !foo match any time the user specified a runas user (via -u)
10808           other than foo.
10809
10810 1999-07-08 05:45  millert
10811
10812         * testsudoers.c: interfaces and num_interfaces are now auto, not
10813           extern
10814
10815 1999-07-07 14:09  millert
10816
10817         * auth.c: use a static global to keep stae about empty passwords
10818
10819 1999-07-07 14:08  millert
10820
10821         * check_sia.c: make PASSWORD_NOT_CORRECT logging consistent with
10822           other modules
10823
10824 1999-07-05 16:53  millert
10825
10826         * auth.c: PAM prompt code was wrong, looks like we have to kludge
10827           it after all.
10828
10829 1999-07-05 16:35  millert
10830
10831         * auth.c: In the PAM code, when a user hits return at the first
10832           password prompt, exit without a warning just like the normal auth
10833           code
10834
10835 1999-07-05 16:15  millert
10836
10837         * configure, configure.in: kludge around cross-compiler false
10838           positives
10839
10840 1999-07-05 16:14  millert
10841
10842         * auth.c, check.c, check_sia.c, logging.c, sudo.h, tgetpass.c: New
10843           (correct) PAM code Tgetpass now takes an echo flag for use with
10844           PAM_PROMPT_ECHO_ON Block SIGINT and SIGTSTP during auth remove a
10845           useless umask setting Change error from BAD_ALLOCATION ->
10846           BAD_AUTH_INIT (for use with sia/PAM) Some cosmetic changes to
10847           auth.c for consistency
10848
10849 1999-07-05 16:11  millert
10850
10851         * sudo.c: Some -Wall and kill some trailing spaces
10852
10853 1999-07-05 16:10  millert
10854
10855         * configure.in: define -D__EXTENSIONS__ for solaris so we get
10856           crypt() proto
10857
10858 1999-06-22 09:42  millert
10859
10860         * RUNSON: add Dynix 4.4.4
10861
10862 1999-06-22 09:30  millert
10863
10864         * INSTALL, config.h.in, configure.in, configure: for kerberos V <
10865           version, fall back on old kerb4 auth code
10866
10867 1999-06-22 06:41  millert
10868
10869         * INSTALL: clarify some things
10870
10871 1999-06-22 06:38  millert
10872
10873         * UPGRADE, sudoers.cat, sudoers.man, sudoers.pod: typos
10874
10875 1999-06-14 19:47  millert
10876
10877         * sudo.c: mention why DONT_LEAK_PATH_INFO is not the default
10878
10879 1999-06-03 12:34  millert
10880
10881         * tgetpass.c: Fix open(2) return value checking, was NULL for
10882           fopen, should be -1 for open
10883
10884 1999-06-03 12:06  millert
10885
10886         * configure: regen
10887
10888 1999-06-03 12:06  millert
10889
10890         * configure.in: better wording for solaris pam notice
10891
10892 1999-06-03 11:52  millert
10893
10894         * CHANGES: document recent changes
10895
10896 1999-06-03 11:52  millert
10897
10898         * TROUBLESHOOTING: Update shadow password section
10899
10900 1999-06-03 11:51  millert
10901
10902         * auth.c: move authentication code from check.c to auth.c
10903
10904 1999-06-03 11:51  millert
10905
10906         * Makefile.in, check.c, sudo.h: move authentication code to auth.c
10907
10908 1999-05-16 21:36  millert
10909
10910         * Makefile.in, check.c, check_sia.c, compat.h, find_path.c,
10911           getspwuid.c, goodpath.c, interfaces.c, interfaces.h, lex.yy.c,
10912           logging.c, parse.c, parse.lex, parse.yacc, secureware.c, sudo.c,
10913           sudo.h, sudo_setenv.c, testsudoers.c, tgetpass.c, visudo.c: Move
10914           interface-related defines to interfaces.h so we don't have to
10915           include <netinet/in.h> everywhere.
10916
10917 1999-05-14 12:30  millert
10918
10919         * CHANGES, INSTALL, TODO, check.c, compat.h, getspwuid.c,
10920           logging.c, parse.yacc, sudo.c, tgetpass.c:  o Replace _PASSWD_LEN
10921           braindeath with our own SUDO_MAX_PASS.
10922              It turns out the old DES crypt does the right thing with
10923           passwords
10924              longert than 8 characters.
10925            o Fix common typo (necesary -> necessary)
10926            o Update TODO list
10927
10928 1999-05-03 12:00  millert
10929
10930         * sudo.c: set $LOGNAME when we set $USER
10931
10932 1999-04-27 00:00  millert
10933
10934         * INSTALL: add comment about digital unix and interfaces.c warning
10935           with gcc
10936
10937 1999-04-15 01:12  millert
10938
10939         * sample.sudoers: use modern paths and give examples for some of
10940           the new parser features
10941
10942 1999-04-10 13:03  millert
10943
10944         * parse.c: fix comment
10945
10946 1999-04-10 00:49  millert
10947
10948         * alloc.c, check.c, check_sia.c, dce_pwent.c, find_path.c,
10949           getspwuid.c, goodpath.c, interfaces.c, lex.yy.c, logging.c,
10950           parse.c, parse.lex, parse.yacc, putenv.c, secureware.c, sudo.c,
10951           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, visudo.c:
10952           Function names should be flush with the start of the line so they
10953           can be found trivially in an editor and with grep
10954
10955 1999-04-10 00:40  millert
10956
10957         * find_path.c, interfaces.c, lex.yy.c, parse.c, parse.lex,
10958           parse.yacc, sudo.c, testsudoers.c, tgetpass.c, visudo.c: free(3)
10959           is already void, no need to cast it
10960
10961 1999-04-10 00:37  millert
10962
10963         * logging.c, sudo.c, sudo.h: catch case where cmnd_safe is not set
10964           (this should not be possible)
10965
10966 1999-04-10 00:10  millert
10967
10968         * CHANGES, logging.c, parse.c, parse.yacc, sudo.c, sudo.h,
10969           testsudoers.c, visudo.c: Stash the "safe" path (ie: the one
10970           listed in sudoers) to the command instead of stashing the struct
10971           stat.  Should be safer.
10972
10973 1999-04-08 19:56  millert
10974
10975         * INSTALL, Makefile.in, UPGRADE: notes on updating from an earlier
10976           release
10977
10978 1999-04-07 20:20  millert
10979
10980         * CHANGES: updated
10981
10982 1999-04-07 19:18  millert
10983
10984         * parse.yacc, sudo.tab.h, sudoers.cat, sudoers.html, sudoers.man,
10985           sudoers.pod: You can now specifiy a host list instead of just a
10986           host or alias.  Ie: user = host1,host2,ALIAS,!host3 my_command
10987           now works.
10988
10989 1999-04-07 02:59  millert
10990
10991         * testsudoers.c: Quiet -Wall
10992
10993 1999-04-07 02:50  millert
10994
10995         * parse.yacc: Move the push from the beginning of cmndspec to the
10996           end.  This means we no longer have to do a push at the end of
10997           privilege, just reset some values.
10998
10999 1999-04-06 20:24  millert
11000
11001         * sudoers.cat, sudoers.html, sudoers.man, sudoers.pod: runas-lists
11002           and NOPASSWD/PASSWD modifiers are now sticky and you can use "!"
11003           most everywhere
11004
11005 1999-04-06 14:12  millert
11006
11007         * sudoers.pod: modernize paths and update su example based on
11008           sample.sudoers one
11009
11010 1999-04-06 14:06  millert
11011
11012         * sample.sudoers: New runas semantics
11013
11014 1999-04-06 13:54  millert
11015
11016         * CHANGES, Makefile.in, alloc.c, config.h.in, configure,
11017           configure.in, strdup.c, sudo.h: In estrdup(), do the malloc
11018           ourselves so we don't need to rely on the system strdup(3) which
11019           may or may not exist.  There is now no need to provide strdup()
11020           for those w/o it.  Also, the prototype for estrdup() was wrong,
11021           it returns char * and its param is const.
11022
11023 1999-04-06 13:40  millert
11024
11025         * getcwd.c: $Sudo tag
11026
11027 1999-04-06 13:20  millert
11028
11029         * check.c: buf should be prompt; Michael Robokoff
11030           <mrobo@networkcs.com>
11031
11032 1999-04-06 01:40  millert
11033
11034         * CHANGES, TODO, parse.yacc: It is now possible to use the '!'
11035           operator in a runas list as well as in a Cmnd_Alias, Host_Alias
11036           and User_Alias.
11037
11038 1999-04-06 01:38  millert
11039
11040         * logging.c, sudo.h: Kill GLOBAL_NO_SPW_ENT (not used) and crank
11041           GLOBAL_PROBLEM
11042
11043 1999-04-06 01:08  millert
11044
11045         * sudo.h: Definitions of *_matched were wrong--user top, not top-2
11046           as subscript.
11047
11048 1999-04-06 01:00  millert
11049
11050         * logging.c, parse.c, parse.yacc, sudo.c, sudo.h: Add
11051           VALIDATE_NOT_OK_NOPASS for when user is not allowed to run a
11052           command but the NOPASSWD flag was set.  Make runasspec,
11053           runaslist, runasuser, and nopasswd typeless in parse.yacc Add
11054           support for '!' in the runas list Fix double printing of '%' and
11055           '+' for groups and netgroups respectively Add *_matched macros
11056           (no need for local stack variable).  Should only be used directly
11057           after a pop (since top must be >= 2).
11058
11059 1999-04-05 23:25  millert
11060
11061         * aclocal.m4, configure.in: Add copyright, somewhat silly
11062
11063 1999-04-05 16:57  millert
11064
11065         * BUGS, INSTALL, Makefile.in, README, alloc.c, check.c,
11066           check_sia.c, compat.h, config.h.in, configure, configure.in,
11067           dce_pwent.c, find_path.c, getspwuid.c, goodpath.c, ins_2001.h,
11068           ins_classic.h, ins_csops.h, ins_goons.h, insults.h, interfaces.c,
11069           lex.yy.c, logging.c, parse.c, parse.lex, parse.yacc,
11070           pathnames.h.in, putenv.c, secureware.c, strdup.c, sudo.c,
11071           sudo.cat, sudo.h, sudo.man, sudo_setenv.c, sudoers.cat,
11072           sudoers.man, testsudoers.c, tgetpass.c, utime.c, version.h,
11073           visudo.c, visudo.cat, visudo.man, emul/utime.h: Crank version to
11074           1.6 and combine copyright statements
11075
11076 1999-04-05 16:30  millert
11077
11078         * sample.sudoers: Use ! not ^ to do negation
11079
11080 1999-04-05 16:29  millert
11081
11082         * lex.yy.c: regen
11083
11084 1999-04-05 16:28  millert
11085
11086         * parse.yacc, parse.lex: Make runas and NOPASSWD tags persistent
11087           across entris in a command list.  Add a PASSWD tag to reverse
11088           NOPASSWD.  When you override a runas or *PASSWD tag the value
11089           given becomes the new default for the rest of the command list.
11090
11091 1999-04-02 16:03  millert
11092
11093         * CHANGES, RUNSON: update for 1.5.9
11094
11095 1999-04-02 16:02  millert
11096
11097         * visudo.c: Shift return value of system(3) by 8 to get real exit
11098           value and if it is not 1 or 0 print the retval along with the
11099           error message.
11100
11101 1999-03-30 16:45  millert
11102
11103         * Makefile.in: testsudoers needs LIBOBJS too
11104
11105 1999-03-30 12:17  millert
11106
11107         * parse.c, parse.yacc: Fix another parser bug.  For a sudoers entry
11108           like this:     millert      ALL=/bin/ls,(daemon) !/bin/ls sudo
11109           would not allow millert to run ls as root.
11110
11111 1999-03-30 01:08  millert
11112
11113         * CHANGES: new change
11114
11115 1999-03-30 01:03  millert
11116
11117         * parse.yacc: Save entries that match a ! command on the matching
11118           stack too
11119
11120 1999-03-30 01:01  millert
11121
11122         * sudo.c: Make sudo's usage info better when mutually exclusive
11123           args are given and don't rely on argument order to detect this;
11124           nick@zeta.org.au
11125
11126 1999-03-29 15:03  millert
11127
11128         * CHANGES, Makefile.in, RUNSON: updates from CU
11129
11130 1999-03-28 23:38  millert
11131
11132         * Makefile.in: use gzip
11133
11134 1999-03-28 23:31  millert
11135
11136         * parse.yacc: Fix off by one error introduced in *alloc changes
11137
11138 1999-03-28 23:05  millert
11139
11140         * BUGS, CHANGES, INSTALL, Makefile.in, README, alloc.c, check.c,
11141           check_sia.c, compat.h, config.h.in, configure, configure.in,
11142           dce_pwent.c, find_path.c, getspwuid.c, goodpath.c, ins_2001.h,
11143           ins_classic.h, ins_csops.h, ins_goons.h, insults.h, interfaces.c,
11144           lex.yy.c, logging.c, parse.c, parse.lex, parse.yacc,
11145           pathnames.h.in, putenv.c, secureware.c, strdup.c, sudo.c,
11146           sudo.cat, sudo.h, sudo.man, sudo_setenv.c, sudoers.cat,
11147           sudoers.man, testsudoers.c, tgetpass.c, utime.c, version.h,
11148           visudo.c, visudo.cat, visudo.html, visudo.man, visudo.pod,
11149           emul/utime.h: ++version
11150
11151 1999-03-28 21:59  millert
11152
11153         * Makefile.in, check.c, find_path.c, getspwuid.c, goodpath.c,
11154           interfaces.c, lex.yy.c, logging.c, parse.c, parse.lex,
11155           parse.yacc, putenv.c, secureware.c, strdup.c, sudo.c, sudo.h,
11156           sudo_setenv.c, testsudoers.c, utime.c, visudo.c: Use
11157           emalloc/erealloc/estrdup
11158
11159 1999-03-28 20:29  millert
11160
11161         * alloc.c: error checking memory allocation routines
11162
11163 1999-03-28 19:23  millert
11164
11165         * parse.yacc: Still not right, this fixes it for real
11166
11167 1999-03-28 19:08  millert
11168
11169         * parse.yacc: Fix for previous commit
11170
11171 1999-03-28 19:05  millert
11172
11173         * CHANGES, INSTALL, parse.yacc: Fix a parser bug that was exposed
11174           when mixing different runas specs and ! commands.  For example:
11175           millert          ALL=(daemon) /usr/bin/whoami,!/bin/ls would
11176           allow millert to run whoami as root as well as daemon when it
11177           should just allow daemon.  The problem was that comma-separated
11178           commands in a list shared the same entry on the matching stack.
11179           Now they get their own entry iff there is a full match.  It may
11180           be better to just make the runas spec persistent across all
11181           commands in a list like the user and host entries of the matching
11182           stack.  However, since that is a fairly major change it should
11183           gets its own minor rev increase.
11184
11185 1999-03-28 13:50  millert
11186
11187         * check.c, config.h.in: Simplify PAM code and fix a PAM-related
11188           warning on Linux
11189
11190 1999-03-26 13:17  millert
11191
11192         * CHANGES: updates
11193
11194 1999-03-26 13:12  millert
11195
11196         * sample.sudoers: better su entry
11197
11198 1999-03-26 13:10  millert
11199
11200         * configure: regen
11201
11202 1999-03-26 13:09  millert
11203
11204         * check.c, configure.in: new pam code that works on solaris, should
11205           work on linux too; aelberg@home.com
11206
11207 1999-03-19 14:44  millert
11208
11209         * RUNSON: more entries
11210
11211 1999-03-19 14:43  millert
11212
11213         * config.h.in: only include strings.h if there is no string.h
11214
11215 1999-03-17 15:25  millert
11216
11217         * config.guess: Sinix is now being called ReliantUNIX;
11218           bjjackso@us.oracle.com
11219
11220 1999-03-13 13:37  millert
11221
11222         * sudo.c: shost must be set before log functions are called #ifdef
11223           HOST_IN_LOG
11224
11225 1999-03-07 18:34  millert
11226
11227         * CHANGES, lex.yy.c, parse.lex: Fix a bug wrt quoting characters in
11228           command args.  Stop processing an arg when you hit a backslash so
11229           the quoted-character detection can catch it.
11230
11231 1999-02-26 01:19  millert
11232
11233         * interfaces.c: include sys/time.h; aparently AIX needs it.
11234           ppz@cdu.elektra.ru
11235
11236 1999-02-23 19:43  millert
11237
11238         * configure, configure.in: add missing case statement so
11239           --without-sendmail works
11240
11241 1999-02-22 21:51  millert
11242
11243         * CHANGES: more
11244
11245 1999-02-22 15:10  millert
11246
11247         * configure, configure.in: only search for -lsun in irix <= 4.x
11248
11249 1999-02-22 15:01  millert
11250
11251         * configure, configure.in: back out last configure.in change now
11252           that I've hacked autoconf to fix the real problem and add a
11253           missing newline
11254
11255 1999-02-22 14:32  millert
11256
11257         * CHANGES: updated
11258
11259 1999-02-22 14:05  millert
11260
11261         * getcwd.c: add def of dirfd() for those without it
11262
11263 1999-02-22 10:58  millert
11264
11265         * configure.in, configure: When falling back to checking for
11266           socket() when linking with "-lsocket -lnsl" check for main()
11267           instead since autoconf has already cached the results of checking
11268           for socket() in -lsocket.  This is really an autoconf bug as it
11269           should use the extra libs as part of the cache variable name.
11270
11271 1999-02-22 10:47  millert
11272
11273         * configure.in: typo
11274
11275 1999-02-21 15:18  millert
11276
11277         * configure.in: fix occurrence of $with_timeout that should be
11278           $with_password_timeout;
11279           Michael.Neef@neuroinformatik.ruhr-uni-bochum.de
11280
11281 1999-02-17 11:40  millert
11282
11283         * sudo.cat, sudo.html, sudo.man, sudo.pod: fix grammar;
11284           espie@openbsd.org
11285
11286 1999-02-11 01:41  millert
11287
11288         * parse.yacc, sudo.c, testsudoers.c: add cast for strdup in places
11289           it does not have it
11290
11291 1999-02-09 13:11  millert
11292
11293         * configure, configure.in: define for_BSD_TYPES irix
11294
11295 1999-02-06 19:47  millert
11296
11297         * Makefile.in, sudo.cat, sudo.html, sudo.man, sudo.pod: Make it
11298           clear that it is the user's password, not root's, that we want.
11299
11300 1999-02-06 19:43  millert
11301
11302         * check.c, sudo.h: If the user enters an empty password and really
11303           has no password, accept the empty password they entered.
11304           Perviously, they could enter anything *but* an empty password.
11305           Also, add GETPASS macro that calls either tgetpass() or getpass()
11306           depending on how sudo was configured.  Problem noted by
11307           jdg@maths.qmw.ac.uk
11308
11309 1999-02-02 23:32  millert
11310
11311         * Makefile.in, check.c, check_sia.c, compat.h, config.h.in,
11312           dce_pwent.c, find_path.c, getspwuid.c, goodpath.c, ins_2001.h,
11313           ins_classic.h, ins_csops.h, ins_goons.h, insults.h, interfaces.c,
11314           logging.c, parse.c, parse.lex, parse.yacc, pathnames.h.in,
11315           putenv.c, secureware.c, strdup.c, sudo.c, sudo.h, sudo_setenv.c,
11316           testsudoers.c, tgetpass.c, utime.c, version.h, visudo.c,
11317           emul/utime.h: add explicate copyright
11318
11319 1999-02-02 23:16  millert
11320
11321         * CHANGES: mention -lsocket, -lnsl configure changes
11322
11323 1999-02-02 17:54  millert
11324
11325         * sudo.c: Don't clobber errno after calling check_sudoers().
11326
11327 1999-01-31 19:46  millert
11328
11329         * configure.in, configure: When linking with both -lsocket and
11330           -lnsl be sure to do so in that order.  Also, when we can't find
11331           socket() or inet_addr() and have to try linking with both libs,
11332           issue a warning.
11333
11334 1999-01-31 19:45  millert
11335
11336         * sudo.cat, sudo.man, sudo.pod: clarify bad timestamp and fmt
11337
11338 1999-01-23 12:18  millert
11339
11340         * INSTALL, RUNSON: be clear that pam is linux-only and add a RUNSON
11341           entry
11342
11343 1999-01-22 13:13  millert
11344
11345         * configure, CHANGES, INSTALL, configure.in: fix and correctly
11346           document --with-umask; problem noted by adap@adap.org
11347
11348 1999-01-19 20:38  millert
11349
11350         * configure.in, configure: only use /usr/{man,catman}/local to
11351           store man pages if suer didn't override prefix or mandir
11352
11353 1999-01-19 20:24  millert
11354
11355         * configure, INSTALL, configure.in: fix typo, make --with-SecurID
11356           take an arg
11357
11358 1999-01-18 21:53  millert
11359
11360         * RUNSON: updates from users
11361
11362 1999-01-18 21:04  millert
11363
11364         * CHANGES, INSTALL, check.c, configure, configure.in: FWTK
11365           'authsrv' support from Kevin Kadow <kadow@MSG.NET>
11366
11367 1999-01-18 20:00  millert
11368
11369         * configure, configure.in: better fix for the problem of unresolved
11370           symbols in -lnsl or -lsocket
11371
11372 1999-01-18 19:39  millert
11373
11374         * configure, configure.in: when checking for functions in -lnsl and
11375           -lsocket link with both of them to avoid unresolved symbols on
11376           some weirdo systems
11377
11378 1999-01-17 20:49  millert
11379
11380         * BUGS, CHANGES, RUNSON, TODO: old changes that didn't make it into
11381           RCS before the RCS->CVS switch
11382
11383 1999-01-17 18:16  millert
11384
11385         * Makefile.in, check.c, check_sia.c, compat.h, config.h.in,
11386           configure.in, dce_pwent.c, find_path.c, getspwuid.c, goodpath.c,
11387           ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
11388           interfaces.c, lex.yy.c, logging.c, lsearch.c, parse.c, parse.lex,
11389           parse.yacc, pathnames.h.in, putenv.c, secureware.c, strdup.c,
11390           sudo.c, sudo.pod, sudo_setenv.c, sudoers.pod, testsudoers.c,
11391           tgetpass.c, utime.c, visudo.c, visudo.pod, emul/search.h,
11392           emul/utime.h: add sudo tags
11393
11394 1999-01-17 17:53  millert
11395
11396         * version.h, sudo.h: testing Sudo tag
11397
11398 1999-01-17 17:40  millert
11399
11400         * BUGS, INSTALL, Makefile.in, README, check.c, check_sia.c,
11401           compat.h, config.h.in, configure, configure.in, dce_pwent.c,
11402           find_path.c, getspwuid.c, goodpath.c, ins_2001.h, ins_classic.h,
11403           ins_csops.h, ins_goons.h, insults.h, interfaces.c, lex.yy.c,
11404           logging.c, parse.c, parse.lex, parse.yacc, pathnames.h.in,
11405           putenv.c, secureware.c, strdup.c, sudo.c, sudo.cat, sudo.h,
11406           sudo.man, sudo_setenv.c, sudoers.cat, sudoers.man, testsudoers.c,
11407           tgetpass.c, utime.c, version.h, visudo.c, visudo.cat, visudo.man,
11408           emul/utime.h: crank version and regen files
11409
11410 1999-01-17 17:27  millert
11411
11412         * Makefile.in: kill rcs goop in update_version and fix now that
11413           version is a const
11414
11415 1999-01-17 17:08  millert
11416
11417         * INSTALL, check.c, config.h.in, configure, configure.in,
11418           logging.c, sudo.c, sudo.h, sudo.pod: kerb5 support from
11419           fcusack@iconnet.net
11420
11421 1999-01-17 16:45  millert
11422
11423         * realpath.c, sudo_realpath.c: we no longer use realpath
11424
11425 1999-01-17 16:44  millert
11426
11427         * qualify.c: replaced by find_path.c
11428
11429 1999-01-17 16:43  millert
11430
11431         * options.h: all options are now configure flags
11432
11433 1999-01-17 16:42  millert
11434
11435         * lex.yy.c: regen
11436
11437 1999-01-17 16:41  millert
11438
11439         * getwd.c: superceded by getcwd.c
11440
11441 1999-01-17 16:36  millert
11442
11443         * getpass.c: superceded by tgetpass.c
11444
11445 1999-01-17 16:36  millert
11446
11447         * SUPPORTED: superceded by RUNSON
11448
11449 1999-01-17 16:33  millert
11450
11451         * OPTIONS: No longer used now that we have configure options for
11452           everything.
11453
11454 1999-01-17 16:32  millert
11455
11456         * configure: regen based on configure.in
11457
11458 1999-01-17 16:31  millert
11459
11460         * sudo.man, sudoers.man, visudo.man, sudo.cat, sudo.html,
11461           sudoers.cat, visudo.cat, sudoers.html, visudo.html: regen based
11462           on sudo.pod, sudoers.pod, and visudo.pod
11463
11464 1998-12-11 12:16  millert
11465
11466         * check.c: fix tty tickets in remove_timestamp (didn't use ':')
11467
11468 1998-12-07 16:16  millert
11469
11470         * interfaces.c: close sock when we are done with it
11471
11472 1998-11-27 19:37  millert
11473
11474         * parse.yacc: never say "error on line -1"
11475
11476 1998-11-23 23:38  millert
11477
11478         * configure.in: check for -lnsl before -lsocket
11479
11480 1998-11-23 23:29  millert
11481
11482         * configure.in: quote '[', ']' used in ranges correctly
11483
11484 1998-11-21 17:54  millert
11485
11486         * config.h.in: add missing NO_ROOT_SUDO noted by drno@tsd.edu
11487
11488 1998-11-20 18:33  millert
11489
11490         * version.h: 1.5.7
11491
11492 1998-11-20 18:33  millert
11493
11494         * INSTALL: more info for 1.5.7
11495
11496 1998-11-20 18:30  millert
11497
11498         * README: update for 1.5.7
11499
11500 1998-11-20 14:26  millert
11501
11502         * parse.yacc: make increases of cm_list_size and ga_list_size be
11503           similar to increases of stacksize (ie: >= not > in initial
11504           compare).
11505
11506 1998-11-20 14:22  millert
11507
11508         * parse.yacc: when we get a syntax error, report it for the
11509           previous line since that's generally where the error occurred.
11510
11511 1998-11-18 15:31  millert
11512
11513         * config.h.in, configure.in, interfaces.c: add back check for
11514           sys/sockio.h but only use it if SIOCGIFCONF is not defined
11515
11516 1998-11-18 15:25  millert
11517
11518         * config.h.in: define BSD_COMP for svr4
11519
11520 1998-11-17 23:16  millert
11521
11522         * check.c, check_sia.c, find_path.c, getcwd.c, getspwuid.c,
11523           goodpath.c, interfaces.c, logging.c, lsearch.c, parse.c,
11524           parse.lex, parse.yacc, putenv.c, secureware.c, strdup.c, sudo.c,
11525           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, visudo.c: more
11526           -Wall
11527
11528 1998-11-17 23:10  millert
11529
11530         * configure.in: kill check for sockio,h
11531
11532 1998-11-17 23:10  millert
11533
11534         * config.h.in: no more HAVE_SYS_SOCKIO_H
11535
11536 1998-11-17 22:51  millert
11537
11538         * check.c, check_sia.c, find_path.c, getcwd.c, getspwuid.c,
11539           goodpath.c, interfaces.c, logging.c, lsearch.c, parse.c,
11540           parse.lex, parse.yacc, putenv.c, secureware.c, strdup.c, sudo.c,
11541           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, visudo.c:
11542           -Wall
11543
11544 1998-11-16 17:38  millert
11545
11546         * sudo.c: add missing inform_user()
11547
11548 1998-11-13 19:21  millert
11549
11550         * find_path.c: return NOT_FOUND if given fully qualified path and
11551           it does not exist previously it would perror(ENOENT) which
11552           bypasses the option to not leak path info
11553
11554 1998-11-13 19:20  millert
11555
11556         * configure.in: for kerb5, check for -lkerb4, fall back on -lkrb
11557           for kerb, check for -ldes
11558
11559 1998-11-13 14:19  millert
11560
11561         * INSTALL: tty tickets are user:tty now
11562
11563 1998-11-13 14:10  millert
11564
11565         * check.c: when using tty tickets make it user:tty not user.tty as
11566           a username could have a '.' in it
11567
11568 1998-11-09 19:15  millert
11569
11570         * sudo.c: add "ignoring foo found in ." for auth successful case
11571
11572 1998-11-09 17:57  millert
11573
11574         * sudo.c: add missing printf param
11575
11576 1998-11-08 15:56  millert
11577
11578         * INSTALL, config.h.in, configure.in, find_path.c, sudo.c, sudo.h:
11579           go back to printing "command not found" unless
11580           --disable-path-info specified.  Also, tell user when we ignore
11581           '.' in their path and it would have been used but for
11582           --with-ignore-dot.
11583
11584 1998-11-08 13:51  millert
11585
11586         * check.c, sudo.c: Only one space after a colon, not two, in
11587           printf's
11588
11589 1998-11-05 12:59  millert
11590
11591         * sudo.pod: document setting $USER
11592
11593 1998-11-04 22:24  millert
11594
11595         * check.c: fix bugs with prompt expansion
11596
11597 1998-11-04 21:21  millert
11598
11599         * sudo.c: set $USER for root too
11600
11601 1998-11-04 17:13  millert
11602
11603         * getspwuid.c: typo
11604
11605 1998-11-04 17:07  millert
11606
11607         * configure.in: HP-UX's iscomsec is in -lsec, not libc
11608
11609 1998-11-03 22:24  millert
11610
11611         * configure.in: remove some entries in the OS case statement that
11612           did nothing
11613
11614 1998-11-03 22:19  millert
11615
11616         * TROUBLESHOOTING: add "cd" section and flush out syslog section
11617
11618 1998-11-03 20:51  millert
11619
11620         * Makefile.in: no more sudo-lex.yy.c
11621
11622 1998-11-03 20:50  millert
11623
11624         * check_sia.c: add custom prompt support
11625
11626 1998-11-03 20:40  millert
11627
11628         * sudo.c: kill perror("malloc") since we already have a good error
11629           messages pw_ent -> pw for brevity set $USER if -u specified
11630
11631 1998-11-03 20:39  millert
11632
11633         * parse.c: kill perror("malloc") since we already have a good error
11634           messages pw_ent -> pw for brevity when checking if %group
11635           matches, look up user in password file so that %groups works in a
11636           RunAs spec.
11637
11638 1998-11-03 20:39  millert
11639
11640         * logging.c, parse.yacc: kill perror("malloc") since we already
11641           have a good error messages
11642
11643 1998-11-03 20:38  millert
11644
11645         * check.c, getspwuid.c, interfaces.c, testsudoers.c: kill
11646           perror("malloc") since we already have a good error messages
11647           pw_ent -> pw for brevity
11648
11649 1998-11-03 15:03  millert
11650
11651         * tgetpass.c: the prompt is expanded before tgetpass is called
11652
11653 1998-11-03 15:03  millert
11654
11655         * sudo.h: tgetpass now has the same args as getpass again
11656
11657 1998-11-03 15:02  millert
11658
11659         * getspwuid.c: add iscomsec, issecure support
11660
11661 1998-11-03 15:02  millert
11662
11663         * check.c: we now expand any %h or %u in the prompt before passing
11664           to tgetpass
11665
11666 1998-11-03 14:58  millert
11667
11668         * configure.in: add check for syslog(3) in -lsocket, -lnsl, -linet
11669
11670 1998-11-03 14:56  millert
11671
11672         * config.h.in: add HAVE_ISCOMSEC and HAVE_ISSECURE
11673
11674 1998-11-03 14:55  millert
11675
11676         * configure.in: add check for iscomsec in HP-UX
11677
11678 1998-11-03 14:51  millert
11679
11680         * configure.in: check for issecure if we have getpwanam on SunOS
11681           some options are incompatible with DUNIX SIA check for dispcrypt
11682           on DUNIX
11683
11684 1998-10-25 15:21  millert
11685
11686         * config.h.in: add HAVE_DISPCRYPT
11687
11688 1998-10-25 15:21  millert
11689
11690         * secureware.c: add back support for non-dispcrypt based checking
11691           for older DUNIX
11692
11693 1998-10-25 00:51  millert
11694
11695         * INSTALL: sia changes
11696
11697 1998-10-25 00:48  millert
11698
11699         * configure.in: SIA becomes the default on Digital UNIX now havbe
11700           --disable-sia to turn it off...
11701
11702 1998-10-24 23:52  millert
11703
11704         * check.c: move local includes after system ones
11705
11706 1998-10-24 19:28  millert
11707
11708         * check.c, check_sia.c, sudo.h: add pass_warn() which prints out
11709           INCORRECT_PASSWORD or an insult to stderr
11710
11711 1998-10-24 19:07  millert
11712
11713         * check_sia.c: fix while loop in sia_attempt_auth() that checks the
11714           password.  Only the first iteration was working.
11715
11716 1998-10-21 21:00  millert
11717
11718         * aclocal.m4: don't trust UID_MAX or MAXUID
11719
11720 1998-10-21 20:35  millert
11721
11722         * configure.in: fix two pastos
11723
11724 1998-10-21 20:30  millert
11725
11726         * configure.in: fix typo
11727
11728 1998-10-21 20:19  millert
11729
11730         * getspwuid.c, secureware.c: init crypt_type to INT_MAX since it is
11731           legal to be negative in DUNX 5.0
11732
11733 1998-10-21 20:15  millert
11734
11735         * configure.in: for secureware on dunix, use -lsecurity -ldb -laud
11736           -lm but check for -ldb since DUNX < 4.0 lacks it
11737
11738 1998-10-21 19:50  millert
11739
11740         * check.c, compat.h, config.h.in, configure.in, getspwuid.c,
11741           secureware.c, sudo.c, tgetpass.c: getprpwuid is broken in HP-UX
11742           10.20 at least (it sleeps for 2 minutes if the shadow files don't
11743           exist).
11744
11745 1998-10-20 17:22  millert
11746
11747         * INSTALL: updated --with-editor blurb
11748
11749 1998-10-20 17:21  millert
11750
11751         * TROUBLESHOOTING: tell how to put sudoers in a different dir
11752
11753 1998-10-20 16:22  millert
11754
11755         * configure.in: add missing quotes around $with_editor
11756
11757 1998-10-20 14:00  millert
11758
11759         * configure.in: typo in --with-editor bits
11760
11761 1998-10-20 01:24  millert
11762
11763         * INSTALL: I don't expect it to work on Solaris
11764
11765 1998-10-20 01:24  millert
11766
11767         * check.c: add back security/pam_misc.h
11768
11769 1998-10-19 17:13  millert
11770
11771         * INSTALL: remove dunix note since configure checks for this now
11772
11773 1998-10-19 16:30  millert
11774
11775         * configure.in: add check for broken dunix prot.h (4.0 < 4.0D is
11776           bad)
11777
11778 1998-10-19 14:32  millert
11779
11780         * getspwuid.c, secureware.c, tgetpass.c: new dunix shadow code, use
11781           dispcrypt(3)
11782
11783 1998-10-19 14:32  millert
11784
11785         * config.h.in: add HAVE_INITPRIVS
11786
11787 1998-10-19 14:31  millert
11788
11789         * sudo.c: call initprivs() if we have it for getprpwuid later on
11790
11791 1998-10-19 14:30  millert
11792
11793         * Makefile.in: clean pathnames.h too
11794
11795 1998-10-19 14:28  millert
11796
11797         * configure.in: quote "Sorry, try again." with [] since it has a
11798           comma in it set LIBS when we add stuff to SUDO_LIBS set
11799           SECUREWARE when we find getprpwuid() so we can check for
11800           bigcrypt, set_auth_parameters, and initprivs later.
11801
11802 1998-10-19 13:48  millert
11803
11804         * INSTALL: update Digital UNIX note about acl.h
11805
11806 1998-10-18 20:26  millert
11807
11808         * INSTALL: add --with-sia --without-root-sudo ->
11809           --disable-root-sudo some reordering
11810
11811 1998-10-18 20:22  millert
11812
11813         * secureware.c: add whitespace
11814
11815 1998-10-18 20:22  millert
11816
11817         * Makefile.in, check.c, config.h.in, configure.in, logging.c,
11818           sudo.h: add SIA support
11819
11820 1998-10-18 20:21  millert
11821
11822         * check_sia.c: Initial revision
11823
11824 1998-10-18 19:42  millert
11825
11826         * configure.in: when checking for -lsocket, -lnsl, and -linet,
11827           check for the specific functions we need from them.
11828
11829 1998-10-18 19:10  millert
11830
11831         * config.h.in, sudo.h: move Syslog_* defs into sudo.h
11832
11833 1998-10-18 18:15  millert
11834
11835         * sudo.h, Makefile.in: added check_secureware
11836
11837 1998-10-18 18:12  millert
11838
11839         * configure.in: finished adding AC_MSG_CHECKING and AC_MSG_RESULT
11840           bits
11841
11842 1998-10-18 18:00  millert
11843
11844         * insults.h: don't define CLASSIC_INSULTS and CSOPS_INSULTS if no
11845           other sets defined.  configure now does that for us
11846
11847 1998-10-18 17:45  millert
11848
11849         * configure.in: move some --with options around change a bunch of
11850           echo's to AC_MSG_CHECKING, AC_MSG_RESULT pairs
11851
11852 1998-10-18 01:09  millert
11853
11854         * configure.in: change $with_foo-bar -> $with_foo_bar kill extra "
11855           that caused a syntax error add some echo verbage
11856
11857 1998-10-17 18:08  millert
11858
11859         * check.c: moved SecureWare stuff into secureware.c
11860
11861 1998-10-17 18:07  millert
11862
11863         * secureware.c: Initial revision
11864
11865 1998-10-17 17:02  millert
11866
11867         * INSTALL: update url to solaris gcc bins
11868
11869 1998-10-17 16:39  millert
11870
11871         * INSTALL: change option formatter and flesh out someentries
11872
11873 1998-10-17 16:18  millert
11874
11875         * sudo.pod, visudo.pod, TROUBLESHOOTING: environmental variable ->
11876           environment variable
11877
11878 1998-10-17 16:01  millert
11879
11880         * BUGS: everything is now done via configure
11881
11882 1998-10-17 16:00  millert
11883
11884         * README: prev rev was 1.5.6
11885
11886 1998-10-17 00:33  millert
11887
11888         * Makefile.in: passing SUDOERS_MODE, SUDOERS_UID, SUDOERS_GID
11889           correctly
11890
11891 1998-10-17 00:32  millert
11892
11893         * config.h.in: SUDOERS_MODE, SUDOERS_UID, SUDOERS_GID now come from
11894           the Makefile
11895
11896 1998-10-17 00:31  millert
11897
11898         * Makefile.in: merge OSDEFS and OPTIONS into DEFS get sudoers_uid,
11899           sudoers_gid, sudoers_mode from configure
11900
11901 1998-10-17 00:30  millert
11902
11903         * configure.in: SUDOERS_MODE, SUDOERS_UID, and SUDOERS_GID now get
11904           substituted into the Makefile, not config.h
11905
11906 1998-10-17 00:30  millert
11907
11908         * INSTALL: document all --with/--enable options
11909
11910 1998-10-15 02:25  millert
11911
11912         * insults.h: options.h is no more
11913
11914 1998-10-15 02:25  millert
11915
11916         * config.h.in: assimilated options.h
11917
11918 1998-10-15 02:24  millert
11919
11920         * configure.in: moved options from options.h to configure
11921
11922 1998-10-15 01:41  millert
11923
11924         * check.c, find_path.c, getspwuid.c, goodpath.c, interfaces.c,
11925           logging.c, parse.c, parse.lex, parse.yacc, sudo.c, sudo.pod,
11926           sudo_setenv.c, visudo.c: no more options.h
11927
11928 1998-10-15 01:39  millert
11929
11930         * INSTALL, Makefile.in, PORTING, TROUBLESHOOTING: remove references
11931           to options.h
11932
11933 1998-10-15 01:32  millert
11934
11935         * interfaces.c, dce_pwent.c, sudo.c: kill sys/time.h
11936
11937 1998-10-15 00:10  millert
11938
11939         * tgetpass.c: if select return < -1 still prompt for pw
11940
11941 1998-10-15 00:03  millert
11942
11943         * options.h: convert LOGGING, LOGFAC, MAXLOGFILELEN,
11944           IGNORE_DOT_PATH into configure options
11945
11946 1998-10-14 23:57  millert
11947
11948         * parse.c: FAST_MATCH is no longer an optino
11949
11950 1998-10-14 23:52  millert
11951
11952         * check.c: remove_timestamp() if timestamp is preposterous
11953
11954 1998-10-14 23:36  millert
11955
11956         * options.h: convert more options to --with/--enable
11957
11958 1998-10-14 23:36  millert
11959
11960         * INSTALL, aclocal.m4: logfile -> logpath
11961
11962 1998-10-14 23:31  millert
11963
11964         * configure.in: convert more options into --with and --enable
11965
11966 1998-10-14 23:28  millert
11967
11968         * tgetpass.c: catch EINTR in select and restart
11969
11970 1998-10-14 23:15  millert
11971
11972         * logging.c: sys/errno -> errno
11973
11974 1998-09-24 11:40  millert
11975
11976         * sudo.c: UMASK -> SUDO_UMASK.
11977
11978 1998-09-24 11:36  millert
11979
11980         * check.c, logging.c: time.h, not sys/time.h
11981
11982 1998-09-21 19:52  millert
11983
11984         * logging.c: MAILER -> _PATH_SENDMAIL
11985
11986 1998-09-21 00:06  millert
11987
11988         * INSTALL, configure.in: no more --with-C2, now it is
11989           --disable-shadow
11990
11991 1998-09-21 00:00  millert
11992
11993         * aclocal.m4, check.c, compat.h, config.h.in, configure.in,
11994           getspwuid.c, sudo.c, tgetpass.c: new shadow password scheme.
11995           Always include shadow support if the platform supports it and the
11996           user did not disable it via configure
11997
11998 1998-09-20 19:48  millert
11999
12000         * configure.in: --with-getpass -> --{enable,disable}-tgetpass
12001
12002 1998-09-20 19:16  millert
12003
12004         * Makefile.in: pathnames.h -> pathnames.h.in
12005
12006 1998-09-20 19:14  millert
12007
12008         * check.c: fix version string
12009
12010 1998-09-20 19:12  millert
12011
12012         * check.c: move pam_conv to be static to auth function remove
12013           pam_misc.h (solaris doesn't have one)
12014
12015 1998-09-20 19:10  millert
12016
12017         * aclocal.m4: _CONFIG_PATH_* -> _PATH_* or _PATH_SUDO_* kill
12018           SUDO_PROG_PWD
12019
12020 1998-09-20 19:10  millert
12021
12022         * configure.in: munge pathnames.h.in -> pathnames.h kill
12023           SUDO_PROG_PWD
12024
12025 1998-09-20 19:10  millert
12026
12027         * pathnames.h.in: convert to pathnames.h.in
12028
12029 1998-09-18 20:20  millert
12030
12031         * configure.in: fix typo in sysv4 matching case /.
12032
12033 1998-09-18 01:29  millert
12034
12035         * check.c: pam stuff needs to run as root, not user, for shadow
12036           passwords
12037
12038 1998-09-17 12:26  millert
12039
12040         * Makefile.in, emul/utime.h, check.c, compat.h, config.h.in,
12041           dce_pwent.c, find_path.c, getspwuid.c, goodpath.c, ins_2001.h,
12042           ins_classic.h, ins_csops.h, ins_goons.h, insults.h, interfaces.c,
12043           logging.c, options.h, parse.c, parse.lex, parse.yacc,
12044           pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
12045           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, visudo.c,
12046           BUGS, INSTALL, README, configure.in: updated version
12047
12048 1998-09-17 12:13  millert
12049
12050         * check.c: user version.h for long message
12051
12052 1998-09-17 11:53  millert
12053
12054         * check.c: this is version 1.5.6
12055
12056 1998-09-16 13:42  millert
12057
12058         * Makefile.in: remove errant backslash
12059
12060 1998-09-14 22:25  millert
12061
12062         * options.h, parse.yacc, pathnames.h.in: fix version string
12063
12064 1998-09-14 22:02  millert
12065
12066         * BUGS, CHANGES, TODO: updtaed for 1.5.6
12067
12068 1998-09-14 22:02  millert
12069
12070         * RUNSON: updated for 1.5.6
12071
12072 1998-09-14 11:48  millert
12073
12074         * interfaces.c: kill unused localhost_mask var copy if name to
12075           ifr_tmp after we zero it
12076
12077 1998-09-13 15:50  millert
12078
12079         * INSTALL: Better description of new vs. old sudoers modes fix some
12080           typos better description of /usr/ucb/cc gotchas on slowaris
12081
12082 1998-09-13 15:49  millert
12083
12084         * Makefile.in: add sample.pam
12085
12086 1998-09-13 15:32  millert
12087
12088         * sudo.c: set NewArgv[0] to user_shell, not basename(user_shell)
12089
12090 1998-09-12 11:10  millert
12091
12092         * README: mention TROUBLESHOOTING more fix some typos
12093
12094 1998-09-11 20:30  millert
12095
12096         * configure.in: move --enable/--disable to be after --with
12097
12098 1998-09-11 20:30  millert
12099
12100         * INSTALL: document --enable/--disable
12101
12102 1998-09-11 20:26  millert
12103
12104         * INSTALL: document --with-pam
12105
12106 1998-09-11 19:47  millert
12107
12108         * configure.in: Add message for pam users
12109
12110 1998-09-11 19:27  millert
12111
12112         * sample.pam: Initial revision
12113
12114 1998-09-11 19:23  millert
12115
12116         * config.h.in: fix HAVE_PAM
12117
12118 1998-09-11 19:19  millert
12119
12120         * check.c, config.h.in, configure.in: pam support, from Gary Calvin
12121           <GCalvin@kenwoodusa.com>
12122
12123 1998-09-10 18:51  millert
12124
12125         * config.h.in: add HOST_IN_LOG and WRAP_LOG
12126
12127 1998-09-10 18:51  millert
12128
12129         * logging.c: add WRAP_LOG and HOST_IN_LOG
12130
12131 1998-09-10 18:37  millert
12132
12133         * configure.in: add --enable-log-host and --enable-log-wrap
12134
12135 1998-09-10 18:32  millert
12136
12137         * aclocal.m4: use AC_DEFINE_UNQUOTED for --with-logfile and
12138           --with-timedir
12139
12140 1998-09-08 20:45  millert
12141
12142         * compat.h: add howmany macro
12143
12144 1998-09-08 20:43  millert
12145
12146         * tgetpass.c: include sys/param.h to get howmany macro
12147
12148 1998-09-07 20:42  millert
12149
12150         * OPTIONS, options.h, parse.yacc, sudo.c, testsudoers.c, visudo.c:
12151           add RUNAS_DEFAULT
12152
12153 1998-09-07 12:51  millert
12154
12155         * fnmatch.c: bring in stdio.h for NULL
12156
12157 1998-09-07 12:50  millert
12158
12159         * aclocal.m4: allow /bin/{ksh,bach} and /usr/bin/{ksh,bash} as sh
12160
12161 1998-09-07 12:43  millert
12162
12163         * sudo.c: use HAVE_SET_AUTH_PARAMETERS
12164
12165 1998-09-07 12:42  millert
12166
12167         * config.h.in: add HAVE_SET_AUTH_PARAMETERS
12168
12169 1998-09-07 12:41  millert
12170
12171         * configure.in: add *-*-hiuxmpp* add test for set_auth_parameters()
12172           if secureware
12173
12174 1998-09-07 12:39  millert
12175
12176         * config.sub: add support for HI-UX/MPP SR220001 02-03 0 SR2201
12177
12178 1998-09-07 12:06  millert
12179
12180         * interfaces.c: initialize previfname
12181
12182 1998-09-07 11:51  millert
12183
12184         * interfaces.c: Don't use SIOCGIFADDR, we don't need it Use
12185           SIOCGIFFLAGS if we have it check ifr_flags against IFF_UP and
12186           IFF_LOOPBACK instead of kludging it
12187
12188 1998-09-07 11:49  millert
12189
12190         * configure.in: typo
12191
12192 1998-09-07 00:01  millert
12193
12194         * Makefile.in: don't need special build line for sudo.tab.o
12195
12196 1998-09-06 23:58  millert
12197
12198         * Makefile.in: don't clean sudo.tab.[ch]
12199
12200 1998-09-06 23:48  millert
12201
12202         * sudo.c: Sudo should prompt for a password before telling the user
12203           that a command could not be found.
12204
12205 1998-09-06 23:47  millert
12206
12207         * BUGS: for 1.5.6
12208
12209 1998-09-06 23:25  millert
12210
12211         * INSTALL, README: no longer require yacc
12212
12213 1998-09-06 23:19  millert
12214
12215         * Makefile.in: typo
12216
12217 1998-09-06 23:18  millert
12218
12219         * Makefile.in: y.tab -> sudo.tab include pre-yacc'd parse.yacc
12220
12221 1998-09-06 23:09  millert
12222
12223         * parse.lex: include sudo.tab.h, not y.tab.h don't break out of
12224           command args if you get a '='
12225
12226 1998-09-06 22:59  millert
12227
12228         * insults.h: fix version ,
12229
12230 1998-09-06 22:57  millert
12231
12232         * compat.h, ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h:
12233           fix version
12234
12235 1998-09-06 22:55  millert
12236
12237         * getcwd.c: getcwd(3) from OpenBSD for those without it.
12238
12239 1998-09-06 22:51  millert
12240
12241         * sudo.h: HAVE_GETWD -> HAVE_GETCWD
12242
12243 1998-09-06 22:49  millert
12244
12245         * configure.in: pretend sunos doesn't have getcwd(3) since it opens
12246           a pipe to getpwd!
12247
12248 1998-09-06 22:41  millert
12249
12250         * parse.c: use NAMLEN() macro
12251
12252 1998-09-06 22:34  millert
12253
12254         * fnmatch.c: remove duplicate include of string.h
12255
12256 1998-09-06 22:28  millert
12257
12258         * configure.in: call SUDO_TYPE_DEV_T and SUDO_TYPE_INO_T
12259
12260 1998-09-06 22:28  millert
12261
12262         * aclocal.m4: add SUDO_TYPE_DEV_T and SUDO_TYPE_INO_T
12263
12264 1998-09-06 22:28  millert
12265
12266         * config.h.in: add dev_t and ino_t
12267
12268 1998-07-28 12:44  millert
12269
12270         * check.c: fix OTP_ONLY for opie
12271
12272 1998-06-24 12:22  millert
12273
12274         * testsudoers.c, tgetpass.c: include stdlib.h for malloc proto
12275
12276 1998-05-19 00:10  millert
12277
12278         * Makefile.in: make update_version saner
12279
12280 1998-05-18 23:32  millert
12281
12282         * config.h.in: add HAVE_WAITPID, HAVE_WAIT3, and sudo_waitpid()
12283
12284 1998-05-18 23:32  millert
12285
12286         * configure.in: check for waitpid and wait3 or no waitpid
12287
12288 1998-05-18 23:31  millert
12289
12290         * logging.c: used waitpid or wait3 if we have 'em
12291
12292 1998-05-02 14:16  millert
12293
12294         * visudo.c: fix some fprintf args, ariel@oz.engr.sgi.com (Ariel
12295           Faigon)
12296
12297 1998-04-27 20:09  millert
12298
12299         * configure.in: don't need to explicately mention -lsocket -lnsl
12300           for sequent
12301
12302 1998-04-25 01:56  millert
12303
12304         * configure.in: dynix should not link with -linet
12305
12306 1998-04-10 15:32  millert
12307
12308         * INSTALL: mention that HP-UX doesn't ship with yacc
12309
12310 1998-04-06 22:35  millert
12311
12312         * check.c: ignore kerberos if we can't get the local realm
12313
12314 1998-04-05 23:37  millert
12315
12316         * configure.in, BUGS, INSTALL, README: ++version
12317
12318 1998-04-05 23:36  millert
12319
12320         * version.h: ++
12321
12322 1998-04-05 23:35  millert
12323
12324         * Makefile.in, emul/utime.h, check.c, config.h.in, dce_pwent.c,
12325           find_path.c, getspwuid.c, getcwd.c, goodpath.c, interfaces.c,
12326           logging.c, parse.c, parse.lex, putenv.c, strdup.c, sudo.c,
12327           sudo.h, sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c,
12328           visudo.c: updated version
12329
12330 1998-04-05 23:34  millert
12331
12332         * check.c, sudo.h: fix version
12333
12334 1998-04-05 23:33  millert
12335
12336         * getcwd.c: don't use popen/pclose.  Do it inline.
12337
12338 1998-04-05 23:25  millert
12339
12340         * lsearch.c: add rcsid
12341
12342 1998-04-05 23:21  millert
12343
12344         * sudo.c: typo
12345
12346 1998-04-05 23:17  millert
12347
12348         * sudo.h, pathnames.h.in, compat.h, options.h, ins_2001.h,
12349           insults.h, ins_classic.h, ins_goons.h, ins_csops.h, parse.yacc,
12350           check.c: updated version
12351
12352 1998-04-05 23:15  millert
12353
12354         * check.c, find_path.c, parse.c, sudo.c, testsudoers.c: MAX* + 1 ->
12355           MAX*
12356
12357 1998-04-05 23:14  millert
12358
12359         * Makefile.in: getwd.c -> getcwd.c
12360
12361 1998-04-05 22:49  millert
12362
12363         * config.h.in: kill HAVE_GETWD
12364
12365 1998-04-05 22:49  millert
12366
12367         * configure.in: getcwd, not getwd
12368
12369 1998-04-05 22:48  millert
12370
12371         * getcwd.c: use MAX* not MAX* + 1 always run pwd as using getwd()
12372           defeats the purpose
12373
12374 1998-03-31 00:15  millert
12375
12376         * OPTIONS, options.h: add STUB_LOAD_INTERFACES
12377
12378 1998-03-31 00:05  millert
12379
12380         * Makefile.in, check.c, emul/utime.h, compat.h, config.h.in,
12381           dce_pwent.c, find_path.c, getspwuid.c, getwd.c, goodpath.c,
12382           ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
12383           interfaces.c, logging.c, options.h, parse.c, parse.lex,
12384           parse.yacc, pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
12385           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, visudo.c:
12386           updated version
12387
12388 1998-03-30 23:54  millert
12389
12390         * configure.in: support *-ccur-sysv4 and fix two typos
12391
12392 1998-03-27 19:52  millert
12393
12394         * configure.in: don't echo about with_logfile and with_timedir
12395
12396 1998-03-27 19:49  millert
12397
12398         * INSTALL: document --with-logfile and --with-timedir
12399
12400 1998-03-27 19:46  millert
12401
12402         * aclocal.m4: support --with-logfile and --with-timedir
12403
12404 1998-03-27 19:46  millert
12405
12406         * configure.in: Add --with-logfile and --with-timedir
12407
12408 1998-03-27 19:27  millert
12409
12410         * sudo.c: change size computation of NewArgv for UNICOS
12411
12412 1998-02-18 20:10  millert
12413
12414         * configure.in: treate -*-sysv4* like *-*-svr4
12415
12416 1998-02-18 18:19  millert
12417
12418         * configure.in: fix spacing for --with-authenticate help
12419
12420 1998-02-18 16:39  millert
12421
12422         * Makefile.in, check.c, emul/utime.h, compat.h, config.h.in,
12423           dce_pwent.c, find_path.c, getspwuid.c, getwd.c, goodpath.c,
12424           ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
12425           interfaces.c, logging.c, options.h, parse.c, parse.lex,
12426           parse.yacc, pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
12427           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, visudo.c:
12428           updated version
12429
12430 1998-02-18 16:23  millert
12431
12432         * parse.yacc: fix off by one error in push macro
12433
12434 1998-02-17 01:15  millert
12435
12436         * configure.in: removed bogus alloca hack
12437
12438 1998-02-17 01:15  millert
12439
12440         * check.c: added AIX 4.x authenticate() support
12441
12442 1998-02-17 01:11  millert
12443
12444         * parse.yacc: include alloca.h if using bison and not gcc and it
12445           exists.  fixes an alloca problem on hpux 10.x
12446
12447 1998-02-17 00:39  millert
12448
12449         * INSTALL: mention --with-authenticate
12450
12451 1998-02-17 00:37  millert
12452
12453         * configure.in: added AIX authenticate() support
12454
12455 1998-02-17 00:22  millert
12456
12457         * config.h.in: add HAVE_AUTHENTICATE
12458
12459 1998-02-16 23:58  millert
12460
12461         * interfaces.c: dynamically size ifconf buffer
12462
12463 1998-02-16 23:56  millert
12464
12465         * configure.in: quote '[' and ']'
12466
12467 1998-02-16 21:42  millert
12468
12469         * Makefile.in, emul/utime.h, check.c, compat.h, config.h.in,
12470           dce_pwent.c, find_path.c, getspwuid.c, getwd.c, goodpath.c,
12471           ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
12472           logging.c, options.h, parse.c, parse.lex, parse.yacc,
12473           pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
12474           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, visudo.c:
12475           updated version
12476
12477 1998-02-16 19:06  millert
12478
12479         * visudo.pod: add ERRORS section
12480
12481 1998-02-16 18:57  millert
12482
12483         * TROUBLESHOOTING: add busy stmp file explanation
12484
12485 1998-02-15 18:49  millert
12486
12487         * configure.in: the name of the cached var that signals whether or
12488           not you are cross compiling changed.  It is now
12489           ac_cv_prog_cc_cross
12490
12491 1998-02-11 16:26  millert
12492
12493         * INSTALL: mention glibc 2.07 is fixed wrt lsearch()\.
12494
12495 1998-02-06 21:55  millert
12496
12497         * sample.sudoers, sudoers.pod: better example of su but not root su
12498
12499 1998-02-06 15:49  millert
12500
12501         * Makefile.in, check.c, emul/utime.h, compat.h, config.h.in,
12502           dce_pwent.c, find_path.c, getspwuid.c, getwd.c, goodpath.c,
12503           ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
12504           interfaces.c, logging.c, options.h, parse.c, parse.lex,
12505           parse.yacc, pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
12506           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, visudo.c:
12507           updated version
12508
12509 1998-02-06 15:48  millert
12510
12511         * Makefile.in: correct regexp for updating version
12512
12513 1998-02-06 14:05  millert
12514
12515         * tgetpass.c: remove bogus flush of stderr spew prompt before
12516           turning off echo.  Seems to fix a weird problem where if sudo
12517           complained about a bogus stamp file the user would sometimes not
12518           have a chance to enter a password
12519
12520 1998-02-06 14:05  millert
12521
12522         * check.c: fix bogus flush of stderr
12523
12524 1998-02-05 19:19  millert
12525
12526         * sudo.c: close fd's <=2 not <=3 and move that chunk of code up
12527
12528 1998-02-05 19:18  millert
12529
12530         * configure.in: support hpux1[0-9] not just hpux10
12531
12532 1998-01-30 14:59  millert
12533
12534         * parse.c: set sudoers_fp to nil after closing
12535
12536 1998-01-24 01:05  millert
12537
12538         * config.guess, config.sub: updated from autoconf 2.12
12539
12540 1998-01-24 00:50  millert
12541
12542         * configure.in: add *-*-svr4 rule
12543
12544 1998-01-22 22:53  millert
12545
12546         * tgetpass.c: fix select usage for high fd's (dynamically allocate
12547           readfds)
12548
12549 1998-01-22 22:49  millert
12550
12551         * check.c: kill extra whitespace
12552
12553 1998-01-22 19:28  millert
12554
12555         * sudo.c: do an initgroups() before running a command, unless the
12556           target user is root.
12557
12558 1998-01-22 12:22  millert
12559
12560         * TROUBLESHOOTING: tell people to use tabs, not spaces, in
12561           syslog.conf
12562
12563 1998-01-21 01:56  millert
12564
12565         * parse.lex, Makefile.in, config.h.in, getwd.c, strdup.c, putenv.c,
12566           emul/utime.h, testsudoers.c, utime.c, dce_pwent.c: updated
12567           version
12568
12569 1998-01-21 01:32  millert
12570
12571         * goodpath.c, sudo_setenv.c, interfaces.c, tgetpass.c, visudo.c:
12572           updated version
12573
12574 1998-01-21 01:29  millert
12575
12576         * sudo.h, pathnames.h.in, options.h, compat.h, insults.h,
12577           ins_2001.h, ins_classic.h, ins_goons.h, ins_csops.h, parse.yacc,
12578           check.c, getspwuid.c, find_path.c, logging.c, parse.c, sudo.c:
12579           updated version
12580
12581 1998-01-21 01:20  millert
12582
12583         * Makefile.in: more tweaks to update_version
12584
12585 1998-01-21 01:19  millert
12586
12587         * Makefile.in: fixed up update_version rule
12588
12589 1998-01-21 00:55  millert
12590
12591         * configure.in: ++version
12592
12593 1998-01-21 00:53  millert
12594
12595         * Makefile.in: removed supe of check.c
12596
12597 1998-01-21 00:51  millert
12598
12599         * INSTALL: ++version I missed
12600
12601 1998-01-21 00:51  millert
12602
12603         * RUNSON: updated
12604
12605 1998-01-21 00:48  millert
12606
12607         * Makefile.in, check.c, compat.h, config.h.in, dce_pwent.c,
12608           find_path.c, getspwuid.c, getwd.c, goodpath.c, ins_2001.h,
12609           ins_classic.h, ins_csops.h, ins_goons.h, insults.h, interfaces.c,
12610           logging.c, options.h, parse.c, parse.lex, parse.yacc,
12611           pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
12612           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, version.h,
12613           visudo.c, emul/utime.h, BUGS, INSTALL, README: updated version
12614
12615 1998-01-21 00:47  millert
12616
12617         * CHANGES: updated for 1.5.5
12618
12619 1998-01-21 00:35  millert
12620
12621         * Makefile.in: add rules to update version stuff in files so I
12622           don't need to do it by hand
12623
12624 1998-01-21 00:04  millert
12625
12626         * sudo.h: sudoers_fp is now extern
12627
12628 1998-01-21 00:03  millert
12629
12630         * sudo.c: in check_sudoers, cache the sudoers file handle in
12631           sudoers_fp so we don't have to open it again in the parse.  This
12632           may help with weird solaris problems where EAGAIN sometime
12633           occurrs.
12634
12635 1998-01-21 00:02  millert
12636
12637         * parse.c: sudoers file open is now done only in check_sudoers() so
12638           we just do a rewind() instead of an open.  May help people on
12639           solaris who were getting EAGAIN.
12640
12641 1998-01-16 11:43  millert
12642
12643         * INSTALL: mention that newer glibc is fixed
12644
12645 1998-01-13 12:58  millert
12646
12647         * sudo.c: newer irix uses _RLDN32_* envariables for 32-bit binaries
12648           so ignore _RLD* instead of _RLD_*
12649
12650 1998-01-13 10:32  millert
12651
12652         * parse.c: typo
12653
12654 1998-01-13 10:19  millert
12655
12656         * parse.c: fix that bug for real
12657
12658 1998-01-13 02:39  millert
12659
12660         * INSTALL: document Linux's libc6 brokenness.
12661
12662 1998-01-13 02:00  millert
12663
12664         * parse.yacc: -Wall
12665
12666 1998-01-13 01:22  millert
12667
12668         * RUNSON: updated
12669
12670 1998-01-13 00:50  millert
12671
12672         * TROUBLESHOOTING: remind people to HUP syslogd
12673
12674 1998-01-13 00:05  millert
12675
12676         * Makefile.in: add -O flag to tar
12677
12678 1998-01-13 00:00  millert
12679
12680         * TODO, RUNSON: updated
12681
12682 1998-01-12 23:59  millert
12683
12684         * sudo.pod: remove author's email addr.  people should mail
12685           sudo-bugs
12686
12687 1998-01-12 23:49  millert
12688
12689         * INSTALL: fix version
12690
12691 1998-01-12 23:48  millert
12692
12693         * README, check.c, compat.h, config.h.in, configure.in,
12694           dce_pwent.c, find_path.c, getspwuid.c, getwd.c, goodpath.c,
12695           ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
12696           interfaces.c, logging.c, options.h, parse.c, parse.lex,
12697           parse.yacc, pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
12698           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, version.h,
12699           visudo.c: ++version
12700
12701 1998-01-12 23:44  millert
12702
12703         * RUNSON: updated
12704
12705 1998-01-12 23:42  millert
12706
12707         * INSTALL, Makefile.in: ++version
12708
12709 1998-01-12 23:41  millert
12710
12711         * CHANGES: updated fort 1.5.4
12712
12713 1998-01-12 23:41  millert
12714
12715         * check.c: exit(1) if user enters no passwd
12716
12717 1998-01-12 23:37  millert
12718
12719         * BUGS: ++version
12720
12721 1998-01-12 23:10  millert
12722
12723         * parse.c: commands can start with ./* not just /* -- fixes a
12724           serious security hole.
12725
12726 1997-12-21 18:17  millert
12727
12728         * sudo.c: Don't set the tty variable to NULL when we lack a tty,
12729           leave it as "unknown".
12730
12731 1997-11-23 13:29  millert
12732
12733         * sample.sudoers: fix usage of (username) in conjunction with , and
12734           !
12735
12736 1997-11-23 13:28  millert
12737
12738         * visudo.c: catch the case where the user is not in the passwd file
12739
12740 1997-11-23 13:24  millert
12741
12742         * tgetpass.c: use fileno(input) + 1 instead of getdtablesize() as
12743           the nfds arg to select(2)
12744
12745 1997-11-23 01:53  millert
12746
12747         * sudo.c: define tty global to an initial value to avoid dumping
12748           core in logging functions when passwd file is unavailable.
12749
12750 1997-11-23 01:51  millert
12751
12752         * sudo.c: do the set_perms(PERM_USER, sudo_mode) after we have
12753           gotten the passwd entry
12754
12755 1997-11-23 00:21  millert
12756
12757         * sudo.pod: talk about problem of ALL
12758
12759 1997-10-10 00:54  millert
12760
12761         * README: new web location
12762
12763 1997-10-10 00:54  millert
12764
12765         * INSTALL: fdesc bug is fixed in Open/Net BSD
12766
12767 1997-10-10 00:52  millert
12768
12769         * HISTORY: updates from Nieusma
12770
12771 1997-10-09 18:37  millert
12772
12773         * dce_pwent.c: move compat.h after the system includes
12774
12775 1997-08-06 14:58  millert
12776
12777         * logging.c: save errno from being clobbered by wait().  From Theo
12778
12779 1997-05-21 11:57  millert
12780
12781         * compat.h: fix an occurence of setresuid -> setreuid (typo)
12782
12783 1997-03-19 17:45  millert
12784
12785         * install-sh: check for path to strip
12786
12787 1997-01-15 19:05  millert
12788
12789         * logging.c: deal with maxfilelen < 0 case
12790
12791 1997-01-15 19:05  millert
12792
12793         * OPTIONS: fixed descriptin
12794
12795 1996-12-11 23:10  millert
12796
12797         * sudo.c: correct error message if mode/owner wrong and not
12798           statable by owner but is statable by root.
12799
12800 1996-11-23 02:18  millert
12801
12802         * config.guess, config.sub: autoconf 2.11
12803
12804 1996-11-16 14:42  millert
12805
12806         * CHANGES, RUNSON, TODO: sudo 1.5.3.
12807
12808 1996-11-14 15:08  millert
12809
12810         * sudo.h, parse.yacc: command_alias -> generic_alias
12811
12812 1996-11-13 22:50  millert
12813
12814         * sample.sudoers: added Runas_Alias example and fixed syntax errors
12815
12816 1996-11-13 22:50  millert
12817
12818         * OPTIONS, options.h: updated MAILSUBJECT
12819
12820 1996-11-13 22:49  millert
12821
12822         * logging.c: added %h expansion
12823
12824 1996-11-13 21:37  millert
12825
12826         * Makefile.in, check.c, compat.h, config.h.in, dce_pwent.c,
12827           find_path.c, getspwuid.c, getwd.c, goodpath.c, ins_2001.h,
12828           ins_classic.h, ins_csops.h, ins_goons.h, insults.h, interfaces.c,
12829           logging.c, options.h, parse.c, parse.lex, parse.yacc,
12830           pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
12831           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, version.h,
12832           visudo.c, INSTALL, README, configure.in: ++version
12833
12834 1996-11-13 20:01  millert
12835
12836         * emul/utime.h, BUGS: ++version
12837
12838 1996-11-13 19:45  millert
12839
12840         * sudoers.pod: document Runas_Alias
12841
12842 1996-11-13 19:22  millert
12843
12844         * visudo.pod: q (uid) -> Q
12845
12846 1996-11-13 19:21  millert
12847
12848         * visudo.c: buffer oflow checking q (uit) -> Q if yyparse() fails
12849           drop into whatnow
12850
12851 1996-11-13 19:05  millert
12852
12853         * parse.yacc: add size params to sprintf
12854
12855 1996-11-13 19:04  millert
12856
12857         * parse.lex: allow trailing space after '\\' but before '\n'
12858
12859 1996-11-13 19:04  millert
12860
12861         * find_path.c: off by one error in path size check
12862
12863 1996-11-13 19:03  millert
12864
12865         * check.c: sprintf paranoia
12866
12867 1996-11-12 11:59  millert
12868
12869         * parse.yacc: fixed more_aliases
12870
12871 1996-11-12 11:58  millert
12872
12873         * visudo.c: now warns if killed by signal ./
12874
12875 1996-11-11 10:49  millert
12876
12877         * parse.yacc: fix Runas_Alias stuff Alias's in runas list now get
12878           expanded (but it is gross)
12879
12880 1996-11-10 20:32  millert
12881
12882         * sudo.c: Can now deal with SUDOERS_UID == 0 and SUDOERS_MODE ==
12883           0400
12884
12885 1996-11-10 20:08  millert
12886
12887         * parse.yacc: add Runas_Alias support change FOO to FOO_ALIAS (ie:
12888           USER_ALIAS)
12889
12890 1996-11-10 20:02  millert
12891
12892         * parse.lex: Add Runas_Alias and simplify a rule.
12893
12894 1996-11-10 19:15  millert
12895
12896         * parse.yacc: always store User_Alias's since they can be used
12897           inside of a runas list.  Sigh.  Really need a Runas_Alias
12898           instead.
12899
12900 1996-10-30 18:04  millert
12901
12902         * visudo.c: deal with case where there is no sudoers file
12903
12904 1996-10-11 23:01  millert
12905
12906         * TROUBLESHOOTING: added one
12907
12908 1996-10-10 22:11  millert
12909
12910         * HISTORY, testsudoers.c: developement -> development
12911
12912 1996-10-10 22:08  millert
12913
12914         * INSTALL: added a note
12915
12916 1996-10-10 20:36  millert
12917
12918         * RUNSON: for 1.5.2
12919
12920 1996-10-10 20:36  millert
12921
12922         * CHANGES: updated
12923
12924 1996-10-10 00:56  millert
12925
12926         * PORTING: removed seteuid() notes
12927
12928 1996-10-09 13:37  millert
12929
12930         * compat.h: better seteuid() emulatino
12931
12932 1996-10-09 13:36  millert
12933
12934         * configure.in: added check for seteuid
12935
12936 1996-10-09 13:36  millert
12937
12938         * config.h.in: added HAVE_SETEUID
12939
12940 1996-10-08 19:22  millert
12941
12942         * configure.in: first stab at sequent support
12943
12944 1996-10-08 19:21  millert
12945
12946         * config.h.in: added HAVE_SYS_SELECT_H
12947
12948 1996-10-08 19:21  millert
12949
12950         * compat.h: sequent -> _SEQUENT_
12951
12952 1996-10-08 19:11  millert
12953
12954         * compat.h: added seteuid() macro for DYNIX
12955
12956 1996-10-08 18:54  millert
12957
12958         * tgetpass.c: _AIX -> HAVE_SYS_SELECT_H
12959
12960 1996-10-07 01:05  millert
12961
12962         * emul/utime.h, check.c, compat.h, dce_pwent.c, find_path.c,
12963           getspwuid.c, getwd.c, goodpath.c, ins_2001.h, ins_classic.h,
12964           ins_csops.h, ins_goons.h, insults.h, interfaces.c, options.h,
12965           pathnames.h.in, version.h, BUGS, INSTALL, Makefile.in, OPTIONS,
12966           README, config.h.in, logging.c, parse.c, parse.lex, parse.yacc,
12967           putenv.c, strdup.c, sudo_setenv.c, testsudoers.c, utime.c,
12968           visudo.c, tgetpass.c: ++version
12969
12970 1996-10-07 00:59  millert
12971
12972         * sudo.pod: added -H and SUDO_PS1
12973
12974 1996-10-07 00:55  millert
12975
12976         * configure.in: use SUDO_FUNC_FNMATCH
12977
12978 1996-10-07 00:54  millert
12979
12980         * aclocal.m4: added SUDO_FUNC_FNMATCH
12981
12982 1996-10-07 00:53  millert
12983
12984         * sudo.c: added -H flag
12985
12986 1996-10-07 00:53  millert
12987
12988         * sudo.h: added MODE_RESET_HOME /
12989
12990 1996-10-05 00:00  millert
12991
12992         * INSTALL: mention OPIE
12993
12994 1996-10-04 23:59  millert
12995
12996         * configure.in: added opie support
12997
12998 1996-10-04 23:59  millert
12999
13000         * check.c: added HAVE_OPIE and changed to *_OTP_*
13001
13002 1996-10-04 23:58  millert
13003
13004         * compat.h, config.h.in: added HAVE_OPIE
13005
13006 1996-10-04 23:58  millert
13007
13008         * OPTIONS, options.h: SKEY -> OTP
13009
13010 1996-10-03 23:27  millert
13011
13012         * check.c: moved fclose() in skey stuff.
13013
13014 1996-10-03 19:53  millert
13015
13016         * putenv.c: index -> strchr remove unnecesary stuff
13017
13018 1996-10-03 19:43  millert
13019
13020         * check.c: now call skeychallenge() to get challenge instead of
13021           making one up ourselves.  this way, we get extra goodies in the
13022           prompt.
13023
13024 1996-09-10 00:32  millert
13025
13026         * CHANGES: added one
13027
13028 1996-09-10 00:18  millert
13029
13030         * parse.lex: allow logins to start with a number (YUCK!)
13031
13032 1996-09-08 15:18  millert
13033
13034         * TROUBLESHOOTING: added soalris 2.5 vs 2.4 note
13035
13036 1996-09-08 15:15  millert
13037
13038         * configure.in: DUNIX doesn't need -lnsl
13039
13040 1996-09-07 20:22  millert
13041
13042         * CHANGES: [no log message]
13043
13044 1996-09-07 20:21  millert
13045
13046         * check.c, compat.h, config.h.in, dce_pwent.c, find_path.c,
13047           getspwuid.c, getwd.c, goodpath.c, ins_2001.h, ins_classic.h,
13048           ins_csops.h, ins_goons.h, insults.h, interfaces.c, logging.c,
13049           options.h, parse.c, parse.lex, parse.yacc, pathnames.h.in,
13050           putenv.c, strdup.c, sudo.c, sudo.h, sudo_setenv.c, testsudoers.c,
13051           tgetpass.c, utime.c, version.h, visudo.c: courtesan
13052
13053 1996-09-07 20:13  millert
13054
13055         * TROUBLESHOOTING, INSTALL, Makefile.in, PORTING, RUNSON, README:
13056           courtesan
13057
13058 1996-09-07 20:12  millert
13059
13060         * visudo.pod: [no log message]
13061
13062 1996-09-07 20:00  millert
13063
13064         * sudo.pod, visudo.pod: courtesan
13065
13066 1996-09-07 19:45  millert
13067
13068         * HISTORY: added courtesan ./
13069
13070 1996-09-06 00:12  millert
13071
13072         * sudo.c: added $SUDO_PROMPT support
13073
13074 1996-09-04 17:19  millert
13075
13076         * check.c: print long skey challemged to stderr, not stdout
13077
13078 1996-08-31 23:10  millert
13079
13080         * CHANGES: updated for 1.5.1
13081
13082 1996-08-31 23:07  millert
13083
13084         * emul/utime.h: ++version
13085
13086 1996-08-31 12:34  millert
13087
13088         * RUNSON: updated for 1.5.1
13089
13090 1996-08-30 10:49  millert
13091
13092         * check.c: use shost, not host for tgetpass
13093
13094 1996-08-30 00:21  millert
13095
13096         * OPTIONS, sudo.pod: documented %u and %h
13097
13098 1996-08-29 20:40  millert
13099
13100         * configure.in: fixed typo
13101
13102 1996-08-29 20:37  millert
13103
13104         * INSTALL, Makefile.in, README, check.c, compat.h, config.h.in,
13105           dce_pwent.c, find_path.c, getspwuid.c, getwd.c, goodpath.c,
13106           ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
13107           interfaces.c, logging.c, options.h, parse.c, parse.lex,
13108           parse.yacc, pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
13109           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, version.h,
13110           visudo.c: ++version
13111
13112 1996-08-29 20:30  millert
13113
13114         * BUGS: ++version
13115
13116 1996-08-29 18:32  millert
13117
13118         * configure.in, Makefile.in, version.h: ++version
13119
13120 1996-08-29 17:58  millert
13121
13122         * sudo.h: new tgetpass() params
13123
13124 1996-08-29 17:58  millert
13125
13126         * check.c: pass use and host to tgetpass
13127
13128 1996-08-29 17:57  millert
13129
13130         * tgetpass.c: added %u and %h escapes
13131
13132 1996-08-29 16:56  millert
13133
13134         * OPTIONS, options.h, check.c: added NO_MESSAGE
13135
13136 1996-08-29 16:23  millert
13137
13138         * configure.in: added cray (unicos) support
13139
13140 1996-08-27 11:36  millert
13141
13142         * OPTIONS, options.h, sudo.c: added SHELL_SETS_HOME
13143
13144 1996-08-25 17:56  millert
13145
13146         * INSTALL: added note about "make install"
13147
13148 1996-08-25 17:50  millert
13149
13150         * parse.yacc: changed length/size params from int to size_t
13151
13152 1996-08-25 13:35  millert
13153
13154         * OPTIONS: now get CSOPS insults as well by default
13155
13156 1996-08-25 13:33  millert
13157
13158         * insults.h: use csops insults too by default
13159
13160 1996-08-25 13:31  millert
13161
13162         * INSTALL, Makefile.in, README, config.h.in, configure.in,
13163           version.h: version = 1.5
13164
13165 1996-08-25 13:27  millert
13166
13167         * sudo.c: added runas_homedir
13168
13169 1996-08-25 13:27  millert
13170
13171         * TODO: updated for 1.5
13172
13173 1996-08-25 13:23  millert
13174
13175         * RUNSON: updated for 1.5
13176
13177 1996-08-25 13:19  millert
13178
13179         * CHANGES: 1.5 release
13180
13181 1996-08-25 13:17  millert
13182
13183         * INSTALL: added "upgrading" notes
13184
13185 1996-08-22 14:00  millert
13186
13187         * visudo.c: now do chmod and chown after edit of temp file and
13188           before rename
13189
13190 1996-08-18 12:52  millert
13191
13192         * Makefile.in: ++version added INSTALL.configure
13193
13194 1996-08-18 12:52  millert
13195
13196         * version.h, configure.in: ++version
13197
13198 1996-08-18 12:51  millert
13199
13200         * TROUBLESHOOTING: [no log message]
13201
13202 1996-08-18 12:50  millert
13203
13204         * parse.yacc: added missing cast
13205
13206 1996-08-17 20:37  millert
13207
13208         * sudo.c: sets $HOME to pw_dir of runas user
13209
13210 1996-08-17 20:02  millert
13211
13212         * sudo.pod: document $HOME change
13213
13214 1996-08-17 19:43  millert
13215
13216         * sudo.pod: fixed up some wording
13217
13218 1996-08-17 19:25  millert
13219
13220         * check.c, dce_pwent.c, find_path.c, getspwuid.c, getwd.c,
13221           goodpath.c, interfaces.c, logging.c, parse.c, parse.lex,
13222           parse.yacc, putenv.c, strdup.c, sudo.c, sudo_setenv.c,
13223           testsudoers.c, tgetpass.c, utime.c, visudo.c: ++version
13224
13225 1996-08-17 19:19  millert
13226
13227         * emul/utime.h, compat.h, ins_2001.h, ins_classic.h, ins_csops.h,
13228           ins_goons.h, insults.h, options.h, pathnames.h.in, sudo.h:
13229           ++version
13230
13231 1996-08-17 19:18  millert
13232
13233         * sudo.h: name nad type changes
13234
13235 1996-08-17 19:17  millert
13236
13237         * testsudoers.c: now works with new sudo
13238
13239 1996-08-17 19:07  millert
13240
13241         * parse.yacc: fixed some XXX
13242
13243 1996-08-17 18:52  millert
13244
13245         * parse.yacc: some variable name changes + comment headers for
13246           functions.
13247
13248 1996-08-17 18:41  millert
13249
13250         * tgetpass.c: added extra paren's to make compilers happy
13251
13252 1996-08-17 18:34  millert
13253
13254         * sudo.c: [no log message]
13255
13256 1996-08-17 18:30  millert
13257
13258         * parse.c: now uses init_parser() if not in sudoers and tries
13259           "list" or "validate" scold but don't be nasty.
13260
13261 1996-08-17 18:29  millert
13262
13263         * TROUBLESHOOTING: now can use upper case login names
13264
13265 1996-08-17 18:29  millert
13266
13267         * visudo.c: now uses init_parser()
13268
13269 1996-08-17 18:28  millert
13270
13271         * PORTING: added info about PASSWORD_TIMEOUT
13272
13273 1996-08-17 18:28  millert
13274
13275         * INSTALL, README: updated
13276
13277 1996-08-17 18:28  millert
13278
13279         * INSTALL.configure: Initial revision
13280
13281 1996-08-17 18:27  millert
13282
13283         * BUGS: fixed a bug ,
13284
13285 1996-08-17 18:27  millert
13286
13287         * parse.yacc: now dynamically allocates memory for the stacks -- no
13288           more overflows!
13289
13290 1996-08-17 18:26  millert
13291
13292         * sudo.pod: -l now explands command aliases
13293
13294 1996-08-17 13:22  millert
13295
13296         * parse.yacc: hacks to expand command aliases for `sudo -l'
13297
13298 1996-08-17 13:22  millert
13299
13300         * sudo.c: remove $ENV and $BASH_ENV (dangerous in ksh, posix sh,
13301           and bash)
13302
13303 1996-08-17 13:22  millert
13304
13305         * sudo.h: added struct command_alias
13306
13307 1996-08-17 13:20  millert
13308
13309         * sudo.pod: fixed a bug
13310
13311 1996-08-17 13:15  millert
13312
13313         * lsearch.c: in compar() key should be first arg
13314
13315 1996-08-15 15:48  millert
13316
13317         * BUGS: fixed some bugs
13318
13319 1996-08-15 15:47  millert
13320
13321         * parse.yacc: can now deal with upcase HOST and USER names
13322
13323 1996-08-15 15:47  millert
13324
13325         * sudo.c: don't yell too loudly at non-sudoers if they do "sudo -l"
13326
13327 1996-08-15 15:46  millert
13328
13329         * sudo.pod: fixed thinko
13330
13331 1996-08-15 15:46  millert
13332
13333         * parse.c: fix comment
13334
13335 1996-08-09 18:07  millert
13336
13337         * parse.c, parse.yacc: added support for new `sudo -l' stuff
13338
13339 1996-08-09 18:06  millert
13340
13341         * sudo.c: now uses list_matches()
13342
13343 1996-08-09 18:06  millert
13344
13345         * sudo.h: added struct sudo_match
13346
13347 1996-08-09 17:37  millert
13348
13349         * configure.in: now more -lgnumalloc
13350
13351 1996-08-01 13:12  millert
13352
13353         * install-sh: added more paths for chown and whoami
13354
13355 1996-07-31 10:41  millert
13356
13357         * check.c: typo
13358
13359 1996-07-30 13:45  millert
13360
13361         * aclocal.m4: fixed DUNIX check for shadow pw
13362
13363 1996-07-30 13:41  millert
13364
13365         * tgetpass.c: now only turn off echo if it is already on.  this
13366           fixes a race when you use sudo in a pipelin
13367
13368 1996-07-30 12:53  millert
13369
13370         * INSTALL: updated
13371
13372 1996-07-29 22:29  millert
13373
13374         * configure.in: changed "test -z $foo && do_this" to if; then
13375           construct
13376
13377 1996-07-28 22:47  millert
13378
13379         * configure.in: added missing defines of SHADOW_TYPE
13380
13381 1996-07-26 14:10  millert
13382
13383         * check.c: protect AUTH_CRYPT_OLDCRYPT and AUTH_CRYPT_C1CRYPT since
13384           they are only in dunix 4.x
13385
13386 1996-07-26 14:09  millert
13387
13388         * getspwuid.c: added AUTH_CRYPT_C1CRYPT support
13389
13390 1996-07-26 13:23  millert
13391
13392         * parse.c: no longer return VALIDATE_NOT_OK if there was a runas
13393           that didn't match.  Now we can have runas stuff on more than one
13394           line.
13395
13396 1996-07-25 23:45  millert
13397
13398         * configure.in: got rid of HAVE_C2_SECURITY SHADOW_TYPE is always
13399           defined to something
13400
13401 1996-07-25 23:45  millert
13402
13403         * config.h.in: removed HAVE_C2_SECURITY added SPW_BSD
13404
13405 1996-07-25 23:44  millert
13406
13407         * compat.h, getspwuid.c, sudo.c, tgetpass.c: use SHADOW_TYPE
13408           instead of HAVE_C2_SECURITY
13409
13410 1996-07-25 23:44  millert
13411
13412         * check.c: SHADOW_TYPE is always defined so just against its value
13413
13414 1996-07-25 23:44  millert
13415
13416         * aclocal.m4: added SUDO_CHECK_SHADOW_DUNIX
13417
13418 1996-07-25 18:47  millert
13419
13420         * sudoers.pod: * -> ?* in one example added another instance of
13421           (runas) and one of NOPASSWD:
13422
13423 1996-07-24 13:02  millert
13424
13425         * configure.in: added back check for config.cache from other host
13426           type
13427
13428 1996-07-24 12:49  millert
13429
13430         * parse.lex: removed an instance of \"
13431
13432 1996-07-24 12:49  millert
13433
13434         * sample.sudoers: added an example
13435
13436 1996-07-24 12:44  millert
13437
13438         * sudoers.pod: updated wrt new wildcard matching
13439
13440 1996-07-24 10:28  millert
13441
13442         * configure.in: new check for shadow passwords if we don't know
13443           anything
13444
13445 1996-07-24 10:28  millert
13446
13447         * aclocal.m4: new SUDO_CHECK_SHADOW_GENERIC
13448
13449 1996-07-24 02:19  millert
13450
13451         * configure.in: added back check for -lsocket (oops)
13452
13453 1996-07-24 02:16  millert
13454
13455         * configure.in: better (working) check for shadow passwd type if we
13456           know to use C2.
13457
13458 1996-07-24 01:59  millert
13459
13460         * configure.in: now uses AC_CANONICAL_HOST to figure out os type
13461
13462 1996-07-24 01:59  millert
13463
13464         * Makefile.in: added config.{guess,sub}
13465
13466 1996-07-24 01:58  millert
13467
13468         * aclocal.m4: removed unused stuff to figure out os type
13469
13470 1996-07-23 22:58  millert
13471
13472         * config.sub: added openbsd
13473
13474 1996-07-23 22:54  millert
13475
13476         * config.sub: Initial revision
13477
13478 1996-07-23 22:40  millert
13479
13480         * config.guess: Initial revision
13481
13482 1996-07-23 21:18  millert
13483
13484         * testsudoers.c: don't call fnmatch() with FNM_PATHNAME flag unless
13485           it can only be a pathname.  need to check against sudoers_args
13486           even if user_args is nil
13487
13488 1996-07-23 21:18  millert
13489
13490         * parse.c: don't call fnmatch() with FNM_PATHNAME flag unless it
13491           can only be a pathname need to check against sudoers_args even if
13492           user_args is nil
13493
13494 1996-07-23 18:52  millert
13495
13496         * check.c: added support for AUTH_CRYPT_OLDCRYPT w/ DUNIX C2
13497
13498 1996-07-23 01:18  millert
13499
13500         * testsudoers.c: now takes command line args and uses cmnd_args
13501
13502 1996-07-23 01:10  millert
13503
13504         * parse.lex: fill_args was adding an extra leading space
13505
13506 1996-07-22 15:50  millert
13507
13508         * visudo.c: fixed dummy command_matches()
13509
13510 1996-07-22 15:50  millert
13511
13512         * parse.yacc: fixed prototype
13513
13514 1996-07-22 15:31  millert
13515
13516         * sudo.h: added cmnd_args
13517
13518 1996-07-22 15:31  millert
13519
13520         * parse.yacc: now uses flat args string
13521
13522 1996-07-22 15:30  millert
13523
13524         * parse.c, parse.lex: now uses flat arg string
13525
13526 1996-07-22 15:29  millert
13527
13528         * visudo.c: added cmnd_args def
13529
13530 1996-07-22 14:30  millert
13531
13532         * sudo.c: now sets cmnd_args global
13533
13534 1996-07-22 14:30  millert
13535
13536         * logging.c: cmnd_args is now exported from sudo.[ch]
13537
13538 1996-07-21 18:41  millert
13539
13540         * parse.yacc: can't rely on cmnd_matches as much as I thought --
13541           added some $$ stuff back in to prevent namespace pollution
13542           problems.
13543
13544 1996-07-21 18:01  millert
13545
13546         * parse.yacc: Simplified parse rules wrt runas and NOPASSWD (more
13547           consistent).
13548
13549 1996-07-20 00:45  millert
13550
13551         * parse.lex: NOPASSWD may now have blanks before the ':' '(' only
13552           starts a 'runas' if in the initial state to avoid collision with
13553           command args
13554
13555 1996-07-20 00:23  millert
13556
13557         * configure.in: added checks for specific shadow passwd schemes
13558
13559 1996-07-20 00:18  millert
13560
13561         * aclocal.m4: added routines to check for specific shadow passwd
13562           types
13563
13564 1996-07-18 18:27  millert
13565
13566         * configure.in: added support for ncr boxen
13567
13568 1996-07-18 18:26  millert
13569
13570         * aclocal.m4: added support for detecting ncr boxen
13571
13572 1996-07-16 14:57  millert
13573
13574         * configure.in: added sinix support
13575
13576 1996-07-13 22:29  millert
13577
13578         * TROUBLESHOOTING: added info about "config.cache from other other"
13579           error.
13580
13581 1996-07-13 22:22  millert
13582
13583         * aclocal.m4: now makes sure you don't have a config.cache file
13584           from another OS
13585
13586 1996-07-13 21:36  millert
13587
13588         * configure.in: now sets $LIBS when needed to configure links with
13589           libs when doing tests hpux10 now uses SPW_SECUREWARE for C2 added
13590           check for bigcrypt(3) if SPW_SECUREWARE
13591
13592 1996-07-13 21:30  millert
13593
13594         * getspwuid.c: fixed typo
13595
13596 1996-07-13 21:05  millert
13597
13598         * tgetpass.c: now include stuff for SPW_SECUREWARE to get
13599           AUTH_MAX_PASSWD_LENGTH
13600
13601 1996-07-13 21:05  millert
13602
13603         * getspwuid.c: no more SPW_HPUX10
13604
13605 1996-07-13 21:04  millert
13606
13607         * config.h.in: no more SPW_HPUX10 added HAVE_BIGCRYPT
13608
13609 1996-07-13 21:04  millert
13610
13611         * compat.h: now uses AUTH_MAX_PASSWD_LENGTH if SPW_SECUREWARE
13612
13613 1996-07-13 21:04  millert
13614
13615         * check.c: SPW_SECUREWARE now uses bigcrypt
13616
13617 1996-07-13 18:24  millert
13618
13619         * sample.sudoers: fixed 2 syntax errors
13620
13621 1996-07-13 18:24  millert
13622
13623         * sudoers: root may now run ALL as ALL
13624
13625 1996-07-11 20:59  millert
13626
13627         * interfaces.c: fixed a typo/thinko that broke BSD's with sa_len
13628
13629 1996-07-08 16:08  millert
13630
13631         * check.c, configure.in: updated AFS support
13632
13633 1996-07-08 16:07  millert
13634
13635         * TROUBLESHOOTING: added entry about /usr/ucb/cc
13636
13637 1996-07-08 16:06  millert
13638
13639         * INSTALL: prep no longer holds gcc binaries
13640
13641 1996-07-08 15:48  millert
13642
13643         * INSTALL: updated AFS note
13644
13645 1996-07-08 15:43  millert
13646
13647         * Makefile.in: added @AFS_LIBS@
13648
13649 1996-07-08 15:33  millert
13650
13651         * compat.h: AFS allows long passwords
13652
13653 1996-07-08 14:16  millert
13654
13655         * testsudoers.c: fixed -u user support
13656
13657 1996-07-08 14:16  millert
13658
13659         * parse.c: sudo -v now groks VALIDATE_OK_NOPASS
13660
13661 1996-07-08 13:30  millert
13662
13663         * parse.yacc: fixed no_passwd vs. runas_matched
13664
13665 1996-07-08 10:30  millert
13666
13667         * TROUBLESHOOTING: took out stuff about NFS-mounting since it is no
13668           longer an issue
13669
13670 1996-07-08 10:30  millert
13671
13672         * INSTALL: added --with-libraries >   --with-libpath --with-incpath
13673
13674 1996-07-08 10:21  millert
13675
13676         * parse.yacc: was setting runas_matches to -1 in wrong place
13677
13678 1996-07-08 09:58  millert
13679
13680         * check.c: removed usersec.h which is not present in new AFS
13681           versions
13682
13683 1996-07-08 09:55  millert
13684
13685         * tgetpass.c: now deals with timeout <= 0
13686
13687 1996-07-08 09:51  millert
13688
13689         * OPTIONS: updated
13690
13691 1996-07-08 00:04  millert
13692
13693         * configure.in: BSD/OS >= 2.0 now uses shlicc instead of just gcc
13694
13695 1996-07-07 22:30  millert
13696
13697         * sudo.c: fixed backwards compatibility with sudo 1.4 sudoers mode
13698           for root readable/writable filesystems
13699
13700 1996-07-07 20:49  millert
13701
13702         * Makefile.in: now gives INSTALL -c flag
13703
13704 1996-07-07 20:34  millert
13705
13706         * parse.yacc: slightly simpler initialization of  no_passwd and
13707           runas_matches
13708
13709 1996-07-07 20:33  millert
13710
13711         * testsudoers.c: added -u username support
13712
13713 1996-07-07 20:32  millert
13714
13715         * configure.in: improved --with-libraries support
13716
13717 1996-07-07 16:27  millert
13718
13719         * configure.in: added --with-incpath, --with-libpath,
13720           --with-libraries
13721
13722 1996-07-07 16:01  millert
13723
13724         * parse.yacc: now initializes some fields that weren't getting set
13725           to -1 pretty gross -- need a rewrite.
13726
13727 1996-06-25 23:19  millert
13728
13729         * alloca.c: removed emacs'isms
13730
13731 1996-06-25 22:29  millert
13732
13733         * configure.in: no longer add -lPW to *_LIBS since we include
13734           alloca.c
13735
13736 1996-06-25 22:29  millert
13737
13738         * config.h.in: added HAVE_ALLOCA_H
13739
13740 1996-06-25 22:28  millert
13741
13742         * Makefile.in: added alloca.c
13743
13744 1996-06-25 22:18  millert
13745
13746         * alloca.c: Initial revision
13747
13748 1996-06-25 21:58  millert
13749
13750         * configure.in: ++version
13751
13752 1996-06-25 19:32  millert
13753
13754         * sudo.c: now set uid to 1 instead of nobody for PERM_SUDOERS since
13755           nobody is not always set to a valid uid.
13756
13757 1996-06-25 19:31  millert
13758
13759         * OPTIONS: fixed entry for SUDO_MODE
13760
13761 1996-06-25 18:02  millert
13762
13763         * sudo.c: Fixed NFS-mounted sudoers file under solaris both uid
13764           *and* gid were being set to -2.  Now beat NFS to the punch and
13765           set uid to "nobody" ourselves, preserving group 0 to read
13766           sudoers.
13767
13768 1996-06-25 18:02  millert
13769
13770         * parse.c: moved set_perms(PERM_ROOT) to be before yyparse()
13771
13772 1996-06-25 18:00  millert
13773
13774         * logging.c: fixed a typo
13775
13776 1996-06-25 18:00  millert
13777
13778         * configure.in: no longer need AC_PROG_INSTALL
13779
13780 1996-06-25 17:59  millert
13781
13782         * Makefile.in: always use install-sh to avoid install(1)'s that use
13783           get{pw,gr}nam
13784
13785 1996-06-25 16:07  millert
13786
13787         * INSTALL: make clean -> make distclean
13788
13789 1996-06-20 01:17  millert
13790
13791         * parse.yacc: removed some unnecsary if's
13792
13793 1996-06-20 01:16  millert
13794
13795         * Makefile.in, version.h: ++version
13796
13797 1996-06-20 01:16  millert
13798
13799         * parse.c, testsudoers.c: now includes netgroup.h
13800
13801 1996-06-20 00:45  millert
13802
13803         * interfaces.c: removed cats of ioctl to int since they didn't shut
13804           up -Wall
13805
13806 1996-06-20 00:43  millert
13807
13808         * interfaces.c: explicately cast ioctl() to int since it it not
13809           always declared
13810
13811 1996-06-20 00:41  millert
13812
13813         * sudo.h: added declarations for yyparse() and yylex()
13814
13815 1996-06-20 00:27  millert
13816
13817         * parse.yacc: fixed an occurence of '==' -> '='
13818
13819 1996-06-20 00:22  millert
13820
13821         * config.h.in, configure.in: added check for netgroup.h
13822
13823 1996-06-20 00:20  millert
13824
13825         * sudo.c: fixed 2 compiler warnings
13826
13827 1996-06-20 00:08  millert
13828
13829         * sudo.c: SHELL_IF_NO_ARGS caused core dump since NewArg[cv]
13830           weren't being initialized
13831
13832 1996-06-19 13:53  millert
13833
13834         * sudo.pod: fixed a typo
13835
13836 1996-06-17 12:19  millert
13837
13838         * parse.yacc: fixed a formatting thingie
13839
13840 1996-06-17 12:16  millert
13841
13842         * parse.c, parse.yacc: fixed -u support with multiple user lists on
13843           a line
13844
13845 1996-06-17 10:23  millert
13846
13847         * configure.in: unixware needs -lgen
13848
13849 1996-06-17 10:23  millert
13850
13851         * README: updated ftp location
13852
13853 1996-06-17 00:08  millert
13854
13855         * sudoers.pod: add net_addr/netmask support
13856
13857 1996-06-17 00:07  millert
13858
13859         * sample.sudoers: added net_addr/mask example
13860
13861 1996-06-17 00:02  millert
13862
13863         * parse.lex, parse.c: added support for net_addr/netmask
13864
13865 1996-06-15 20:13  millert
13866
13867         * sudoers.pod: ^ -> !
13868
13869 1996-06-15 18:12  millert
13870
13871         * RUNSON: updated for 1.4.3
13872
13873 1996-06-15 18:12  millert
13874
13875         * CHANGES: udpated for 1.4.3
13876
13877 1996-06-15 18:11  millert
13878
13879         * TROUBLESHOOTING, TODO, BUGS: updated
13880
13881 1996-06-15 18:11  millert
13882
13883         * sample.sudoers: updated with examples of new stuff
13884
13885 1996-06-15 18:10  millert
13886
13887         * INSTALL, README: ++version
13888
13889 1996-06-15 18:01  millert
13890
13891         * sudoers.pod: updated wrt -u and NOPASSWD
13892
13893 1996-06-15 17:58  millert
13894
13895         * sudo.pod: updated wrt -u and CAVEATS
13896
13897 1996-06-08 23:15  millert
13898
13899         * sudo.c: fixed usage()
13900
13901 1996-06-08 22:57  millert
13902
13903         * parse.lex: now use :foo: character classes (makes no diff for
13904           generated lexer)
13905
13906 1996-06-07 14:33  millert
13907
13908         * check.c: fixed LONG_SKEY_PROMPT stuff
13909
13910 1996-06-06 15:35  millert
13911
13912         * visudo.c: fixed a comment
13913
13914 1996-06-06 15:03  millert
13915
13916         * lsearch.c: make more like NetBSD one -- now compiles w/o warnings
13917
13918 1996-06-06 15:02  millert
13919
13920         * emul/search.h: fixed decls of lsearch()
13921
13922 1996-06-05 22:20  millert
13923
13924         * config.h.in, configure.in, getspwuid.c: added SPW_HPUX10
13925
13926 1996-06-05 22:20  millert
13927
13928         * check.c: hpux 10 uses bigcrypt() if C2
13929
13930 1996-06-04 19:57  millert
13931
13932         * parse.c: now always uses fnmatch to match args
13933
13934 1996-06-04 19:40  millert
13935
13936         * tgetpass.c: back to using stdio instead of raw i/o since that
13937           caused some problems
13938
13939 1996-05-28 22:14  millert
13940
13941         * sudo.c: now give usage warning if use -l,-v,-k with args
13942
13943 1996-05-28 18:22  millert
13944
13945         * sudo.c: NewArgc is now set to 1 for -l, -v, -k
13946
13947 1996-05-28 12:50  millert
13948
13949         * sudo.c: now sets sudoers to correct group if mode is 0400
13950
13951 1996-05-28 12:02  millert
13952
13953         * install-sh: updated to version used by inn and bind
13954
13955 1996-05-28 00:08  millert
13956
13957         * configure.in: now uses -lgnumalloc if it exists
13958
13959 1996-05-28 00:02  millert
13960
13961         * Makefile.in: "make install" now sets uid/gid and mode on sudoers
13962           if it exists
13963
13964 1996-05-28 00:01  millert
13965
13966         * sudo.c: rmeoved debugging statements
13967
13968 1996-05-28 00:00  millert
13969
13970         * parse.yacc: added a missing free()
13971
13972 1996-05-27 23:58  millert
13973
13974         * sudo.c: now uses user_gid instead of getegid (which was wrong
13975           anyway) to set SUDO_GID Now sets command line args in
13976           SUDO_COMMAND envariabled (logging.c depends on args being in the
13977           environment)
13978
13979 1996-05-27 23:57  millert
13980
13981         * logging.c: now uses SUDO_COMMAND envariable to get command args
13982           rather than building it up again.
13983
13984 1996-05-27 22:42  millert
13985
13986         * parse.c: now uses user_gid
13987
13988 1996-05-27 20:02  millert
13989
13990         * sudo.c: fixed off by one error in allocation NewArgv
13991
13992 1996-05-27 20:01  millert
13993
13994         * parse.c: in sudoers, 'command ""' now means command with no args
13995
13996 1996-05-27 20:01  millert
13997
13998         * configure.in: added check for fnmatch(3) and fnmatch.h
13999
14000 1996-05-27 20:01  millert
14001
14002         * config.h.in: added HAVE_FNMATCH
14003
14004 1996-05-27 20:00  millert
14005
14006         * Makefile.in: replaced wildcat.* with fnmatch.*
14007
14008 1996-05-27 20:00  millert
14009
14010         * testsudoers.c: now uses fnmatch()
14011
14012 1996-05-27 19:38  millert
14013
14014         * parse.c: now uses fnmatch() instead of wildmat a trailing star
14015           (*) by itself now matches multiple args added support for
14016           wildcards in the pathname  in sudoers
14017
14018 1996-05-25 19:23  millert
14019
14020         * fnmatch.c: now includes compat.h and config.h
14021
14022 1996-05-25 18:09  millert
14023
14024         * config.h.in: added HAVE_FNMATCH_H
14025
14026 1996-05-25 18:07  millert
14027
14028         * configure.in: now checks for alloca() (if needed by bison or dce)
14029           and links with -lPW if it contains alloca() and libv and compiler
14030           do not.
14031
14032 1996-05-25 18:03  millert
14033
14034         * fnmatch.3, fnmatch.c, emul/fnmatch.h: Initial revision
14035
14036 1996-04-28 22:38  millert
14037
14038         * sudo.c: now fixes mode on sudoers if set to 0400 to aid in
14039           upgrade
14040
14041 1996-04-28 17:44  millert
14042
14043         * Makefile.in: fixed pod2man usage
14044
14045 1996-04-28 17:40  millert
14046
14047         * configure.in, Makefile.in, version.h: ++version
14048
14049 1996-04-28 17:20  millert
14050
14051         * testsudoers.c, visudo.c: runas_user is now initialized to "root"
14052
14053 1996-04-28 17:20  millert
14054
14055         * sudo.h: removed PERM_FULL_ROOT
14056
14057 1996-04-28 17:18  millert
14058
14059         * sudo.c: runas_user defaults to "root" so no more need to
14060           PERM_RUNAS
14061
14062 1996-04-28 17:16  millert
14063
14064         * parse.c: will now only running commands as root if there was no
14065           runas list (or if root is in the runas list)
14066
14067 1996-04-28 17:15  millert
14068
14069         * logging.c: now logs "USER=%s"
14070
14071 1996-04-28 17:12  millert
14072
14073         * parse.yacc: runas_matches is now set to false if we get a
14074           negative match
14075
14076 1996-04-28 15:01  millert
14077
14078         * parse.lex: make #uid work + some minor cleanup
14079
14080 1996-04-27 21:04  millert
14081
14082         * sample.sudoers: added support for NOPASSWD and "runas" from
14083           garp@opustel.com /
14084
14085 1996-04-27 21:03  millert
14086
14087         * visudo.c: added support for "runas" from garp@opustel.com
14088           replaced SUDOERS_OWNER with SUDOERS_UID, SUDOERS_GID added
14089           support for SUDOERS_MODE
14090
14091 1996-04-27 21:03  millert
14092
14093         * testsudoers.c: added support for "runas" from garp@opustel.com
14094
14095 1996-04-27 21:02  millert
14096
14097         * sudo.h: added support for NO_PASSWD and runas from
14098           garp@opustel.com replaced SUDOERS_OWNER with SUDOERS_UID and
14099           SUDOERS_GID     and added support fro SUDOERS_MODE
14100
14101 1996-04-27 21:00  millert
14102
14103         * sudo.c: added support for NO_PASSWD and runas from
14104           garp@opustel.com replaced SUDOERS_OWNER with SUDOERS_UID and
14105           SUDOERS_GID and added support fro SUDOERS_MODE
14106
14107 1996-04-27 21:00  millert
14108
14109         * parse.yacc: added support for NO_PASSWD and runas from
14110           garp@opustel.com
14111
14112 1996-04-27 20:58  millert
14113
14114         * parse.c, parse.lex: added support for NO_PASSWD and runas from
14115           garp@opustel.com
14116
14117 1996-04-27 20:56  millert
14118
14119         * logging.c: added support for SUDOERS_WRONG_MODE and "runas"
14120
14121 1996-04-27 20:40  millert
14122
14123         * configure.in: added --with-CC only link with -lshadow on linux
14124           (with shadow pw) if libc lacks getspnam()
14125
14126 1996-04-27 20:39  millert
14127
14128         * OPTIONS, options.h: removed NO_PASSWD since it is not possible to
14129           do this in the sudoers file itself.  Replaced SUDOERS_OWNER with
14130           SUDOERS_UID and SUDOERS_GID.  Added SUDOERS_MODE.
14131
14132 1996-04-27 20:26  millert
14133
14134         * Makefile.in: now uses SUDOERS_UID and SUDOERS_GID
14135
14136 1996-04-27 11:20  millert
14137
14138         * INSTALL: added --with-CC
14139
14140 1996-04-06 16:31  millert
14141
14142         * parse.lex: added double quote support
14143
14144 1996-04-06 16:29  millert
14145
14146         * sudoers.pod: documented double quoting
14147
14148 1996-04-05 16:53  millert
14149
14150         * mkinstalldirs: Initial revision
14151
14152 1996-04-05 16:53  millert
14153
14154         * check.c: fixed some indentation
14155
14156 1996-04-05 16:48  millert
14157
14158         * Makefile.in: fixed a typo
14159
14160 1996-04-04 19:39  millert
14161
14162         * Makefile.in: added install-dirs .
14163
14164 1996-04-04 14:16  millert
14165
14166         * dce_pwent.c: new version from "Jeff A. Earickson"
14167           <jaearick@colby.edu>
14168
14169 1996-04-03 13:40  millert
14170
14171         * configure.in: $CSOPS -> $with_csops (whoops, missed one)
14172
14173 1996-04-03 13:40  millert
14174
14175         * BUGS: updated
14176
14177 1996-04-03 13:36  millert
14178
14179         * parse.lex: FQHOST now has same constraints as non-FQHOST
14180
14181 1996-04-02 19:00  millert
14182
14183         * INSTALL: added note about OS's w/ shadow passwords turned on by
14184           default
14185
14186 1996-04-02 18:58  millert
14187
14188         * configure.in: fixed a typo
14189
14190 1996-04-02 18:48  millert
14191
14192         * configure.in: added support for --without-THING sanitized shadow
14193           pw situtation by adding support for --without-C2
14194
14195 1996-04-02 16:42  millert
14196
14197         * tgetpass.c: fixed a typo wrt placement of an end paren
14198
14199 1996-04-02 14:57  millert
14200
14201         * check.c: was closing an fd that may not have been opened
14202
14203 1996-03-21 19:55  millert
14204
14205         * sudo.c, OPTIONS, options.h: added NO_PASSWD
14206
14207 1996-03-19 19:40  millert
14208
14209         * configure.in: now always use shadow pw on some arches
14210
14211 1996-03-19 17:07  millert
14212
14213         * configure.in: added pyramid support
14214
14215 1996-03-19 17:04  millert
14216
14217         * configure.in: no longer check for C2 if alternate passwd method
14218           is used no longer check for some libs twice
14219
14220 1996-03-19 17:00  millert
14221
14222         * parse.yacc: moved fqdn stuff into parse.lex (FQHOST)
14223
14224 1996-03-19 17:00  millert
14225
14226         * parse.lex: added FQHOST rules
14227
14228 1996-03-18 20:57  millert
14229
14230         * tgetpass.c: now define TCSASOFT in necesary
14231
14232 1996-03-18 20:31  millert
14233
14234         * tgetpass.c: now uses read/write instead of stdio string goop to
14235           avoid problems with select(2)
14236
14237 1996-03-18 19:37  millert
14238
14239         * OPTIONS, find_path.c, options.h: -DNO_DOT_PATH ->
14240           -DIGNORE_DOT_PATH
14241
14242 1996-03-17 16:18  millert
14243
14244         * INSTALL: added note about no shadow auto-detect if using
14245           alternate auth schemes
14246
14247 1996-03-17 15:33  millert
14248
14249         * configure.in: don't check for C2 if AFS or DCE (unless they said
14250           --with-C2)
14251
14252 1996-03-17 15:08  millert
14253
14254         * testsudoers.c: now groks shost
14255
14256 1996-03-17 15:01  millert
14257
14258         * options.h, OPTIONS, find_path.c: added NO_DOT_PATH
14259
14260 1996-03-16 14:43  millert
14261
14262         * find_path.c: checkdot now works correctly
14263
14264 1996-03-12 18:01  millert
14265
14266         * configure.in: can't have DCE and C2 passwords both...
14267
14268 1996-03-11 14:05  millert
14269
14270         * parse.yacc, sudo.c, sudo.h, visudo.c: now uses shost even if not
14271           FQDN
14272
14273 1996-03-11 14:04  millert
14274
14275         * configure.in: now looks for skey in /usr/lib and doesn't require
14276           libskey to be in /usr/local/lib just because skey.h is (for my
14277           netbsd box :-)
14278
14279 1996-03-11 02:00  millert
14280
14281         * aclocal.m4, config.h.in, pathnames.h.in: _SUDO_PATH_ ->
14282           _CONFIG_PATH_
14283
14284 1996-03-10 21:01  millert
14285
14286         * aclocal.m4, sudo.pod: /var/run/.odus -> /var/run/sudo
14287
14288 1996-03-10 20:59  millert
14289
14290         * pathnames.h.in: now uses _SUDO_PATH_TIMEDIR
14291
14292 1996-03-10 20:59  millert
14293
14294         * OPTIONS: udpated FQDN
14295
14296 1996-03-10 20:58  millert
14297
14298         * config.h.in: added _SUDO_PATH_TIMEDIR
14299
14300 1996-03-10 20:58  millert
14301
14302         * aclocal.m4, configure.in: added SUDO_TIMEDIR
14303
14304 1996-03-10 20:58  millert
14305
14306         * sudo.pod: updated wrt /var/run/sudo
14307
14308 1996-03-10 20:16  millert
14309
14310         * sudo.c, sudo.h: added support for shost if FQDN
14311
14312 1996-03-10 20:14  millert
14313
14314         * parse.yacc, visudo.c: now uses shost if FQDN
14315
14316 1996-03-10 20:12  millert
14317
14318         * check.c: Now use skeylookup() instead off skeychallenge()
14319
14320 1996-02-27 20:41  millert
14321
14322         * logging.c: mail_argv should not contain ALERTMAIL as it includes
14323           "-t"
14324
14325 1996-02-22 17:06  millert
14326
14327         * INSTALL, Makefile.in, README, version.h, configure.in: ++version
14328
14329 1996-02-22 16:27  millert
14330
14331         * compat.h: added more _PASSWD_LEN stuff -- now uses PASS_MAX too
14332
14333 1996-02-22 16:27  millert
14334
14335         * tgetpass.c: now includes limits.h moved _PASSWD_LEN -> compat.h
14336
14337 1996-02-05 19:20  millert
14338
14339         * README, INSTALL: ++version
14340
14341 1996-02-05 19:20  millert
14342
14343         * Makefile.in: ++versoin
14344
14345 1996-02-05 19:16  millert
14346
14347         * Makefile.in: fixed a typo
14348
14349 1996-02-05 19:16  millert
14350
14351         * configure.in: ++version
14352
14353 1996-02-05 18:53  millert
14354
14355         * RUNSON: updated
14356
14357 1996-02-05 18:47  millert
14358
14359         * CHANGES: done for 1.4.1 (I hope)
14360
14361 1996-02-05 18:45  millert
14362
14363         * sudoers.pod: added info on wildcards
14364
14365 1996-02-05 18:39  millert
14366
14367         * sample.sudoers: added wildcard example
14368
14369 1996-02-05 17:03  millert
14370
14371         * Makefile.in: now uses *.pod to build *.man and *.cat & *.html
14372
14373 1996-02-05 17:03  millert
14374
14375         * configure.in: addedSUDO_PROG_BSHELL !ll
14376
14377 1996-02-05 16:10  millert
14378
14379         * visudo.pod: fixed up some formatting
14380
14381 1996-02-05 16:10  millert
14382
14383         * sudoers.pod: redid section describing sample sudoers stuff
14384
14385 1996-02-05 16:10  millert
14386
14387         * sudo.pod: fixed some formatting
14388
14389 1996-02-04 22:50  millert
14390
14391         * getspwuid.c: now treats "" as bourne shell
14392
14393 1996-02-04 22:49  millert
14394
14395         * Makefile.in: TESTOBJS nwo includes wildmat.o
14396
14397 1996-02-04 22:48  millert
14398
14399         * testsudoers.c: now works with NewArg[cv]
14400
14401 1996-02-04 21:59  millert
14402
14403         * sudo.c: removed an XXX (fixed it in getspwuid.c)
14404
14405 1996-02-04 21:58  millert
14406
14407         * aclocal.m4: added check for bourne shell
14408
14409 1996-02-04 21:58  millert
14410
14411         * pathnames.h.in: added _PATH_BSHELL
14412
14413 1996-02-04 21:58  millert
14414
14415         * config.h.in: added _SUDO_PATH_BSHELL
14416
14417 1996-02-04 16:36  millert
14418
14419         * visudo.c: unixware vi returns 256 instead of 0
14420
14421 1996-02-04 16:24  millert
14422
14423         * INSTALL: added Linux note
14424
14425 1996-02-04 16:13  millert
14426
14427         * logging.c: fixed up some XXX's.  file log format now looks a
14428           little more like real syslog(3) format.
14429
14430 1996-02-04 16:13  millert
14431
14432         * README, TROUBLESHOOTING: updated wrt lex/flex
14433
14434 1996-02-04 16:11  millert
14435
14436         * Makefile.in: commented out rule to build lex.yy.c from parse.lex
14437           since we ship with a pre-flex'd parser
14438
14439 1996-02-04 16:09  millert
14440
14441         * parse.c, parse.yacc, visudo.c: path_matches -> command_matches
14442
14443 1996-02-04 02:28  millert
14444
14445         * logging.c: eliminated some strcat()'s
14446
14447 1996-02-04 02:10  millert
14448
14449         * configure.in: no longer checks for lex/flex (now assumes flex)
14450
14451 1996-02-04 02:08  millert
14452
14453         * configure.in: now checks for $kerb_dir_candidate/krb.h instead of
14454           just kerb_dir_candidate
14455
14456 1996-02-02 20:48  millert
14457
14458         * parse.yacc: now use a 'hook' expression instead of an iffy one
14459           :-)
14460
14461 1996-02-02 01:14  millert
14462
14463         * visudo.c: now works with new sudo arg stuff
14464
14465 1996-02-02 01:14  millert
14466
14467         * parse.yacc: fixed dereferencing deadbeef
14468
14469 1996-02-01 23:53  millert
14470
14471         * sudo.c: changed an occurrence of Argv to NewArgv
14472
14473 1996-02-01 23:53  millert
14474
14475         * parse.lex: took out support for quoted commands since there is no
14476           need...
14477
14478 1996-02-01 23:52  millert
14479
14480         * parse.c: fixed a typo in a for() loop
14481
14482 1996-02-01 23:52  millert
14483
14484         * logging.c: protected against dereferencing rogue pointers
14485
14486 1996-02-01 22:34  millert
14487
14488         * sudo.c: now uses NewArgv amd NewArgc so cmnd_aegs is no longer
14489           needed this also allows us to eliminate some kludges in
14490           parse_args() and eliminate superfluous code.
14491
14492 1996-02-01 22:34  millert
14493
14494         * logging.c: no longer uses cmnd_args, now uses NewArgv instead.
14495
14496 1996-02-01 22:32  millert
14497
14498         * sudo.h: added struct sudo_command, NewArgc, and NewArgv removed
14499           cmnd_args (no longer used)
14500
14501 1996-02-01 22:31  millert
14502
14503         * Makefile.in: added wildmat.c to SRCS & SUDOBJS
14504
14505 1996-02-01 22:30  millert
14506
14507         * parse.yacc: COMMAND is now a struct containing the path and args
14508
14509 1996-02-01 22:30  millert
14510
14511         * parse.lex: replaced append() with fill_cmnd() and fill_args.
14512           command args from a sudoers entry are now stored in an arrary for
14513           easy matching.
14514
14515 1996-02-01 22:28  millert
14516
14517         * parse.c: command line args from sudoers file are now in an array
14518           like ones passed in from the command line
14519
14520 1996-01-31 20:59  millert
14521
14522         * parse.c: wildwat stuff now works
14523
14524 1996-01-29 00:44  millert
14525
14526         * version.h: ++version
14527
14528 1996-01-29 00:44  millert
14529
14530         * Makefile.in: ++version added wildmat.*
14531
14532 1996-01-28 17:55  millert
14533
14534         * parse.lex: added support for quoted commands (w/ or w/o args)
14535
14536 1996-01-22 01:55  millert
14537
14538         * sudo.pod, visudo.pod: cleaned up formatting
14539
14540 1996-01-21 20:53  millert
14541
14542         * sudo.pod, visudo.pod: Initial revision
14543
14544 1996-01-21 02:07  millert
14545
14546         * sudoers.pod: looks reasonable, could be mroe readable
14547
14548 1996-01-20 23:47  millert
14549
14550         * sudoers.pod: Initial revision
14551
14552 1996-01-16 14:38  millert
14553
14554         * RUNSON: updated
14555
14556 1996-01-16 14:37  millert
14557
14558         * OPTIONS: updated NO_ROOT_SUDO entry
14559
14560 1996-01-15 11:37  millert
14561
14562         * RUNSON: [no log message]
14563
14564 1996-01-15 11:34  millert
14565
14566         * sudo.c: fixed SECURE_PATH
14567
14568 1996-01-14 20:55  millert
14569
14570         * RUNSON: udpa`ted for 1.4
14571
14572 1996-01-14 20:52  millert
14573
14574         * configure.in: AIX aixcrypt.exp now uses $(srcdir)
14575
14576 1996-01-14 20:32  millert
14577
14578         * TROUBLESHOOTING: added entry for anal ansi compilers
14579
14580 1996-01-14 16:13  millert
14581
14582         * INSTALL: added info on libcrypt_i for SCO
14583
14584 1996-01-14 16:05  millert
14585
14586         * TODO: [no log message]
14587
14588 1996-01-14 15:39  millert
14589
14590         * sample.sudoers: added comments
14591
14592 1996-01-14 15:25  millert
14593
14594         * TODO: 1.4 release
14595
14596 1996-01-14 15:22  millert
14597
14598         * README, config.h.in, configure.in, CHANGES: ++version
14599
14600 1996-01-14 15:21  millert
14601
14602         * BUGS: ++version and fixed ISC
14603
14604 1996-01-14 15:19  millert
14605
14606         * check.c, compat.h, dce_pwent.c, find_path.c, getspwuid.c,
14607           getwd.c, goodpath.c, ins_2001.h, ins_classic.h, ins_csops.h,
14608           ins_goons.h, insults.h, options.h, pathnames.h.in, sudo.h,
14609           logging.c, putenv.c, strdup.c, sudo.c, sudo_setenv.c,
14610           testsudoers.c, tgetpass.c, utime.c, visudo.c, INSTALL, OPTIONS:
14611           ++version
14612
14613 1996-01-14 15:16  millert
14614
14615         * interfaces.c: added STUB_LOAD_INTERFACES ++version
14616
14617 1996-01-14 15:14  millert
14618
14619         * Makefile.in, version.h, parse.c, parse.lex, parse.yacc,
14620           emul/utime.h: ++version
14621
14622 1996-01-14 15:13  millert
14623
14624         * PORTING: added info about fd_set in tgetpass added info on
14625           interfaces.c
14626
14627 1996-01-11 13:22  millert
14628
14629         * dce_pwent.c: added sudo header
14630
14631 1996-01-11 13:04  millert
14632
14633         * tgetpass.c: fixed a typo
14634
14635 1996-01-11 13:01  millert
14636
14637         * Makefile.in: tgetpass.o is now only linked in with sudo (not
14638           visudo)
14639
14640 1996-01-09 12:56  millert
14641
14642         * BUGS, INSTALL, OPTIONS, README, Makefile.in, config.h.in,
14643           configure.in: ++version
14644
14645 1996-01-09 12:54  millert
14646
14647         * emul/utime.h: added copyright notice
14648
14649 1996-01-09 12:52  millert
14650
14651         * check.c, compat.h, find_path.c, getspwuid.c, getwd.c, goodpath.c,
14652           ins_2001.h, ins_classic.h, ins_csops.h, ins_goons.h, insults.h,
14653           interfaces.c, logging.c, options.h, parse.c, parse.lex,
14654           parse.yacc, pathnames.h.in, putenv.c, strdup.c, sudo.c, sudo.h,
14655           sudo_setenv.c, testsudoers.c, tgetpass.c, utime.c, version.h,
14656           visudo.c: ++version
14657
14658 1996-01-09 12:46  millert
14659
14660         * tgetpass.c: minor cleanup and now includes sys/bsdtypes for
14661           svr4'ish boxen
14662
14663 1996-01-09 12:42  millert
14664
14665         * configure.in: ISC now gets -lcrypt now check for sys/bsdtypes.h
14666
14667 1996-01-09 12:41  millert
14668
14669         * config.h.in: added check for sys/bsdtypes.h
14670
14671 1996-01-07 16:00  millert
14672
14673         * parse.yacc: removed debugging stuff (setting freed ptr to NULL)
14674
14675 1996-01-07 15:55  millert
14676
14677         * TROUBLESHOOTING: added 2 entries
14678
14679 1996-01-07 15:55  millert
14680
14681         * Makefile.in: added FAQ
14682
14683 1996-01-07 14:26  millert
14684
14685         * TROUBLESHOOTING: added section on syslog
14686
14687 1996-01-07 14:25  millert
14688
14689         * configure.in: added AC_ISC_POSIX for better ISC support
14690
14691 1996-01-07 14:25  millert
14692
14693         * config.h.in: fixed typo
14694
14695 1996-01-07 14:25  millert
14696
14697         * config.h.in: added define for _POSIX_SOURCE
14698
14699 1996-01-04 00:41  millert
14700
14701         * configure.in: fixed check for lsearch()
14702
14703 1995-12-21 21:53  millert
14704
14705         * interfaces.c: fixed for AIX now deal if num_interfaces == 0
14706           (should not happen)
14707
14708 1995-12-20 17:02  millert
14709
14710         * configure.in: now only define HAVE_LSEARCH if there is a
14711           corresponding search.h
14712
14713 1995-12-20 15:52  millert
14714
14715         * interfaces.c: works on ISC again
14716
14717 1995-12-18 17:36  millert
14718
14719         * configure.in: now define HAVE_LSEARCH if we find lsearch() in
14720           libcompat
14721
14722 1995-12-18 17:32  millert
14723
14724         * lsearch.c: char * -> const char *
14725
14726 1995-12-18 17:29  millert
14727
14728         * configure.in: now looks in -lcompat for lsearch()
14729
14730 1995-12-18 17:23  millert
14731
14732         * Makefile.in: remove sudo.core visudo.core for clan target
14733
14734 1995-12-17 22:53  millert
14735
14736         * aclocal.m4: added UID_MAX support in check for MAX_UID_T_LEN
14737
14738 1995-12-17 22:36  millert
14739
14740         * Makefile.in: fixed another occurence of sudo_getpwuid.*
14741
14742 1995-12-17 22:30  millert
14743
14744         * getspwuid.c, Makefile.in: sudo_getpwuid.c -> getspwuid.c
14745
14746 1995-12-17 22:22  millert
14747
14748         * configure.in: moved the "echo"
14749
14750 1995-12-17 22:09  millert
14751
14752         * CHANGES, BUGS, INSTALL, Makefile.in, OPTIONS, README, check.c,
14753           compat.h, config.h.in, configure.in, find_path.c, getspwuid.c,
14754           getwd.c, goodpath.c, ins_2001.h, ins_classic.h, ins_csops.h,
14755           ins_goons.h, insults.h, interfaces.c, logging.c, options.h,
14756           parse.c, parse.lex, parse.yacc, pathnames.h.in, putenv.c,
14757           strdup.c, sudo.c, sudo.h, sudo_setenv.c, testsudoers.c,
14758           tgetpass.c, utime.c, version.h, visudo.c: ++version
14759
14760 1995-12-17 22:04  millert
14761
14762         * testsudoers.c: added group support
14763
14764 1995-12-17 22:00  millert
14765
14766         * sample.sudoers: added group entry
14767
14768 1995-12-17 21:59  millert
14769
14770         * sudoers.man: documented group support
14771
14772 1995-12-17 21:50  millert
14773
14774         * parse.c, parse.lex, visudo.c, parse.yacc: added group support
14775
14776 1995-12-15 17:45  millert
14777
14778         * check.c: tkfile was too short and overflowed the kerberos realm
14779
14780 1995-12-11 17:09  millert
14781
14782         * sudo.c: now copy command args directly from Argv
14783
14784 1995-12-11 15:55  millert
14785
14786         * sudo.c: replaced code to copy cmnd_args so that is does not use
14787           realloc since most realloc()'s really stink
14788
14789 1995-12-08 14:11  millert
14790
14791         * configure.in: syslog() fixed in hpux 10.01
14792
14793 1995-12-06 17:45  millert
14794
14795         * configure.in: AC_CHECK_LIB() now sets SUDO_LIBS (and VISUDO_LIBS
14796           if appropriate)
14797
14798 1995-12-06 17:30  millert
14799
14800         * configure.in: better error if cannot find skey incs or libs
14801
14802 1995-12-06 17:26  millert
14803
14804         * aclocal.m4: now use a temp file for determining max len of uid_t
14805           in string form.  the old hacky way broke on netbsd
14806
14807 1995-12-05 19:02  millert
14808
14809         * sudo.c: added set of parens and a space
14810
14811 1995-12-05 18:58  millert
14812
14813         * dce_pwent.c: fixes from Jeff Earickson <jaearick@colby.edu> ,
14814
14815 1995-12-05 18:58  millert
14816
14817         * check.c: modified a comment
14818
14819 1995-12-05 18:57  millert
14820
14821         * Makefile.in: fixed up testsudoers target
14822
14823 1995-12-05 18:56  millert
14824
14825         * configure.in: DCE changes from Jeff Earickson
14826           <jaearick@colby.edu> LIBS -> SUDO_LIBS and VISUDO_LIBS LDFLAGS ->
14827           SUDO_FDFLAGS and VISUDO_LDFLAGS
14828
14829 1995-12-05 18:17  millert
14830
14831         * Makefile.in: LIBS -> SUDO_LIBS , VISUDO_LIBS LDFLAGS ->
14832           SUDO_LDFLAGS, VISUDO_LDFLAGS
14833
14834 1995-11-27 23:32  millert
14835
14836         * configure.in: fix for C2 on hpux 10 now uses -linet if it exists
14837
14838 1995-11-27 23:17  millert
14839
14840         * check.c: LONG_SKEY_PROMPT is less of a klusge /
14841
14842 1995-11-27 23:17  millert
14843
14844         * configure.in: fixed typos w/ dce stuff
14845
14846 1995-11-27 23:14  millert
14847
14848         * Makefile.in: added dce_pwent.c
14849
14850 1995-11-26 13:48  millert
14851
14852         * INSTALL: amended section on combining authentication mechanisms
14853
14854 1995-11-26 13:48  millert
14855
14856         * PORTING: minor updates for 1.3.6
14857
14858 1995-11-26 13:47  millert
14859
14860         * TROUBLESHOOTING: added 2 more entries
14861
14862 1995-11-26 13:39  millert
14863
14864         * BUGS: updated for 1.3.6
14865
14866 1995-11-26 13:39  millert
14867
14868         * README: overhauled
14869
14870 1995-11-25 21:23  millert
14871
14872         * INSTALL: rewrote for sudo 1.3.6
14873
14874 1995-11-25 21:23  millert
14875
14876         * TROUBLESHOOTING: added 3 entries
14877
14878 1995-11-25 13:53  millert
14879
14880         * find_path.c, getspwuid.c, sudo.c: added explict casts for strdup
14881           since many includes don't prototype it.  gag me.
14882
14883 1995-11-25 13:23  millert
14884
14885         * sudo.h: removed prototype for sudo_getpwuid() since convex C
14886           compiler choked on it.
14887
14888 1995-11-25 13:23  millert
14889
14890         * sudo.c: added prototype for sudo_getpwuid()
14891
14892 1995-11-25 13:23  millert
14893
14894         * lsearch.c: now compiles on strict ANSI compilers
14895
14896 1995-11-24 23:56  millert
14897
14898         * check.c: added LONG_SKEY_PROMPT support
14899
14900 1995-11-24 23:55  millert
14901
14902         * Makefile.in: added extra $'s for make to eat up, yum.
14903
14904 1995-11-24 23:38  millert
14905
14906         * OPTIONS, options.h: added LONG_SKEY_PROMPT
14907
14908 1995-11-24 18:48  millert
14909
14910         * check.c: s/key support now works with normal s/key as well as
14911           logdaemon
14912
14913 1995-11-24 18:46  millert
14914
14915         * options.h, OPTIONS: added SKEY_ONLY
14916
14917 1995-11-24 18:46  millert
14918
14919         * compat.h: set _PASSWD_LEN to 256 for any of KERB4, DCE, SKEY
14920
14921 1995-11-24 00:42  millert
14922
14923         * INSTALL: added DCE note added more AIX notes
14924
14925 1995-11-24 00:39  millert
14926
14927         * sudo.c: now include pthread.h for DCE support
14928
14929 1995-11-23 22:22  millert
14930
14931         * check.c: dce_pwent() is ok after all .,
14932
14933 1995-11-23 22:21  millert
14934
14935         * logging.c: now uses SYSLOG() macro that equates to either
14936           syslog() or syslog_wrapper
14937
14938 1995-11-23 21:44  millert
14939
14940         * dce_pwent.c: minor formatting changes.  renamed check() to
14941           somthing less generic
14942
14943 1995-11-23 21:27  millert
14944
14945         * check.c, logging.c, parse.yacc, sudo.c, sudo.h, testsudoers.c,
14946           visudo.c: now uses user_pw_ent and simple macros to get at the
14947           contents
14948
14949 1995-11-22 20:35  millert
14950
14951         * check.c: simpler dec unix C2 support
14952
14953 1995-11-22 20:35  millert
14954
14955         * getspwuid.c: now sets crypt_type for DEC unix C2
14956
14957 1995-11-21 18:00  millert
14958
14959         * configure.in: added csops paths for skey
14960
14961 1995-11-21 16:27  millert
14962
14963         * getspwuid.c: now includes string.h for strdup() prototype
14964
14965 1995-11-21 01:47  millert
14966
14967         * getspwuid.c: fixed a few typos
14968
14969 1995-11-20 22:59  millert
14970
14971         * check.c: now includes skey.h
14972
14973 1995-11-20 22:10  millert
14974
14975         * getspwuid.c: fixed up comments
14976
14977 1995-11-20 22:04  millert
14978
14979         * check.c: moved a lot of the shadow passwd crap to sudo_getpwuid()
14980
14981 1995-11-20 22:01  millert
14982
14983         * sudo.c: now uses sudo_pw_ent
14984
14985 1995-11-20 21:50  millert
14986
14987         * testsudoers.c: now uses sudo_pw_ent
14988
14989 1995-11-20 21:40  millert
14990
14991         * visudo.c: now sets sudo_pw_ent
14992
14993 1995-11-20 21:28  millert
14994
14995         * getspwuid.c: Initial revision
14996
14997 1995-11-20 21:28  millert
14998
14999         * tgetpass.c: moved dce stuff into compat.h
15000
15001 1995-11-20 21:27  millert
15002
15003         * sudo.h, logging.c: now uses sudo_pw_ent
15004
15005 1995-11-20 21:27  millert
15006
15007         * Makefile.in: added sudo_getpwuid.c
15008
15009 1995-11-20 21:25  millert
15010
15011         * compat.h: added dce support
15012
15013 1995-11-20 21:13  millert
15014
15015         * parse.yacc: now uses sudo_pw_ent
15016
15017 1995-11-20 14:40  millert
15018
15019         * check.c: fixed exempt_group stuff for OS's that don't put base
15020           gid in group vector
15021
15022 1995-11-20 01:39  millert
15023
15024         * check.c: S/Key support now works with sunos4 shadow passwords
15025
15026 1995-11-19 22:31  millert
15027
15028         * Makefile.in: fixed clean rule
15029
15030 1995-11-19 22:31  millert
15031
15032         * config.h.in, configure.in: added DCE support
15033
15034 1995-11-19 22:30  millert
15035
15036         * tgetpass.c: DCE & KERB support
15037
15038 1995-11-19 22:30  millert
15039
15040         * check.c: first stab at dce support
15041
15042 1995-11-19 22:24  millert
15043
15044         * dce_pwent.c: now smells like sudo
15045
15046 1995-11-19 22:11  millert
15047
15048         * dce_pwent.c: Initial revision
15049
15050 1995-11-19 21:36  millert
15051
15052         * check.c: skey'd sudo now works w/ normal password as well
15053
15054 1995-11-19 18:37  millert
15055
15056         * Makefile.in, OPTIONS, check.c, compat.h, config.h.in,
15057           find_path.c, getwd.c, goodpath.c, ins_2001.h, ins_classic.h,
15058           ins_csops.h, ins_goons.h, insults.h, interfaces.c, logging.c,
15059           options.h, parse.c, parse.lex, parse.yacc, pathnames.h.in,
15060           putenv.c, strdup.c, sudo.c, sudo.h, sudo_setenv.c, testsudoers.c,
15061           tgetpass.c, utime.c, version.h, visudo.c: updated version number
15062
15063 1995-11-19 18:32  millert
15064
15065         * README: updated to reflect version change
15066
15067 1995-11-19 18:27  millert
15068
15069         * configure.in: --with options now line up ++version
15070
15071 1995-11-19 18:26  millert
15072
15073         * sudo.h: removed unecesary S/Key stuff
15074
15075 1995-11-19 18:25  millert
15076
15077         * configure.in: fixed S/Key support
15078
15079 1995-11-19 18:24  millert
15080
15081         * Makefile.in: -I stuff now goes in CPPFLAGS
15082
15083 1995-11-19 18:23  millert
15084
15085         * check.c: fixed SKey support
15086
15087 1995-11-19 15:23  millert
15088
15089         * README: updated version
15090
15091 1995-11-19 13:59  millert
15092
15093         * OPTIONS: fixed description of EXEMPTGROUP
15094
15095 1995-11-19 10:47  millert
15096
15097         * sudo.c: more people use _RLD_ than just alphas...
15098
15099 1995-11-18 21:35  millert
15100
15101         * Makefile.in: replaced $man_prefix with $mandir
15102
15103 1995-11-18 21:30  millert
15104
15105         * configure.in: fixed a typo
15106
15107 1995-11-18 21:28  millert
15108
15109         * Makefile.in: now use more GNU'ish dir names
15110
15111 1995-11-18 21:27  millert
15112
15113         * configure.in: now set *dir correctly (can override from command
15114           line)
15115
15116 1995-11-18 19:17  millert
15117
15118         * sudo.c: now deal with situations where we getwd() fails
15119
15120 1995-11-17 00:37  millert
15121
15122         * Makefile.in: added etc_dir, bin_dir, sbin_dir
15123
15124 1995-11-17 00:37  millert
15125
15126         * configure.in: added sbin_dir
15127
15128 1995-11-16 21:28  millert
15129
15130         * Makefile.in: now ship a flex-generated lex.yy.c
15131
15132 1995-11-16 21:09  millert
15133
15134         * Makefile.in: now sets _PATH_SUDO_SUDOERS, _PATH_SUDO_STMP,
15135           SUDOERS_OWNER
15136
15137 1995-11-16 21:06  millert
15138
15139         * pathnames.h.in: _PATH_SUDO_SUDOERS & _PATH_SUDO_STMP are now
15140           overridden via Makefile
15141
15142 1995-11-16 21:05  millert
15143
15144         * options.h: no more error for redefining SUDOERS_OWNER
15145
15146 1995-11-16 21:05  millert
15147
15148         * OPTIONS: expanded SUDOERS_OWNER section
15149
15150 1995-11-16 03:05  millert
15151
15152         * visudo.c: now warn if chown(2) failed
15153
15154 1995-11-16 02:55  millert
15155
15156         * logging.c: better default warning for NO_SUDOERS_FILE
15157
15158 1995-11-16 02:54  millert
15159
15160         * sudo.c: added missing set_perms() no more cryptic message if the
15161           sudoers file is zero length, now just give a parse error
15162
15163 1995-11-16 02:42  millert
15164
15165         * logging.c: better diagnostics if NO_SUDOERS_FILE
15166
15167 1995-11-16 02:41  millert
15168
15169         * sudo.c: check_sudoers() now catches sudoers files that are not
15170           readable (but are stat'able).
15171
15172 1995-11-13 01:12  millert
15173
15174         * configure.in: now add -D__STDC__ for convex cc (not gcc)
15175
15176 1995-11-13 00:52  millert
15177
15178         * configure.in: MAN_PREFIX -> man_prefix now sets prefix and
15179           exec_prefix
15180
15181 1995-11-13 00:52  millert
15182
15183         * Makefile.in: now uses exec_prefix & prefix from configure
15184
15185 1995-11-13 00:16  millert
15186
15187         * find_path.c, getwd.c, goodpath.c, interfaces.c, logging.c,
15188           parse.c, parse.lex, parse.yacc, sudo.c, sudo.h, sudo_setenv.c,
15189           tgetpass.c, utime.c, visudo.c: options.h is now <> instead of ""
15190           so shadow build trees can have a custom copy of options.h
15191
15192 1995-11-13 00:15  millert
15193
15194         * check.c: user_is_exempt() is no longer a hack, it now uses
15195           getgrnam()
15196
15197 1995-11-12 23:56  millert
15198
15199         * options.h: EXEMPTGROUP is now "sudo"
15200
15201 1995-11-12 22:25  millert
15202
15203         * configure.in: MAN_POSTINSTALL now contains a leading space
15204
15205 1995-11-12 22:25  millert
15206
15207         * Makefile.in: removed leading tab if @MAN_POSTINSTALL@ not defined
15208           now removes testsudoers in clean:
15209
15210 1995-11-12 22:24  millert
15211
15212         * tgetpass.c: includes pwd.h to get _PASSWD_LEN definition
15213
15214 1995-10-30 15:51  millert
15215
15216         * sudo.c: unset the KRB_CONF envariable if using kerberos so we
15217           don't get spoofed into using a bogus server
15218
15219 1995-09-29 17:50  millert
15220
15221         * parse.yacc: now explicately initialize match[] tp be FALSE
15222
15223 1995-09-23 16:48  millert
15224
15225         * sudo.c: removed unused variable now passes -Wall
15226
15227 1995-09-23 16:48  millert
15228
15229         * parse.yacc: yyerror and dumpaliases are now void's now passes
15230           -Wall
15231
15232 1995-09-23 16:48  millert
15233
15234         * parse.lex: added prototype for yyerror
15235
15236 1995-09-23 16:47  millert
15237
15238         * interfaces.c: rmeoved unused cruft now passes -Wall
15239
15240 1995-09-23 16:47  millert
15241
15242         * check.c, logging.c, parse.c: now passes -Wall
15243
15244 1995-09-23 16:46  millert
15245
15246         * Makefile.in: fixed headers that moved to emul dir
15247
15248 1995-09-23 12:05  millert
15249
15250         * logging.c: fixed deref of nil pointer if no args
15251
15252 1995-09-15 19:18  millert
15253
15254         * OPTIONS: added a caveat to FQDN section
15255
15256 1995-09-13 19:48  millert
15257
15258         * Makefile.in: more $srcdir support for install targets
15259
15260 1995-09-13 17:17  millert
15261
15262         * find_path.c, interfaces.c, parse.c, parse.lex, parse.yacc,
15263           putenv.c, strdup.c, sudo.c, sudo_setenv.c, testsudoers.c,
15264           visudo.c: don't include malloc.h if we include stdlib.h
15265
15266 1995-09-12 21:44  millert
15267
15268         * parse.yacc: local search.h now lives in emul
15269
15270 1995-09-12 21:41  millert
15271
15272         * lsearch.c: local search.h now lives in emul
15273
15274 1995-09-12 21:41  millert
15275
15276         * check.c, utime.c: local utime.h now lives in emul dir
15277
15278 1995-09-12 21:38  millert
15279
15280         * Makefile.in: added support for building in other than the
15281           sourcedir
15282
15283 1995-09-10 14:01  millert
15284
15285         * OPTIONS: annotated CSOPS_INSULTS option
15286
15287 1995-09-10 13:56  millert
15288
15289         * TROUBLESHOOTING: updated shadow passwords blurb
15290
15291 1995-09-09 21:00  millert
15292
15293         * sudo.c: if SHELL_IF_NO_ARGS is set, "sudo -- foo" now runs a
15294           shell and passes along foo as the arguments
15295
15296 1995-09-09 18:52  millert
15297
15298         * parse.lex: collapsed pathname and dir sections into one -- its
15299           now less expensive
15300
15301 1995-09-09 18:34  millert
15302
15303         * parse.lex: fixed spacing quoting [,:\\=] now works correctly
15304           append() and fill() now take args to make the above work
15305
15306 1995-09-08 20:51  millert
15307
15308         * sudo.c: fixed a typo that caused commands with no tty on fd 0 but
15309           a tty on fd 1 to erroneously have "none" as their tty
15310
15311 1995-09-04 15:35  millert
15312
15313         * check.c: timestampfile is now a global static removed decl of
15314           timestampfile in remove_timestamp since we can just use the
15315           global one
15316
15317 1995-09-04 15:28  millert
15318
15319         * check.c: created touch() to update timestamps added
15320           USE_TTY_TICKETS support (bit of a kludge)
15321
15322 1995-09-04 15:28  millert
15323
15324         * compat.h: added _S_IFDIR and S_ISDIR
15325
15326 1995-09-04 15:22  millert
15327
15328         * OPTIONS, options.h: added USE_TTY_TICKETS
15329
15330 1995-09-04 00:38  millert
15331
15332         * parse.yacc: removed const from casts for lsearch() & lfind() to
15333           placate irix 4.x C compiler
15334
15335 1995-09-03 14:12  millert
15336
15337         * sudo.c: now only strip '/dev/' off of a tty if it starts with
15338           '/dev/'
15339
15340 1995-09-03 14:12  millert
15341
15342         * pathnames.h.in: added _PATH_DEV
15343
15344 1995-09-03 14:11  millert
15345
15346         * configure.in: AC_HAVE_HEADERS -> AC_CHECK_HEADERS now check for
15347           tcgetattr only if have termios.h
15348
15349 1995-09-03 14:09  millert
15350
15351         * tgetpass.c: fixed incorrect #ifdef termio uses "unsigned short"
15352           not int for c_?flag
15353
15354 1995-09-03 13:19  millert
15355
15356         * parse.lex, parse.yacc: fixed a spelling error
15357
15358 1995-09-03 13:17  millert
15359
15360         * Makefile.in: fixed typo
15361
15362 1995-09-02 12:55  millert
15363
15364         * Makefile.in: fixed a comment
15365
15366 1995-09-02 12:54  millert
15367
15368         * parse.yacc: added dotcat() to cat 2 strings w/ a dot effeciently
15369           now that we dynamically allocate strings they need to be free()'d
15370
15371 1995-09-02 12:46  millert
15372
15373         * parse.lex: dynamically allocates space for strings
15374
15375 1995-09-02 12:34  millert
15376
15377         * sudo.h: no more MAXCOMMANDLENGTH
15378
15379 1995-09-01 22:25  millert
15380
15381         * sudo.h: added decl of tty
15382
15383 1995-09-01 22:25  millert
15384
15385         * logging.c, sudo.c: moved tty stuff into sudo.c
15386
15387 1995-09-01 14:18  millert
15388
15389         * parse.c: fixed a logic bug.  Was denying a command if user gave
15390           command line args but there were none in the sudoers file which
15391           is wrong.
15392
15393 1995-09-01 01:18  millert
15394
15395         * sudo.h: MAXCOMMMANDLEN dropped down to 1K
15396
15397 1995-09-01 01:13  millert
15398
15399         * parse.lex: return foo; -> return(foo);
15400
15401 1995-09-01 01:03  millert
15402
15403         * parse.yacc: fixed netgr_matches() prototype
15404
15405 1995-09-01 01:02  millert
15406
15407         * parse.lex: added support for escaping "termination" characters
15408
15409 1995-09-01 00:55  millert
15410
15411         * parse.c: buf is now of size MAXPATHLEN+1 since it never holds
15412           command args
15413
15414 1995-09-01 00:50  millert
15415
15416         * sudo.c: fixed comments
15417
15418 1995-09-01 00:49  millert
15419
15420         * goodpath.c: fixed negation problem (doh!)
15421
15422 1995-09-01 00:25  millert
15423
15424         * parse.yacc: fixed 2nd parameter to lfind()
15425
15426 1995-09-01 00:24  millert
15427
15428         * parse.lex: now do bounds checking in fill() and append()
15429
15430 1995-09-01 00:23  millert
15431
15432         * sudo.c: include netdb.h as we should added a missing void cast
15433           added SHELL_IF_NO_ARGS support now use realloc() properly.  would
15434           fail if realloc actually moved the string instead of shrinking it
15435
15436 1995-09-01 00:17  millert
15437
15438         * sample.sudoers: updated with examples of new features
15439
15440 1995-09-01 00:05  millert
15441
15442         * goodpath.c: now set errno to EACCES if not a regular file or not
15443           executable
15444
15445 1995-09-01 00:04  millert
15446
15447         * find_path.c: if given a fully-qualified or relative path we now
15448           check it with sudo_goodpath() and error out with the appropriate
15449           error message if the file does not exist or is not executable
15450
15451 1995-09-01 00:03  millert
15452
15453         * lsearch.c, emul/search.h: now use correct args for lfind
15454
15455 1995-09-01 00:03  millert
15456
15457         * logging.c: added a comment
15458
15459 1995-08-31 23:52  millert
15460
15461         * insults.h: added in CSOps insults
15462
15463 1995-08-31 23:51  millert
15464
15465         * ins_csops.h: Initial revision
15466
15467 1995-08-31 23:35  millert
15468
15469         * tgetpass.c: added RCS id
15470
15471 1995-08-31 22:56  millert
15472
15473         * sudo.h: increased MAXCOMMANDLENGTH to 8k HAVE_GETCWD ->
15474           HAVE_GETWD
15475
15476 1995-08-31 22:55  millert
15477
15478         * OPTIONS: added CLASSIC_INSULTS, CSOPS_INSULTS, SHELL_IF_NO_ARGS
15479
15480 1995-08-31 22:54  millert
15481
15482         * sudo.c: fixed -k load_interfaces() now gets called if FQDN is set
15483           -p now works with -s
15484
15485 1995-08-31 22:54  millert
15486
15487         * parse.c: don't try to stat() "pseudo commands" like "validate"
15488
15489 1995-08-31 22:53  millert
15490
15491         * options.h: added CLASSIC_INSULTS added CSOPS_INSULTS added
15492           SHELL_IF_NO_ARGS
15493
15494 1995-08-31 22:53  millert
15495
15496         * configure.in: added SecurID support added other insults to
15497           --with-csops
15498
15499 1995-08-31 22:52  millert
15500
15501         * config.h.in: added HAVE_SECURID
15502
15503 1995-08-31 22:52  millert
15504
15505         * Makefile.in: added clobber target added ins_csops.h now gets
15506           CFLAGS from configure
15507
15508 1995-08-31 22:46  millert
15509
15510         * aclocal.m4: relaxed SUDO_FULL_VOID
15511
15512 1995-08-31 22:44  millert
15513
15514         * visudo.c: function comment blocks are now in same style as rest
15515           of code
15516
15517 1995-08-31 22:44  millert
15518
15519         * testsudoers.c: added support for command line args in
15520           /etc/sudoers
15521
15522 1995-08-31 22:43  millert
15523
15524         * sudoers.man: updated to have command args in the sudoers file
15525
15526 1995-08-31 22:42  millert
15527
15528         * sudo.man: added -s and -- flags added SHELL to ENVIRONMENT
15529           VARIABLES section
15530
15531 1995-08-19 19:32  millert
15532
15533         * parse.yacc: PATH renamed to COMMAND
15534
15535 1995-08-19 19:31  millert
15536
15537         * parse.lex: it is now a parse error for directories to have args
15538           attached to them
15539
15540 1995-08-19 19:30  millert
15541
15542         * logging.c: now say command args if telling user to buzz off
15543
15544 1995-08-19 19:30  millert
15545
15546         * sudo.c: -s no longer indicates end of args sped up loading on
15547           cmnd_args in load_cmnd()
15548
15549 1995-08-19 19:29  millert
15550
15551         * parse.c: removed an unreachable statement
15552
15553 1995-08-19 17:53  millert
15554
15555         * parse.lex: made more efficient by pulling out the terminators
15556           when in GOTCMND state and making them their own rule
15557
15558 1995-08-14 00:07  millert
15559
15560         * sudo.h: removed MAXLOGLEN since it is no longer used
15561
15562 1995-08-14 00:07  millert
15563
15564         * parse.lex: now allows command args
15565
15566 1995-08-14 00:06  millert
15567
15568         * parse.c: now groks command arguments
15569
15570 1995-08-13 23:39  millert
15571
15572         * logging.c: now sets tty correctly when piped input
15573
15574 1995-08-13 23:35  millert
15575
15576         * sudo.c: fixed loading of cmnd_args (was including command name
15577           too)
15578
15579 1995-08-13 23:34  millert
15580
15581         * logging.c: fixed a core dump due to incorrect if construct
15582
15583 1995-08-13 00:33  millert
15584
15585         * configure.in: only add -lsun is irix < 5 don't look for -lnsl or
15586           -lsocket if irix
15587
15588 1995-08-13 00:33  millert
15589
15590         * aclocal.m4: fixed check for ISC
15591
15592 1995-08-13 00:32  millert
15593
15594         * sudo.c: now sets cmnd_args used by log_error() and that will be
15595           used by the parse to check against command args
15596
15597 1995-08-13 00:32  millert
15598
15599         * sudo.h: added cmnd_args
15600
15601 1995-08-13 00:31  millert
15602
15603         * logging.c: now dynamically allocate logline since we can guess at
15604           its size
15605
15606 1995-08-05 13:52  millert
15607
15608         * logging.c: cleaned up a bunch of unnecesary #ifdef's eliminated a
15609           buffer remove "register" since the compiler knows more than I do
15610           now do a "basename" of the tty
15611
15612 1995-07-31 18:20  millert
15613
15614         * configure.in: ++version
15615
15616 1995-07-30 22:37  millert
15617
15618         * sudo.h: added shell extern changed MODE_* to be bit masks to
15619           allow for several options together
15620
15621 1995-07-30 22:36  millert
15622
15623         * sudo.c: added -s (shell) option made MODE_* masks so we can do
15624           bitwise & and | to see if multiple flags are set.
15625
15626 1995-07-30 22:01  millert
15627
15628         * check.c: added securid support
15629
15630 1995-07-30 14:38  millert
15631
15632         * logging.c: removed a bunch of unnecesary strncpy()'s and replaced
15633           with strcat()
15634
15635 1995-07-29 17:17  millert
15636
15637         * Makefile.in, version.h: ++version
15638
15639 1995-07-27 06:52  millert
15640
15641         * parse.yacc: fixed free() of an uninitialized pointer (yuck)
15642
15643 1995-07-26 22:00  millert
15644
15645         * testsudoers.c: added netgr_matches
15646
15647 1995-07-26 21:29  millert
15648
15649         * parse.c: cleaned up netgr_matches
15650
15651 1995-07-26 00:26  millert
15652
15653         * RUNSON: updated for 1.3.4
15654
15655 1995-07-24 21:51  millert
15656
15657         * Makefile.in: now installs sudoers.man -- really should clean this
15658           up though.
15659
15660 1995-07-24 21:18  millert
15661
15662         * Makefile.in: added sudoers.cat and sudoers.man
15663
15664 1995-07-24 21:15  millert
15665
15666         * sudo.man: pulled out stuff on the sudoers file format into a
15667           separate man page
15668
15669 1995-07-24 21:14  millert
15670
15671         * sudoers.man: Initial revision
15672
15673 1995-07-24 21:04  millert
15674
15675         * HISTORY: fixed up my email address
15676
15677 1995-07-24 20:03  millert
15678
15679         * configure.in: added checks for innetgr and getdomainname
15680
15681 1995-07-24 20:02  millert
15682
15683         * visudo.c: added dummy netgr_matches function
15684
15685 1995-07-24 20:01  millert
15686
15687         * parse.c: added  netgr_matches
15688
15689 1995-07-24 20:01  millert
15690
15691         * parse.lex, parse.yacc: added NETGROUP support
15692
15693 1995-07-24 20:01  millert
15694
15695         * config.h.in: added HAVE_INNETGR & HAVE_GETDOMAINNAME
15696
15697 1995-07-24 18:07  millert
15698
15699         * sudo.c: rewrote clean_env() that has rm_env() builtin
15700
15701 1995-07-23 19:58  millert
15702
15703         * check.c: now cast uid to long in sprintf
15704
15705 1995-07-23 19:58  millert
15706
15707         * OPTIONS: added _INSULTS suffix to HAL & GOONS end
15708
15709 1995-07-23 19:57  millert
15710
15711         * options.h: added _INSULTS suffix to HAL & GOONS
15712
15713 1995-07-23 19:35  millert
15714
15715         * ins_2001.h, ins_classic.h, ins_goons.h, insults.h: converted to
15716           new scheme of insult "unions" end
15717
15718 1995-07-23 17:48  millert
15719
15720         * sudo.c: now uses MAX_UID_T_LEN
15721
15722 1995-07-23 17:48  millert
15723
15724         * configure.in: added SUDO_UID_T_LEN !l
15725
15726 1995-07-23 17:48  millert
15727
15728         * config.h.in: added MAX_UID_T_LEN
15729
15730 1995-07-23 17:47  millert
15731
15732         * check.c: now use MAX_UID_T_LEN
15733
15734 1995-07-23 17:47  millert
15735
15736         * aclocal.m4: added check for max len of uid_t fixed sco vs. isc
15737           check
15738
15739 1995-07-19 19:05  millert
15740
15741         * configure.in: corrected version
15742
15743 1995-07-19 17:29  millert
15744
15745         * configure.in: added sco support
15746
15747 1995-07-19 17:29  millert
15748
15749         * aclocal.m4: hack to check for sco
15750
15751 1995-07-18 21:27  millert
15752
15753         * interfaces.c: removed  #include <net/route.h> since it was hosing
15754           some OS's
15755
15756 1995-07-18 13:35  millert
15757
15758         * find_path.c: fixed prreadlink() prototype
15759
15760 1995-07-17 23:54  millert
15761
15762         * check.c: added parens in #if's
15763
15764 1995-07-17 23:53  millert
15765
15766         * configure.in: added SPW_ prefix
15767
15768 1995-07-17 23:20  millert
15769
15770         * sudo.h: moved SPW_* to config.h.in
15771
15772 1995-07-17 23:19  millert
15773
15774         * sudo.c: added a set of parens
15775
15776 1995-07-17 23:19  millert
15777
15778         * config.h.in: added SPW_*
15779
15780 1995-07-17 22:50  millert
15781
15782         * sudo.h: added SPW_* reordered error codes
15783
15784 1995-07-17 22:49  millert
15785
15786         * check.c: moved SPW_* to sudo.h
15787
15788 1995-07-17 14:29  millert
15789
15790         * logging.c: GLOBAL_NO_AUTH_ENT -> GLOBAL_NO_SPW_ENT
15791
15792 1995-07-17 14:29  millert
15793
15794         * configure.in: AUTH -> SECUREWARE
15795
15796 1995-07-17 14:29  millert
15797
15798         * check.c, sudo.c: SPW_AUTH -> SPW_SECUREWARE
15799
15800 1995-07-17 00:22  millert
15801
15802         * check.c: now uses SHADOW_TYPE to make shadow pw support more
15803           readable and modular.  It's a start...
15804
15805 1995-07-17 00:21  millert
15806
15807         * configure.in: added autodetection of shadow passwords
15808
15809 1995-07-17 00:20  millert
15810
15811         * sudo.c: now uses SHADOW_TYPE define
15812
15813 1995-07-17 00:19  millert
15814
15815         * config.h.in: added SHADOW_TYPE which replaces SUNOS4 & __svr4__
15816           defines
15817
15818 1995-07-17 00:19  millert
15819
15820         * aclocal.m4: added SUDO_CHECK_SHADOW
15821
15822 1995-07-12 17:09  millert
15823
15824         * configure.in: define SVR4 for ISC define BROKEN_SYSLOG for hpux
15825           took out test for memmove() since we dno longer use it...
15826
15827 1995-07-12 17:08  millert
15828
15829         * CHANGES: updated
15830
15831 1995-07-12 17:05  millert
15832
15833         * logging.c: added BROKEN_SYSLOG support
15834
15835 1995-07-12 17:05  millert
15836
15837         * config.h.in: added BROKEN_SYSLOG
15838
15839 1995-07-12 17:04  millert
15840
15841         * check.c: now only bitch it timestamp > time_now + 2 * timeout to
15842           allow for a machine udpating its time from a server
15843
15844 1995-07-12 17:04  millert
15845
15846         * sudo.man: added 2 security notes updated Nieusma's email addr
15847
15848 1995-07-12 14:18  millert
15849
15850         * lsearch.c: changed a memmove() to memcpy() since we don't have to
15851           worry about overlapping segments.
15852
15853 1995-07-11 15:41  millert
15854
15855         * interfaces.c: cleanup up the loop when interfaces are groped in
15856           so that it is readable
15857
15858 1995-07-11 14:52  millert
15859
15860         * Makefile.in, version.h: ++version
15861
15862 1995-07-09 18:17  millert
15863
15864         * CHANGES: annotated 124-126
15865
15866 1995-07-07 16:06  millert
15867
15868         * check.c: fixed permissions check on /tmp/.odus
15869
15870 1995-07-06 19:35  millert
15871
15872         * check.c: fixed some comments
15873
15874 1995-07-06 14:49  millert
15875
15876         * check.c: now checks owner & mode of timedir also checks for bogus
15877           dates on timestamp file
15878
15879 1995-07-06 14:49  millert
15880
15881         * OPTIONS: updated TIMEOUT info
15882
15883 1995-07-06 14:48  millert
15884
15885         * logging.c, sudo.h: added BAD_STAMPDIR and BAD_STAMPFILE
15886
15887 1995-07-06 14:47  millert
15888
15889         * compat.h: added definition of S_IRWXU
15890
15891 1995-07-06 14:47  millert
15892
15893         * CHANGES: updated
15894
15895 1995-07-03 14:16  millert
15896
15897         * interfaces.c: added #ifdef to make it compile on strange arches
15898
15899 1995-07-02 18:13  millert
15900
15901         * aclocal.m4: fixed check for fulkl void impl.
15902
15903 1995-07-02 09:56  millert
15904
15905         * check.c: added mssing "static"
15906
15907 1995-07-01 20:41  millert
15908
15909         * insults.h: replaced #elif with #else #if constructs for ancient C
15910           compilers
15911
15912 1995-07-01 20:18  millert
15913
15914         * INSTALL: updated irix c2 & kerb5 info
15915
15916 1995-07-01 20:15  millert
15917
15918         * configure.in: added shadow pw support for irix
15919
15920 1995-07-01 16:07  millert
15921
15922         * CHANGES: last changes for sudo 1.3.3
15923
15924 1995-07-01 16:07  millert
15925
15926         * TODO, BUGS: updated
15927
15928 1995-07-01 16:04  millert
15929
15930         * configure.in: now calls SUDO_SOCK_SA_LEN
15931
15932 1995-07-01 16:04  millert
15933
15934         * config.h.in: added HAVE_SA_LEN
15935
15936 1995-07-01 16:04  millert
15937
15938         * aclocal.m4: added SUDO_SOCK_SA_LEN
15939
15940 1995-07-01 15:49  millert
15941
15942         * interfaces.c: now works with ip implementations that use sa_len
15943           in sockaddr
15944
15945 1995-07-01 14:26  millert
15946
15947         * INSTALL: added note about buggy AIX compiler
15948
15949 1995-07-01 14:24  millert
15950
15951         * interfaces.c: now include sys/time.h for AIX
15952
15953 1995-06-27 22:35  millert
15954
15955         * Makefile.in: getcwd -> getwd
15956
15957 1995-06-27 21:28  millert
15958
15959         * interfaces.c: now works for ISC and others.  yay.
15960
15961 1995-06-26 14:24  millert
15962
15963         * Makefile.in, version.h: version++
15964
15965 1995-06-22 20:26  millert
15966
15967         * aclocal.m4: fixed test for full void impl
15968
15969 1995-06-22 20:25  millert
15970
15971         * sudo.c: now check to see that st_dev is non-zero before assuming
15972           that we are being spoofed
15973
15974 1995-06-20 16:56  millert
15975
15976         * aclocal.m4, configure.in: SUDO_FUNC_UTIME_NULL ->
15977           AC_FUNC_UTIME_NULL
15978
15979 1995-06-19 16:32  millert
15980
15981         * aclocal.m4: fixed include file order for SUDO_FUNC_UTIME_POSIX
15982
15983 1995-06-19 16:10  millert
15984
15985         * logging.c: added cast for ttyname()
15986
15987 1995-06-19 15:23  millert
15988
15989         * configure.in: fixed typo
15990
15991 1995-06-19 15:19  millert
15992
15993         * check.c: now deal correctly with all known variation of utime()
15994           -- yippe
15995
15996 1995-06-19 15:19  millert
15997
15998         * configure.in: added SUDO_FUNC_UTIME_POSIX
15999
16000 1995-06-19 15:19  millert
16001
16002         * aclocal.m4: added SUDO_FUNC_UTIME_NULL and SUDO_FUNC_UTIME_POSIX
16003
16004 1995-06-19 15:14  millert
16005
16006         * config.h.in: added HAVE_UTIME_POSIX
16007
16008 1995-06-19 13:38  millert
16009
16010         * check.c: fixed a typo
16011
16012 1995-06-19 13:29  millert
16013
16014         * check.c: no longer assume !HAVE_UTIME_NULL means old BSD utime()
16015
16016 1995-06-19 13:20  millert
16017
16018         * check.c: fixed fascist C compiler warning
16019
16020 1995-06-18 23:14  millert
16021
16022         * interfaces.c: now set strioctl.ic_timout in STRSET() now
16023           initialize num_interfaces to 0 (just to be anal)
16024
16025 1995-06-18 18:06  millert
16026
16027         * sudo.h: increaed MAXLOGLEN by MAXPATHLEN to account for ttyname
16028
16029 1995-06-18 18:05  millert
16030
16031         * logging.c: added tty logging
16032
16033 1995-06-18 16:04  millert
16034
16035         * interfaces.c: reworked the ISC code
16036
16037 1995-06-18 15:27  millert
16038
16039         * Makefile.in, version.h: updated version
16040
16041 1995-06-18 15:24  millert
16042
16043         * check.c: now expect old-style utime(3) if utime() can't take NULL
16044           as an arg
16045
16046 1995-06-18 15:08  millert
16047
16048         * configure.in: added check for utime.h
16049
16050 1995-06-18 15:08  millert
16051
16052         * config.h.in: added HAVE_UTIME_H
16053
16054 1995-06-18 14:48  millert
16055
16056         * Makefile.in: added CPPFLAGS STATIC_FLAGS -> LDFLAGS
16057
16058 1995-06-18 13:58  millert
16059
16060         * configure.in: now search for kerb libs and includes
16061
16062 1995-06-18 13:03  millert
16063
16064         * check.c: added support for utime(2)'s that can't take a NULL
16065           parameter
16066
16067 1995-06-18 13:03  millert
16068
16069         * utime.c: moved HAVE_UTIME_NULL stuff to update_timestamp() where
16070           t belongs
16071
16072 1995-06-17 20:46  millert
16073
16074         * configure.in: added utime(s) stuff
16075
16076 1995-06-17 20:46  millert
16077
16078         * check.c: now use utime()
16079
16080 1995-06-17 20:46  millert
16081
16082         * config.h.in: added HAVE_UTIME and HAVE_UTIME_NULL
16083
16084 1995-06-17 19:12  millert
16085
16086         * utime.c: now use HAVE_UTIME_NULL
16087
16088 1995-06-17 19:02  millert
16089
16090         * utime.c, emul/utime.h: Initial revision
16091
16092 1995-06-17 18:24  millert
16093
16094         * check.c: need to setuid(0) to make kerb4 stuff work.
16095
16096 1995-06-17 18:14  millert
16097
16098         * tgetpass.c: no more special case for kerberos
16099
16100 1995-06-17 18:13  millert
16101
16102         * config.h.in: took out setreuid and setresuid stuff added kerb5
16103           stuff (use kerb4 emulation)
16104
16105 1995-06-17 18:13  millert
16106
16107         * compat.h: no longer need setreuid() emulation now set _PASSWD_LEN
16108           to 128 if kerberos
16109
16110 1995-06-17 18:12  millert
16111
16112         * check.c: now use private ticket file for kerberos support to
16113           avoid trouncing on system one
16114
16115 1995-06-15 00:48  millert
16116
16117         * sudo.h: added SPOOF_ATTEMPT & cmnd_st
16118
16119 1995-06-15 00:47  millert
16120
16121         * sudo.c: added anti-spoofing support
16122
16123 1995-06-15 00:47  millert
16124
16125         * parse.c: now use global cmnd_st
16126
16127 1995-06-15 00:47  millert
16128
16129         * logging.c: added SPOOF_ATTEMPT suypport
16130
16131 1995-06-14 23:41  millert
16132
16133         * testsudoers.c, visudo.c: added void casts where appropriate
16134
16135 1995-06-14 23:40  millert
16136
16137         * parse.yacc: fixed up spacing and added void casts where
16138           appropriate
16139
16140 1995-06-14 23:27  millert
16141
16142         * sudo.c: fixed problem with "-p prompt" but no args
16143
16144 1995-06-14 04:43  millert
16145
16146         * sudo.man: added BUGS and annotated -l description
16147
16148 1995-06-14 04:43  millert
16149
16150         * sudo.h: validate() now takes a flag
16151
16152 1995-06-14 04:43  millert
16153
16154         * sudo.c: validate() now takes a flag added -l
16155
16156 1995-06-14 04:42  millert
16157
16158         * parse.yacc: added support for -l
16159
16160 1995-06-14 04:41  millert
16161
16162         * parse.c: validate() now takes a flag that says whether or not to
16163           check the command
16164
16165 1995-06-07 21:36  millert
16166
16167         * logging.c: now deals with Argv == 1
16168
16169 1995-06-07 21:34  millert
16170
16171         * sudo.man: added -p option
16172
16173 1995-06-07 21:27  millert
16174
16175         * sudo.c: added prompt support reworked parse_args()
16176
16177 1995-06-07 20:49  millert
16178
16179         * sudo.h: added prompt
16180
16181 1995-06-07 20:49  millert
16182
16183         * options.h: added PASSPROMPT
16184
16185 1995-06-07 20:48  millert
16186
16187         * check.c: now use BUFSIZ as length of kerb password added kpass so
16188           pass is always a char * now use prompt global when asking for a
16189           password
16190
16191 1995-06-07 20:47  millert
16192
16193         * tgetpass.c: now use BUFSIZ as _PASSWD_LEN if using kerberos
16194
16195 1995-06-07 20:43  millert
16196
16197         * OPTIONS: added PASSPROMPT
16198
16199 1995-06-07 01:44  millert
16200
16201         * configure.in: only look for -lufc or -lcrypt if crypt() not in
16202           libc
16203
16204 1995-06-07 01:43  millert
16205
16206         * check.c: don't exit on kerb error, just warn if k_errno ==
16207           KDC_PR_UNKNOWN (unknown user) silently fail
16208
16209 1995-06-06 22:44  millert
16210
16211         * INSTALL: added kerb4 note
16212
16213 1995-06-06 22:43  millert
16214
16215         * tgetpass.c: HAVE_KERBEROS -> HAVE_KERB4
16216
16217 1995-06-06 22:41  millert
16218
16219         * check.c: removed debugging printf
16220
16221 1995-06-06 22:33  millert
16222
16223         * configure.in: KERBEROS -> KERB4 added checks for setreuid &
16224           setresuid
16225
16226 1995-06-06 22:32  millert
16227
16228         * config.h.in: HAVE_KERBEROS -> HAVE_KERB4 added HAVE_SETREUID and
16229           HAVE_SETRESUID
16230
16231 1995-06-06 22:32  millert
16232
16233         * compat.h: added deif of UID_NO_CHANGE & GID_NO_CHANGE added
16234           setreuid emulation with setresuid if applic
16235
16236 1995-06-06 22:31  millert
16237
16238         * check.c: HAVE_KERBEROS -> HAVE_KERB4 now only do the stupid
16239           chown() hack if no setreuid() or a broken one
16240
16241 1995-06-05 23:44  millert
16242
16243         * config.h.in: added HAVE_KERBEROS
16244
16245 1995-06-05 23:43  millert
16246
16247         * tgetpass.c: added KERBEROS support (long passwords)
16248
16249 1995-06-05 23:42  millert
16250
16251         * check.c, configure.in: added kerberos support
16252
16253 1995-06-03 19:36  millert
16254
16255         * sudo.h: added MODE_BACKGROUND
16256
16257 1995-06-03 19:36  millert
16258
16259         * sudo.man: escaped dashes added -b option
16260
16261 1995-06-03 19:34  millert
16262
16263         * sudo.c: added -b option
16264
16265 1995-06-03 18:52  millert
16266
16267         * check.c: added crypt() for osf/1 3.x enhanced secuiry
16268
16269 1995-06-03 18:18  millert
16270
16271         * configure.in: now check for -lcrypt
16272
16273 1995-06-03 18:00  millert
16274
16275         * interfaces.c: added ENXIO like EADDRNOTAVAIL
16276
16277 1995-05-07 23:14  millert
16278
16279         * configure.in: now emulate getwd(), not getcwd()
16280
16281 1995-05-07 23:13  millert
16282
16283         * sudo.c: getcwd() -> getwd()
16284
16285 1995-05-07 23:12  millert
16286
16287         * getwd.c: getcwd -> getwd
16288
16289 1995-05-02 01:34  millert
16290
16291         * ins_2001.h, ins_classic.h, ins_goons.h: Initial revision
16292
16293 1995-05-02 01:34  millert
16294
16295         * insults.h: broke out insults into separate include files
16296
16297 1995-05-02 01:32  millert
16298
16299         * options.h, OPTIONS: added GOONS
16300
16301 1995-05-02 01:32  millert
16302
16303         * Makefile.in: added ins_2001.h ins_classic.h ins_goons.h
16304
16305 1995-05-01 23:34  millert
16306
16307         * Makefile.in, version.h: ++version
16308
16309 1995-05-01 23:34  millert
16310
16311         * visudo.c: moved signal handler setup to setup_signals()
16312
16313 1995-05-01 23:33  millert
16314
16315         * sudo.h: added load_interfaces()
16316
16317 1995-05-01 23:33  millert
16318
16319         * sudo.c: moved load_interfaces to interfaces.c
16320
16321 1995-05-01 23:33  millert
16322
16323         * parse.yacc: added clearaliases
16324
16325 1995-05-01 23:33  millert
16326
16327         * OPTIONS, options.h: added FAST_MATCH
16328
16329 1995-05-01 23:32  millert
16330
16331         * parse.lex: now uses clearaliases variable
16332
16333 1995-05-01 23:31  millert
16334
16335         * interfaces.c: Initial revision
16336
16337 1995-05-01 23:31  millert
16338
16339         * Makefile.in: added interfaces.[co]
16340
16341 1995-05-01 23:30  millert
16342
16343         * testsudoers.c: now uses ip addrs and netmasks via
16344           load_interfaces()
16345
16346 1995-05-01 22:47  millert
16347
16348         * sudo.c: now remove IFS instead of setting to "sane" value
16349
16350 1995-05-01 16:30  millert
16351
16352         * parse.c: added FAST_MATCH
16353
16354 1995-04-29 20:19  millert
16355
16356         * Makefile.in: sudo_goodpath.c-> goodpath.c
16357
16358 1995-04-29 20:15  millert
16359
16360         * sudo.c: added Andy's new ISC changes
16361
16362 1995-04-14 14:06  millert
16363
16364         * OPTIONS: added a sentence to SECURE_PATH info
16365
16366 1995-04-14 13:57  millert
16367
16368         * BUGS: added one
16369
16370 1995-04-14 13:54  millert
16371
16372         * RUNSON, CHANGES: updated
16373
16374 1995-04-13 17:04  millert
16375
16376         * RUNSON: updated for beta3
16377
16378 1995-04-13 14:32  millert
16379
16380         * Makefile.in, version.h: ++version
16381
16382 1995-04-13 13:56  millert
16383
16384         * aclocal.m4: sendmail is now looked for in \17/usr/ucblib
16385
16386 1995-04-13 13:54  millert
16387
16388         * sudo.c: fixed indentation
16389
16390 1995-04-13 13:35  millert
16391
16392         * aclocal.m4: fixed a typo
16393
16394 1995-04-13 13:19  millert
16395
16396         * sudo.c: updated ISC mods
16397
16398 1995-04-13 13:19  millert
16399
16400         * configure.in: added unixware case
16401
16402 1995-04-13 13:19  millert
16403
16404         * check.c: user_is_exempt is no longer hidden
16405
16406 1995-04-13 13:19  millert
16407
16408         * RUNSON: updated
16409
16410 1995-04-13 13:19  millert
16411
16412         * aclocal.m4: isc and riscos changes
16413
16414 1995-04-13 13:18  millert
16415
16416         * OPTIONS: added NOTE about new interaction of EXEMPTGROUP and
16417           SECURE_PATH
16418
16419 1995-04-13 13:18  millert
16420
16421         * Makefile.in: fixed a typo and added testsudoers stuff
16422
16423 1995-04-13 12:34  millert
16424
16425         * testsudoers.c: Initial revision
16426
16427 1995-04-12 19:31  millert
16428
16429         * parse.yacc: applied fixed patch from Chris
16430
16431 1995-04-11 14:30  millert
16432
16433         * Makefile.in: fixed a typo
16434
16435 1995-04-11 14:14  millert
16436
16437         * parse.yacc: added a set of braces for bison
16438
16439 1995-04-11 14:01  millert
16440
16441         * parse.yacc: merged in Chris' changes to dekludge the parser.
16442
16443 1995-04-11 00:38  millert
16444
16445         * logging.c: send_mail() was calling find_path() which is wrong
16446           since find_path() stores cmnd in a static var.  Anyhow, it
16447           doesn't make much sense since MAILER should always be fully
16448           qualified
16449
16450 1995-04-10 19:51  millert
16451
16452         * sample.sudoers: added User_Alias stuff
16453
16454 1995-04-10 19:50  millert
16455
16456         * aclocal.m4: SUDO_NEXT now looks for
16457           /usr/lib/NextStep/software_version
16458
16459 1995-04-10 19:50  millert
16460
16461         * RUNSON: added DEC UNIX 3.0 w/ gcc
16462
16463 1995-04-10 19:49  millert
16464
16465         * visudo.c: Exit was being used in places where exit should be used
16466
16467 1995-04-10 19:44  millert
16468
16469         * sudoers: added "User alias specification"
16470
16471 1995-04-10 18:04  millert
16472
16473         * parse.yacc: fixed probs caused by making nslots and naliases a
16474           size_t
16475
16476 1995-04-10 15:09  millert
16477
16478         * RUNSON: added KSR, upped rev to 1.3.1b2
16479
16480 1995-04-10 15:07  millert
16481
16482         * logging.c, parse.yacc: 1024 -> BUFSIZ
16483
16484 1995-04-10 15:05  millert
16485
16486         * parse.yacc: void * -> VOID * naliases and nslots are now size_t
16487           to appease lsearch on 64-bit machines
16488
16489 1995-04-09 19:30  millert
16490
16491         * TODO: did a bunch of things and added a bunch :-)
16492
16493 1995-04-09 19:30  millert
16494
16495         * PORTING: updated
16496
16497 1995-04-09 19:24  millert
16498
16499         * visudo.man: closer to BSD manpage style
16500
16501 1995-04-09 19:15  millert
16502
16503         * sudo.man: closer to standard BSD man format
16504
16505 1995-04-09 18:58  millert
16506
16507         * compat.h, config.h.in, insults.h, options.h, pathnames.h.in,
16508           sudo.h, version.h, emul/search.h: added RCS id
16509
16510 1995-04-09 17:35  millert
16511
16512         * sudo.h: removed crufty #defines that are no longer used
16513
16514 1995-04-09 17:13  millert
16515
16516         * BUGS: fixed a bug
16517
16518 1995-04-09 17:12  millert
16519
16520         * sudo.man: updated based on sudo changes
16521
16522 1995-04-09 17:11  millert
16523
16524         * parse.yacc: now allow ALL keyword in User_Aliases now allow ALL
16525           keyword as well as a NAME or ALIAS
16526
16527 1995-04-09 17:11  millert
16528
16529         * CHANGES: updated
16530
16531 1995-04-09 17:04  millert
16532
16533         * sudo.c: now sets SUDO_COMMAND and SUDO_GID envariables.
16534
16535 1995-04-09 15:24  millert
16536
16537         * aclocal.m4: fixed bug with full void impl check
16538
16539 1995-04-08 23:11  millert
16540
16541         * parse.yacc: fixed User_Alias supoprt
16542
16543 1995-04-08 22:27  millert
16544
16545         * parse.yacc: added stubs for User_Alias support
16546
16547 1995-04-08 22:27  millert
16548
16549         * sudo.c: now sets removes # bogus interfaces from num_interfaces
16550
16551 1995-04-08 22:26  millert
16552
16553         * parse.lex: added User_Alias support
16554
16555 1995-04-07 21:10  millert
16556
16557         * Makefile.in: removed extraneous TODO
16558
16559 1995-04-07 19:48  millert
16560
16561         * visudo.c: ntwk_matches -> addr_matches
16562
16563 1995-04-07 15:38  millert
16564
16565         * parse.yacc: ntwk_matches -> addr_matches
16566
16567 1995-04-07 15:37  millert
16568
16569         * parse.c: ntwk_matches -> addr_matches now use inet_addr() not
16570           inet_network() (which expects octet boundaries) fixes for OSF
16571           (sizeof(int) != sizeof(long))
16572
16573 1995-04-07 15:08  millert
16574
16575         * sudo.c: took out debugging info
16576
16577 1995-04-06 23:45  millert
16578
16579         * aclocal.m4: OS was being set to unknown before non-uname based
16580           host checks.  This caused no checks to happen since $OS was not
16581           zero-length.
16582
16583 1995-04-06 23:30  millert
16584
16585         * sudo.c: fixed loading of interfaces struct still has debugging
16586           info in though
16587
16588 1995-04-06 22:23  millert
16589
16590         * parse.c: fixed typo
16591
16592 1995-04-06 16:17  millert
16593
16594         * Makefile.in: ++version
16595
16596 1995-04-06 16:16  millert
16597
16598         * version.h: ++
16599
16600 1995-04-06 16:16  millert
16601
16602         * visudo.c: removed extraneous extern decl of "top
16603
16604 1995-04-06 16:14  millert
16605
16606         * visudo.c: now zeros "top"
16607
16608 1995-04-06 16:13  millert
16609
16610         * parse.yacc: removed parser_cleanup (no need for it now)
16611
16612 1995-04-06 16:13  millert
16613
16614         * parse.lex: now calls reset_aliases() directly
16615
16616 1995-04-04 18:21  millert
16617
16618         * OPTIONS: added a sentence to SECURE_PATH description
16619
16620 1995-04-04 18:17  millert
16621
16622         * parse.c: fixed my stupid bug where I used NAMLEN on something I
16623           wanted to just get the name from.  argh.
16624
16625 1995-04-03 16:58  millert
16626
16627         * lsearch.c: fixed argument order of memmove() that i hosed when
16628           converting from bcopy().  arghh.
16629
16630 1995-04-03 15:33  millert
16631
16632         * Makefile.in: finally fixed DISTFILES line
16633
16634 1995-04-03 15:21  millert
16635
16636         * Makefile.in: tabs -> spaces
16637
16638 1995-04-03 15:15  millert
16639
16640         * Makefile.in: added missing files to DISTFILES
16641
16642 1995-04-03 14:50  millert
16643
16644         * Makefile.in: SUPPORTED -> RUNSON
16645
16646 1995-04-01 03:12  millert
16647
16648         * TODO: updated
16649
16650 1995-04-01 01:54  millert
16651
16652         * RUNSON: updated for pl5b1 release
16653
16654 1995-04-01 01:53  millert
16655
16656         * BUGS, TODO: updated
16657
16658 1995-04-01 01:52  millert
16659
16660         * check.c: fixed bug where if you hit return at first sudo prompt
16661           it would still log as a failure
16662
16663 1995-04-01 01:29  millert
16664
16665         * CHANGES: updated
16666
16667 1995-04-01 01:25  millert
16668
16669         * aclocal.m4: better test for bogus void * implementation
16670
16671 1995-03-31 20:33  millert
16672
16673         * logging.c: added PASSWORDS_NOT_CORRECT
16674
16675 1995-03-31 20:32  millert
16676
16677         * check.c: added PASSWORDS_NOT_CORRECT stuff]
16678
16679 1995-03-31 20:30  millert
16680
16681         * sudo.h: added PASSWORDS_NOT_CORRECT
16682
16683 1995-03-31 19:16  millert
16684
16685         * tgetpass.c: moved pathnames.h
16686
16687 1995-03-31 19:16  millert
16688
16689         * sudo.c: removed some unused vars and fixed up uid2str
16690
16691 1995-03-31 19:15  millert
16692
16693         * putenv.c: moved compat.h
16694
16695 1995-03-31 19:14  millert
16696
16697         * getcwd.c, getwd.c: added pathnames.h
16698
16699 1995-03-31 18:18  millert
16700
16701         * parse.yacc: fixed a typo I introduced in the last checkin :-(
16702
16703 1995-03-31 18:11  millert
16704
16705         * parse.lex: can't have #ifdef's where N is defined so just do this
16706           the broken way for AIX
16707
16708 1995-03-31 18:08  millert
16709
16710         * parse.yacc: better hack from Chris (but still a hack)
16711
16712 1995-03-31 18:05  millert
16713
16714         * parse.lex: stupid hack for broken aix lex
16715
16716 1995-03-31 17:47  millert
16717
16718         * tgetpass.c: now includes compat.h \ 6
16719
16720 1995-03-31 17:27  millert
16721
16722         * visudo.c: now includes fcntl.h
16723
16724 1995-03-31 17:27  millert
16725
16726         * compat.h: added FD_SET and FD_ZERO for 4.2BSD
16727
16728 1995-03-31 16:12  millert
16729
16730         * parse.yacc: dirty hack to fix parser bug.  i don't really like
16731           this but it works for now...
16732
16733 1995-03-31 16:12  millert
16734
16735         * sudo.c: uid2str is now static like the prototype says
16736
16737 1995-03-29 23:48  millert
16738
16739         * RUNSON: Initial revision
16740
16741 1995-03-29 23:47  millert
16742
16743         * TODO, CHANGES, SUPPORTED, TROUBLESHOOTING: updated
16744
16745 1995-03-29 23:46  millert
16746
16747         * sudo.c: check_sudoers now returns an error code and sudo calls
16748           inform_user and log_error based on the return value.
16749
16750 1995-03-29 23:45  millert
16751
16752         * logging.c, sudo.h: added entries for new errors
16753
16754 1995-03-29 23:03  millert
16755
16756         * parse.c: now set uid to that of SUDOERS_OWNER while parsing
16757           sudoers file
16758
16759 1995-03-29 22:52  millert
16760
16761         * Makefile.in: took out testsudoers \ 6
16762
16763 1995-03-29 22:36  millert
16764
16765         * sudo.c: now explicately checks that it is setuid root
16766
16767 1995-03-29 22:28  millert
16768
16769         * sudo.c: If a user has no passwd entry sudo would segv (writing to
16770           a garbage pointer).  Now allocate space before writing :-)
16771
16772 1995-03-29 22:06  millert
16773
16774         * configure.in: reordered AC_CHECK_FUNCS
16775
16776 1995-03-29 22:06  millert
16777
16778         * config.h.in: fixed memset macro
16779
16780 1995-03-29 21:47  millert
16781
16782         * logging.c: bzero -> memset when a parse error is logged the line
16783           number of the error is now logged too
16784
16785 1995-03-29 21:46  millert
16786
16787         * tgetpass.c, visudo.c: bzero -> memset
16788
16789 1995-03-29 21:46  millert
16790
16791         * INSTALL: added Sunos to blurb about c2 security
16792
16793 1995-03-29 21:45  millert
16794
16795         * configure.in: added a SUN4 define for C2 security
16796
16797 1995-03-29 21:44  millert
16798
16799         * config.h.in: bcopy -> memmove bzero -> memset
16800
16801 1995-03-29 21:43  millert
16802
16803         * lsearch.c: bcopy -> memmove char * -> VOID *
16804
16805 1995-03-29 21:30  millert
16806
16807         * check.c: added support for sunos with C2 security
16808
16809 1995-03-29 21:12  millert
16810
16811         * OPTIONS, options.h: reordered
16812
16813 1995-03-29 21:12  millert
16814
16815         * pathnames.h.in: _PATH_SUDO_LOGFILE now set based on configure
16816
16817 1995-03-29 21:12  millert
16818
16819         * configure.in: added SUDO_LOGFILE and SUDO_TYPE_SIZE_T
16820
16821 1995-03-29 21:12  millert
16822
16823         * config.h.in: added _SUDO_PATH_LOGFILE
16824
16825 1995-03-29 21:11  millert
16826
16827         * aclocal.m4: added SUDO_LOGFILE to find where to put sudo.log
16828           added SUDO_CHECK_TYPE (just AC_CHECK_TYPE but checks unistd.h
16829           too) added SUDO_TYPE_SIZE_T (calls SUDO_CHECK_TYPE)
16830
16831 1995-03-29 18:17  millert
16832
16833         * TROUBLESHOOTING: Initial revision
16834
16835 1995-03-29 17:59  millert
16836
16837         * sudo.c: now do set_perms(PERM_ROOT) before the getpwuid() in
16838           load_global() to work around a problem is trusted hpux shadow
16839           passwords. yuck.
16840
16841 1995-03-29 17:41  millert
16842
16843         * parse.yacc: backed out a change in malloc/realloc
16844
16845 1995-03-29 17:38  millert
16846
16847         * parse.yacc: now include stdlib.h
16848
16849 1995-03-29 17:22  millert
16850
16851         * visudo.c: now do an freopen() of the stmp file so that yyin will
16852           always point to the same thing.  This is important for flex since
16853           we are doing a YY_NEWFILE
16854
16855 1995-03-29 17:20  millert
16856
16857         * parse.yacc: replaced yywrap() with parser_cleanup() since
16858           yywrap() needs to be in parse.lex to be able to use YY_NEW_FILE.
16859           sigh.
16860
16861 1995-03-29 17:18  millert
16862
16863         * parse.lex: now have a rule that matches anything that doesn't
16864           match an explicite rule.  well, you know what i mean (. matches
16865           anything not yet matched).  However, this means that there is
16866           input still queued up so we need to do a YY_NEW_FILE; in yywrap.
16867           So, yywrap has moved into parse.lex and it calls parser_cleanup()
16868           which is most of the old yywrap() sigh.
16869
16870 1995-03-29 17:17  millert
16871
16872         * SUPPORTED: no longer used
16873
16874 1995-03-29 16:13  millert
16875
16876         * getcwd.c, getwd.c: moved compat.h to be the last include file
16877
16878 1995-03-29 16:11  millert
16879
16880         * parse.yacc: fixed type of aliascmp() args
16881
16882 1995-03-29 15:58  millert
16883
16884         * find_path.c: NULL -> '\0'
16885
16886 1995-03-29 15:42  millert
16887
16888         * parse.yacc: added casts to lfind and lsearch args for irix
16889
16890 1995-03-29 08:20  millert
16891
16892         * Makefile.in: bsdinstall -> install-sh
16893
16894 1995-03-29 08:20  millert
16895
16896         * INSTALL: added info about make realclean
16897
16898 1995-03-29 08:17  millert
16899
16900         * Makefile.in: updated VERSION added dependencies for visudo.cat
16901
16902 1995-03-29 08:17  millert
16903
16904         * version.h: -> pl5b1
16905
16906 1995-03-29 08:16  millert
16907
16908         * sudo.c: took out -l
16909
16910 1995-03-29 00:03  millert
16911
16912         * Makefile.in: now there is a real visudo.man and visudo.cat
16913
16914 1995-03-28 23:54  millert
16915
16916         * sudo.man: took out visudo stuff
16917
16918 1995-03-28 23:54  millert
16919
16920         * visudo.man: Initial revision
16921
16922 1995-03-28 23:12  millert
16923
16924         * parse.c, parse.lex, parse.yacc: updated copyright
16925
16926 1995-03-28 23:05  millert
16927
16928         * README: updated for pl5
16929
16930 1995-03-28 20:02  millert
16931
16932         * sudo.man: updated Nieusma & Hieb email addresses
16933
16934 1995-03-28 19:57  millert
16935
16936         * INSTALL: updated to include options.h and OPTIONS
16937
16938 1995-03-28 19:35  millert
16939
16940         * CHANGES, TODO: updated
16941
16942 1995-03-28 19:35  millert
16943
16944         * BUGS: eliminated bug #1 (yay)
16945
16946 1995-03-28 19:31  millert
16947
16948         * configure.in: sunos no longer gets linked statically
16949
16950 1995-03-28 18:58  millert
16951
16952         * parse.lex: prototype now uses __P()
16953
16954 1995-03-28 18:49  millert
16955
16956         * parse.lex: make fill() non-ansi
16957
16958 1995-03-28 15:26  millert
16959
16960         * parse.c: made -v (validate) work
16961
16962 1995-03-28 15:26  millert
16963
16964         * logging.c: now gives host
16965
16966 1995-03-28 10:34  millert
16967
16968         * find_path.c: don't check for execute/statable if fq or relative
16969           path given
16970
16971 1995-03-28 01:07  millert
16972
16973         * parse.c: added a cast
16974
16975 1995-03-28 00:49  millert
16976
16977         * visudo.c: now include ctype.h for islower and tolower macros
16978
16979 1995-03-28 00:48  millert
16980
16981         * goodpath.c: moved _S_IFMT & _S_ISREG to compat.h
16982
16983 1995-03-28 00:48  millert
16984
16985         * sudo.c: moved a set of parens
16986
16987 1995-03-28 00:48  millert
16988
16989         * strdup.c: now include compat.h
16990
16991 1995-03-28 00:47  millert
16992
16993         * parse.yacc: now cast malloc & realloc return vals added search
16994           for HAVE_LSEARCH now use strcmp if no strcasecmp available
16995
16996 1995-03-28 00:46  millert
16997
16998         * lsearch.c, emul/search.h: void * -> VOID *
16999
17000 1995-03-28 00:45  millert
17001
17002         * config.h.in: removed HAVE_FLEX added VOID added HAVE_DIRENT_H,
17003           HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H added HAVE_LSEARCH
17004
17005 1995-03-28 00:44  millert
17006
17007         * compat.h: added _S_IFMT, _S_IFREG, and S_ISREG
17008
17009 1995-03-28 00:44  millert
17010
17011         * aclocal.m4: took out SUDO_PROG_INSTALL 1.x to 2.x changes added
17012           echo and results to most SUDO_* macros
17013
17014 1995-03-28 00:43  millert
17015
17016         * Makefile.in: no more -I.
17017
17018 1995-03-28 00:22  millert
17019
17020         * configure.in: various 1.x ro 2.x autoconf changes now check for
17021           strcasecmp now use AC_INSTALL_PROG instead of custom one added
17022           check for fully woorking void implementation
17023
17024 1995-03-28 00:02  millert
17025
17026         * Makefile.in: added lsearch & search.h visudo links into
17027           $(LIBOBJS)
17028
17029 1995-03-27 23:43  millert
17030
17031         * aclocal.m4: partial 1.x to 2.x changes added SUDO_FULL_VOID
17032
17033 1995-03-27 23:40  millert
17034
17035         * visudo.c: whatnow_help  was prototyped to be static be was not
17036           declared as such
17037
17038 1995-03-27 21:15  millert
17039
17040         * configure.in: autoconf 2.x changes took out HAVE_FLEX (no longer
17041           used) added check for dirent/dir/ndir.h
17042
17043 1995-03-27 21:09  millert
17044
17045         * parse.c: now use groovy gnu autoconf macro AC_HEADER_DIRENT
17046
17047 1995-03-27 20:38  millert
17048
17049         * getcwd.c, getwd.c: MAXPATHLEN -> MAXPATHLEN+1
17050
17051 1995-03-27 20:23  millert
17052
17053         * emul/search.h, lsearch.c: Initial revision
17054
17055 1995-03-27 18:26  millert
17056
17057         * parse.yacc: eliminated bison warnings
17058
17059 1995-03-27 17:10  millert
17060
17061         * parse.lex: added missing case
17062
17063 1995-03-27 17:04  millert
17064
17065         * visudo.c: now iincludes signal.h
17066
17067 1995-03-27 15:16  millert
17068
17069         * parse.yacc: only clear data structures on a parse error
17070
17071 1995-03-27 15:01  millert
17072
17073         * visudo.c: whatnow() now gives help on invalid input
17074
17075 1995-03-27 14:54  millert
17076
17077         * visudo.c: added a whatnow() function (sort of like mh)
17078
17079 1995-03-27 14:53  millert
17080
17081         * parse.yacc: kill_aliases -> reset_aliases yywrap() now cleans up
17082           by calling reset_aliases() and clearing top took reset stuff out
17083           of yyerror() since it doesn't beling there (and doesn't work
17084           anyway).  errorlineno is now initially set to -1 so we can set it
17085           to the first error that occurrs (it was getting set to the last)
17086
17087 1995-03-27 14:53  millert
17088
17089         * parse.lex: added a void cast
17090
17091 1995-03-27 13:26  millert
17092
17093         * visudo.c: rewrote from scratch based on 4.3BSD vipw.c
17094
17095 1995-03-26 01:33  millert
17096
17097         * sudo.c, sudo.h: removed ocmnd
17098
17099 1995-03-26 01:19  millert
17100
17101         * sudo.h: no more sudo_realpath() and find_path() changed params
17102
17103 1995-03-26 01:19  millert
17104
17105         * sudo.c: find_path() changed since no more realpath()
17106
17107 1995-03-26 01:18  millert
17108
17109         * parse.yacc: on error, errorlineno is set to the line where the
17110           error occurred added kill_aliases() to free the aliases struct
17111           now clean up in yyerror() so we can reparse cleanly
17112
17113 1995-03-26 01:17  millert
17114
17115         * logging.c: changed to use new find_path()
17116
17117 1995-03-26 01:17  millert
17118
17119         * options.h, parse.c: no more USE_REALPATH
17120
17121 1995-03-26 01:16  millert
17122
17123         * find_path.c: removed all the realpath() stuff
17124
17125 1995-03-26 01:16  millert
17126
17127         * Makefile.in: sudo_realpath.c -> sudo_goodpath.c
17128
17129 1995-03-26 01:12  millert
17130
17131         * visudo.c: now works correctly with utk parser
17132
17133 1995-03-26 00:04  millert
17134
17135         * goodpath.c: Initial revision
17136
17137 1995-03-25 23:23  millert
17138
17139         * sudo_realpath.c: eliminated a compiler warning
17140
17141 1995-03-25 21:56  millert
17142
17143         * sudo.c: elinated compiler warning
17144
17145 1995-03-25 20:40  millert
17146
17147         * sudo_realpath.c: added sudo_goodpath()
17148
17149 1995-03-25 20:40  millert
17150
17151         * sudo.h: added prototype for sudo_goodpath
17152
17153 1995-03-25 20:39  millert
17154
17155         * parse.c: added support for /sys/dir.h
17156
17157 1995-03-25 20:39  millert
17158
17159         * options.h: USE_REALPATH turned off
17160
17161 1995-03-25 20:39  millert
17162
17163         * find_path.c: added calls to sudo_goodpath()
17164
17165 1995-03-25 20:39  millert
17166
17167         * configure.in: added check for dirent.h
17168
17169 1995-03-25 20:38  millert
17170
17171         * config.h.in: added HAVE_DIRENT_H
17172
17173 1995-03-25 19:27  millert
17174
17175         * configure.in: added in linux shadow pass stuff \ 6
17176
17177 1995-03-24 14:43  millert
17178
17179         * visudo.c: added back host, user, cmnd, parse_error
17180
17181 1995-03-24 14:19  millert
17182
17183         * visudo.c: added in utk changes plus some minor cosmetic changes
17184
17185 1995-03-24 14:17  millert
17186
17187         * sudo.c, sudo_realpath.c: added void casts for printf's
17188
17189 1995-03-24 14:17  millert
17190
17191         * options.h: added a define of USE_REALPATH
17192
17193 1995-03-24 14:17  millert
17194
17195         * configure.in: there is no more visudoers/Makefile
17196
17197 1995-03-24 14:16  millert
17198
17199         * Makefile.in: added in utk changes (visudo is now built from the
17200           toplevel)
17201
17202 1995-03-24 14:15  millert
17203
17204         * find_path.c: added (void) casts to printf's
17205
17206 1995-03-23 22:32  millert
17207
17208         * parse.c, parse.lex, parse.yacc, sudo.h, sudo_realpath.c: merged
17209           in utk changes
17210
17211 1995-03-22 23:13  millert
17212
17213         * find_path.c: now check to see that what we are trying to run is a
17214           file (or a link to a file, we do a stat(2) so there is no diff)
17215
17216 1995-03-13 15:56  millert
17217
17218         * CHANGES: updated
17219
17220 1995-03-13 15:56  millert
17221
17222         * Makefile.in: aclocal.m4 -> acsite.m4 make realclean updated for
17223           new autoconf \ 6
17224
17225 1995-03-13 15:11  millert
17226
17227         * sudo.man: added myself as maintainer
17228
17229 1995-02-16 23:31  millert
17230
17231         * sudo.c: changed setegid -> setgid
17232
17233 1995-02-06 17:43  millert
17234
17235         * configure.in: fixed the test for irix 5.x to skip bad libs
17236
17237 1995-02-06 17:43  millert
17238
17239         * aclocal.m4: now initialize OS and OSREV
17240
17241 1995-01-26 20:52  millert
17242
17243         * configure.in: irix5 changes
17244
17245 1995-01-26 20:28  millert
17246
17247         * configure.in: AC_WITH -> AC_ARG_WITH changes other misc changes
17248           for autoconf 2.1 compatibility
17249
17250 1995-01-18 19:49  millert
17251
17252         * visudo.c: use YY_NEW_FILE, not yyrestart since OSF flex doesn't
17253           do the righ thing wrt yyrestart (grrrr)
17254
17255 1995-01-16 18:44  millert
17256
17257         * Makefile.in: added visudoers/compat.h to DISTFILES
17258
17259 1995-01-16 17:01  millert
17260
17261         * configure.in: fixed an echo
17262
17263 1995-01-16 16:36  millert
17264
17265         * sudo.c: added ocmnd declaration adjusted for find_path()'s new
17266           parameters
17267
17268 1995-01-16 16:35  millert
17269
17270         * sudo.h: added ocmnd extern adjusted find_path() prototype
17271
17272 1995-01-16 16:34  millert
17273
17274         * parse.c: cmndcmp() now takes 3 arguments and checks against the
17275           qualified as well as the unqualified pathname.  more code that
17276           should use cmndcmp() but did not, now does
17277
17278 1995-01-16 16:34  millert
17279
17280         * options.h: added to a comment
17281
17282 1995-01-16 16:33  millert
17283
17284         * logging.c: changed to use new find_path() parameter passing
17285
17286 1995-01-16 16:32  millert
17287
17288         * find_path.c: find_path() now takes 2 copyout parameters (one for
17289           the qualified pathname and one for the unqualified pathname).
17290           The third parameter may be NULL.
17291
17292 1995-01-16 16:31  millert
17293
17294         * configure.in: no longer munge pathnames.h
17295
17296 1995-01-16 16:30  millert
17297
17298         * pathnames.h.in: changed _PATH_* to use _SUDO_PATH_* (which are
17299           defined in config.h) as a result, pathnames.h does not need to be
17300           run through configure and the user can override the configured
17301           values easily.
17302
17303 1995-01-16 16:30  millert
17304
17305         * config.h.in: added _SUDO_PATH_* entries
17306
17307 1995-01-16 16:30  millert
17308
17309         * aclocal.m4: _PATH* -> _SUDO_PATH_*
17310
17311 1995-01-16 16:28  millert
17312
17313         * Makefile.in: updated DISTFILES and HDRS .o's now depend on
17314           config.h
17315
17316 1995-01-13 12:52  millert
17317
17318         * compat.h: removed extraneous #endif
17319
17320 1995-01-13 12:48  millert
17321
17322         * aclocal.m4: added SUDO_PROG_MV
17323
17324 1995-01-13 12:47  millert
17325
17326         * configure.in: added SUDO_PROG_MV added riscos and isc os types
17327           took out -DSHORT_MESSAGE from --with-csops since it is now the
17328           default
17329
17330 1995-01-13 12:46  millert
17331
17332         * sudo.c: move the include of id.h to compat.h now includes
17333           options.h
17334
17335 1995-01-13 12:45  millert
17336
17337         * sudo.h: moved compatibility #defines to compat.h
17338
17339 1995-01-13 12:45  millert
17340
17341         * pathnames.h.in: added _PATH_MV
17342
17343 1995-01-13 12:43  millert
17344
17345         * config.h.in: move __P to compat.h
17346
17347 1995-01-13 12:39  millert
17348
17349         * getcwd.c, getwd.c, putenv.c: now includes compat.h
17350
17351 1995-01-13 12:39  millert
17352
17353         * compat.h: Initial revision
17354
17355 1995-01-11 19:11  millert
17356
17357         * sudo.h: pull user-configurable stuff out and put in options.h
17358
17359 1995-01-11 18:43  millert
17360
17361         * check.c, find_path.c, logging.c, parse.c, sudo_realpath.c,
17362           sudo_setenv.c, parse.lex, parse.yacc, visudo.c: now includes
17363           options.h
17364
17365 1995-01-11 18:41  millert
17366
17367         * Makefile.in: added visudoers/options.h
17368
17369 1995-01-11 18:40  millert
17370
17371         * options.h, OPTIONS: Initial revision
17372
17373 1995-01-11 18:39  millert
17374
17375         * Makefile.in: added OPTIONS and options.h
17376
17377 1995-01-11 18:36  millert
17378
17379         * logging.c: changed #ifdef's to use LOGGING and
17380           SLOG_SYSLOG/SLOG_FILE
17381
17382 1995-01-11 11:02  millert
17383
17384         * check.c, sudo.h: changed PASSWORD_TIMEOUT to minutes
17385
17386 1994-12-17 18:18  millert
17387
17388         * visudo.c: now only do Editor +line_num if line_num  != 0
17389
17390 1994-12-15 21:06  millert
17391
17392         * visudo.c: now use mv if rename(2) fails
17393
17394 1994-12-15 20:32  millert
17395
17396         * BUGS: added a visudo bug
17397
17398 1994-12-15 19:46  millert
17399
17400         * check.c: expanded comment
17401
17402 1994-11-12 18:33  millert
17403
17404         * check.c: fixed user_is_exempt to return 0 if EXEMPTGROUP is not
17405           set
17406
17407 1994-11-09 19:49  millert
17408
17409         * sudo.c: added mips & isc support
17410
17411 1994-11-09 19:49  millert
17412
17413         * parse.c: added support for non-root owned sudoers file
17414
17415 1994-11-09 19:48  millert
17416
17417         * check.c: added exempt group support
17418
17419 1994-11-09 19:47  millert
17420
17421         * sudo.h: added set_perms() support added SUDOERS_OWNER so can have
17422           non-root own sudoers file added exempt group support added isc
17423           support
17424
17425 1994-11-09 19:46  millert
17426
17427         * visudo.c: now copy sudoers to temp file via read/write (not
17428           stdio) now chown new sudoers file to SUDOERS_OWNER
17429
17430 1994-11-07 20:40  millert
17431
17432         * configure.in: added skey support
17433
17434 1994-11-07 20:39  millert
17435
17436         * sudo.h: fixed typo added set_perms support added skey support
17437           added seteuid()/setegid() emulation for AIX
17438
17439 1994-11-07 20:38  millert
17440
17441         * sudo.c: be_* -> setperms() now check to make sure sudoers file is
17442           owned by root nread/write by only root
17443
17444 1994-11-07 20:38  millert
17445
17446         * logging.c, parse.c, sudo_realpath.c: be_* -> setperms()
17447
17448 1994-11-07 20:38  millert
17449
17450         * check.c: be_* -> set_perms() added skey support
17451
17452 1994-11-06 18:59  millert
17453
17454         * Makefile.in: ++version
17455
17456 1994-11-06 18:59  millert
17457
17458         * version.h: ++
17459
17460 1994-10-21 13:16  millert
17461
17462         * sudo.c: now sets IFS
17463
17464 1994-10-21 12:02  millert
17465
17466         * insults.h: fixed typo
17467
17468 1994-10-15 15:48  millert
17469
17470         * config.h.in: added HAVE_SKEY
17471
17472 1994-10-04 13:00  millert
17473
17474         * CHANGES: updated
17475
17476 1994-10-04 12:57  millert
17477
17478         * Makefile.in: ++version
17479
17480 1994-10-04 12:57  millert
17481
17482         * version.h: ++
17483
17484 1994-10-04 12:56  millert
17485
17486         * sudo.c: now bail if ARgv[1] > MAXPATHLEN
17487
17488 1994-10-04 12:56  millert
17489
17490         * configure.in: added function check for tcgetattr(3)
17491
17492 1994-10-04 12:55  millert
17493
17494         * config.h.in: only define HAVE_TERMIOS_H if you have tcgetattr(3)
17495
17496 1994-10-04 12:53  millert
17497
17498         * config.h.in: added check for tcgetattr
17499
17500 1994-09-26 17:38  millert
17501
17502         * CHANGES: updated
17503
17504 1994-09-22 13:30  millert
17505
17506         * parse.lex: now only include unistd.h for linux
17507
17508 1994-09-21 14:29  millert
17509
17510         * Makefile.in: added visudo.8 generation
17511
17512 1994-09-21 14:07  millert
17513
17514         * configure.in: added -Wl,-bI:./aixcrypt.exp to aix flags
17515
17516 1994-09-20 19:39  millert
17517
17518         * BUGS: added one
17519
17520 1994-09-20 19:39  millert
17521
17522         * CHANGES: updated
17523
17524 1994-09-20 19:38  millert
17525
17526         * README: added mailing list info
17527
17528 1994-09-20 19:37  millert
17529
17530         * parse.yacc: now use sudolineno instead of yylineno fixed bison
17531           warnings
17532
17533 1994-09-20 19:37  millert
17534
17535         * configure.in: now use -no_library_replacement for osf don't make
17536           a static binary for hpux >= 9.0
17537
17538 1994-09-20 19:21  millert
17539
17540         * tgetpass.c: added string.h/strings.h inclusion
17541
17542 1994-09-20 19:21  millert
17543
17544         * config.h.in: added ssize_t def
17545
17546 1994-09-20 19:18  millert
17547
17548         * parse.lex: added inclusion of string.h/strings.h
17549
17550 1994-09-20 18:48  millert
17551
17552         * aclocal.m4: fixed uname | sed (needed to quote the '[')
17553
17554 1994-09-20 18:42  millert
17555
17556         * parse.lex: replaced yylineno with sudolineno fixed bison syntax
17557           errors
17558
17559 1994-09-20 18:13  millert
17560
17561         * visudo.c: changed yylineno to sudolineno since yylineno cannot be
17562           counted upon.
17563
17564 1994-09-20 18:10  millert
17565
17566         * TODO: updated
17567
17568 1994-09-20 17:52  millert
17569
17570         * parse.c: added code to support command listings
17571
17572 1994-09-20 17:36  millert
17573
17574         * sudo.c: added code for -l flag
17575
17576 1994-09-20 17:35  millert
17577
17578         * sudo.man: fixed typo added info for -l flag
17579
17580 1994-09-20 14:45  millert
17581
17582         * configure.in: AC_SSIZE_T -> SUDO_SSIZE_T
17583
17584 1994-09-20 14:45  millert
17585
17586         * aclocal.m4: added SUDO_SSIZE_T
17587
17588 1994-09-20 14:44  millert
17589
17590         * sudo.h: added MODE_LIST
17591
17592 1994-09-20 14:43  millert
17593
17594         * configure.in: added AC_SSIZE_T
17595
17596 1994-09-19 20:53  millert
17597
17598         * find_path.c, sudo_realpath.c: readlink() is now declared as
17599           returning ssize~_t
17600
17601 1994-09-19 20:44  millert
17602
17603         * configure.in: added -laud for OSF c2
17604
17605 1994-09-02 15:55  millert
17606
17607         * config.h.in, parse.lex, parse.yacc, pathnames.h.in, visudo.c,
17608           Makefile.in: changed sudo-bugs.cs.colorado.edu ->
17609           sudo-bugs@cs.colorado.edu
17610
17611 1994-09-02 15:54  millert
17612
17613         * check.c, find_path.c, getcwd.c, getwd.c, insults.h, logging.c,
17614           parse.c, putenv.c, strdup.c, sudo.c, sudo.h, sudo_realpath.c,
17615           sudo_setenv.c, tgetpass.c, version.h: changed
17616           sudo-bugs.cs.colorado.edu -> sudo-bugs@cs.colorado.ed
17617
17618 1994-09-01 15:56  millert
17619
17620         * Makefile.in: ++version
17621
17622 1994-09-01 15:55  millert
17623
17624         * version.h: ++
17625
17626 1994-09-01 15:55  millert
17627
17628         * logging.c: added host to alertmail messages
17629
17630 1994-09-01 15:55  millert
17631
17632         * CHANGES, TODO: udpated
17633
17634 1994-09-01 15:26  millert
17635
17636         * logging.c: fixed logging problem where mail would not say which
17637           user it was
17638
17639 1994-09-01 13:45  millert
17640
17641         * configure.in: added -laud for gcc if osf & c2
17642
17643 1994-09-01 13:39  millert
17644
17645         * check.c: moved set_auth_parameters to sudo.c
17646
17647 1994-09-01 13:38  millert
17648
17649         * sudo.c: added set_auth_parameters for osf
17650
17651 1994-09-01 13:22  millert
17652
17653         * configure.in: cleaned up -static stuff
17654
17655 1994-09-01 13:15  millert
17656
17657         * Makefile.in: ++version
17658
17659 1994-09-01 13:15  millert
17660
17661         * version.h: ++
17662
17663 1994-09-01 13:15  millert
17664
17665         * sudo.c: changed setenv() to sudo_setenv()
17666
17667 1994-09-01 13:12  millert
17668
17669         * check.c: fixed osf problem
17670
17671 1994-08-31 22:17  millert
17672
17673         * configure.in: added OSF C2 stuff
17674
17675 1994-08-31 22:00  millert
17676
17677         * CHANGES: updated
17678
17679 1994-08-31 21:56  millert
17680
17681         * check.c: added osf auth support & removed some extra spaces
17682
17683 1994-08-31 21:52  millert
17684
17685         * INSTALL, SUPPORTED: added osf C2 stuff
17686
17687 1994-08-31 19:52  millert
17688
17689         * TODO: added 2 suggestions
17690
17691 1994-08-31 19:33  millert
17692
17693         * Makefile.in: removed README.v1.3.1 and added VERSION stuff
17694
17695 1994-08-31 18:48  millert
17696
17697         * version.h: pl1
17698
17699 1994-08-30 18:31  millert
17700
17701         * version.h: 1.3.1final
17702
17703 1994-08-30 18:30  millert
17704
17705         * Makefile.in: added HISTORY
17706
17707 1994-08-30 18:30  millert
17708
17709         * sudo.man: mention HISTPRY file
17710
17711 1994-08-30 18:30  millert
17712
17713         * sudo.c: use sizeof instead of a constant in 1 place
17714
17715 1994-08-30 18:30  millert
17716
17717         * parse.yacc: added  unistd.h
17718
17719 1994-08-30 18:29  millert
17720
17721         * parse.lex: added unistd.h
17722
17723 1994-08-30 18:27  millert
17724
17725         * README: udpated
17726
17727 1994-08-30 18:15  millert
17728
17729         * HISTORY: Initial revision
17730
17731 1994-08-17 12:45  millert
17732
17733         * version.h: ++
17734
17735 1994-08-17 12:39  millert
17736
17737         * CHANGES: updated
17738
17739 1994-08-17 12:36  millert
17740
17741         * sudo_setenv.c: added unistd.h include
17742
17743 1994-08-16 15:46  millert
17744
17745         * sudo.c: added sys/time.h for AIX
17746
17747 1994-08-14 21:22  millert
17748
17749         * configure.in: added check for -lsocket and sys/sockio.h
17750
17751 1994-08-14 21:21  millert
17752
17753         * config.h.in: took out libshadow check and added in sys/sockio.h
17754           check
17755
17756 1994-08-14 21:21  millert
17757
17758         * sudo.c: now include sockio.h instead of ioctl.h if it exists
17759           "sudo -" now gets a better error message
17760
17761 1994-08-14 20:47  millert
17762
17763         * sample.sudoers: now has a dir and subnet entry
17764
17765 1994-08-13 18:15  millert
17766
17767         * sudo.c: removed if_ether.h
17768
17769 1994-08-13 17:16  millert
17770
17771         * TODO: added an item
17772
17773 1994-08-13 17:15  millert
17774
17775         * sudo.man: added network and ip addresses to man page
17776
17777 1994-08-13 17:09  millert
17778
17779         * sudo.c: no error if can't get interfaces or netmask since
17780           networking may not be in the kernel.
17781
17782 1994-08-13 17:08  millert
17783
17784         * parse.c: nwo check for interfaces == NULL
17785
17786 1994-08-12 21:22  millert
17787
17788         * parse.c: fixed a bug that caused directory specs in a Cmnd_Alias
17789           to fail if the last entry in the spec failed (ie: it was only
17790           looking at the last entry).  CLeaned things up by adding the
17791           cmndcmp() function--all neat & tidy
17792
17793 1994-08-12 21:21  millert
17794
17795         * CHANGES: added one
17796
17797 1994-08-11 23:42  millert
17798
17799         * sudo.c: now do two passes to skip bogus interfaces (lo0, etc)
17800
17801 1994-08-11 21:58  millert
17802
17803         * logging.c, sudo_realpath.c, sudo_setenv.c: added ninclude of
17804           netinet/in.h
17805
17806 1994-08-11 21:58  millert
17807
17808         * check.c, find_path.c, getcwd.c, getwd.c, parse.lex, parse.yacc,
17809           visudo.c: added include of netinet/in.h
17810
17811 1994-08-11 21:57  millert
17812
17813         * version.h: ++
17814
17815 1994-08-11 21:57  millert
17816
17817         * sudo.h: added interfaces global
17818
17819 1994-08-11 21:56  millert
17820
17821         * parse.c: now uses new interfaces global
17822
17823 1994-08-11 21:56  millert
17824
17825         * sudo.c: now ip addresses are gleaned fw/o dns
17826
17827 1994-08-10 19:21  millert
17828
17829         * sudo.c: added load_ip_addrs() to load the ip_addrs global var
17830
17831 1994-08-10 19:21  millert
17832
17833         * parse.c: added hostcmp() to compare hostnames, ip addrs, and
17834           network addrs
17835
17836 1994-08-10 19:20  millert
17837
17838         * sudo.h: added ip_addrs def added load_ip_addrs prototype
17839
17840 1994-08-08 16:03  millert
17841
17842         * CHANGES: updated
17843
17844 1994-08-08 15:57  millert
17845
17846         * Makefile.in: removed multiple entries in DISTFILES
17847
17848 1994-08-08 13:05  millert
17849
17850         * visudo.c: ansified the !STDC_HEADERS decls
17851
17852 1994-08-08 13:05  millert
17853
17854         * find_path.c, getcwd.c, getwd.c, putenv.c, strdup.c: don't do
17855           malloc decl if gnuc
17856
17857 1994-08-08 13:04  millert
17858
17859         * sudo.c: can't use getopt(3) since it munges args to the command
17860           to be run as root don't do malloc decl if gnuc
17861
17862 1994-08-08 00:41  millert
17863
17864         * find_path.c, getcwd.c, getwd.c, putenv.c, strdup.c, sudo.c,
17865           sudo_realpath.c, sudo_setenv.c: ansi-fied !STDC_HEADER function
17866           prottypes
17867
17868 1994-08-08 00:27  millert
17869
17870         * getcwd.c, getwd.c: added missing paren
17871
17872 1994-08-08 00:23  millert
17873
17874         * Makefile.in: added putenv.c to DISTFILES
17875
17876 1994-08-08 00:08  millert
17877
17878         * sudo_setenv.c: added params to func decls when STDC_HEADERS is
17879           not defined now can count on putenv() being there
17880
17881 1994-08-08 00:08  millert
17882
17883         * sudo_realpath.c: took out errno decl since sudo.h does it for us
17884           fixed up a next cc warning added params to func decls when
17885           STDC_HEADERS is not defined
17886
17887 1994-08-08 00:07  millert
17888
17889         * sudo.h: took out environ extern added local declaratio of
17890           putenv() if local version is needed
17891
17892 1994-08-08 00:05  millert
17893
17894         * find_path.c, getcwd.c, getwd.c, strdup.c, sudo.c: added params to
17895           func decls when STDC_HEADERS is not defined
17896
17897 1994-08-08 00:04  millert
17898
17899         * config.h.in: added memcpy check check to see that ansi vs bsd
17900           macros are ntot already defiend before defining (ie: avoid
17901           redefinition)
17902
17903 1994-08-08 00:03  millert
17904
17905         * configure.in: removed fluff setenv check plus check w/ replace
17906           for putenv if also no setenv
17907
17908 1994-08-08 00:01  millert
17909
17910         * putenv.c: Initial revision
17911
17912 1994-08-06 19:19  millert
17913
17914         * sudo_setenv.c: Initial revision
17915
17916 1994-08-06 19:19  millert
17917
17918         * sudo.h: rm'd s realp[ath added sudo_realpath and sudo_setenv
17919
17920 1994-08-06 19:19  millert
17921
17922         * sudo.c: now use sudo_setenvc
17923
17924 1994-08-06 19:18  millert
17925
17926         * configure.in: added puteenv and setenv, removed realpath
17927
17928 1994-08-06 19:18  millert
17929
17930         * config.h.in: added putenv & setenv
17931
17932 1994-08-06 19:18  millert
17933
17934         * Makefile.in: added sudo_setenv
17935
17936 1994-08-06 19:16  millert
17937
17938         * version.h: ++
17939
17940 1994-08-05 19:43  millert
17941
17942         * configure.in: added MAN_POSTINSTALL and /usr/share/catman for
17943           irix
17944
17945 1994-08-05 19:43  millert
17946
17947         * Makefile.in: added MAN_POSTINSTALL
17948
17949 1994-08-05 19:43  millert
17950
17951         * CHANGES: added
17952
17953 1994-08-05 19:10  millert
17954
17955         * sudo.man: added SUDO_* plus new options
17956
17957 1994-08-05 19:10  millert
17958
17959         * CHANGES: added one
17960
17961 1994-08-05 19:07  millert
17962
17963         * configure.in: took out shadow lib
17964
17965 1994-08-05 18:35  millert
17966
17967         * TODO: adde done
17968
17969 1994-08-05 17:52  millert
17970
17971         * visudo.c: now use yyrestart() if flex now reset yylineno to 0
17972
17973 1994-08-05 17:49  millert
17974
17975         * Makefile.in: support for installing a cat page instead of a man
17976           page if no nroff
17977
17978 1994-08-05 17:48  millert
17979
17980         * configure.in: now defines HAVE_FLEX fixed up man stuff so that it
17981           looks for nroff to determine whether or not to install a cat or
17982           man page
17983
17984 1994-08-05 17:48  millert
17985
17986         * config.h.in: added HAVE_FLEX
17987
17988 1994-08-05 16:14  millert
17989
17990         * sudo.c: not set ret to MODE_RUN initially
17991
17992 1994-08-05 16:12  millert
17993
17994         * find_path.c: made command (and therefor cmnd dynamically
17995           allocated)
17996
17997 1994-08-04 20:25  millert
17998
17999         * TODO: did #8
18000
18001 1994-08-04 20:24  millert
18002
18003         * version.h: ++
18004
18005 1994-08-04 20:24  millert
18006
18007         * sudo_realpath.c: changed bufs from MAXPATHLEN to MAXPATHLEN+1
18008
18009 1994-08-04 20:24  millert
18010
18011         * sudo.h: added MODE_ removed validate_only and added
18012           remove_timestamp()
18013
18014 1994-08-04 20:22  millert
18015
18016         * sudo.c: usage() now takes an int (exit value) added parse_args()
18017           to parse command line arguments moved call to find_path() from
18018           load_globals to new function load_cmnd() removed validate_only
18019           global -- now use the concept of "modes" added -h and -k options
18020
18021 1994-08-04 20:21  millert
18022
18023         * parse.c: no longer use global validate_only now checks for
18024           command called "validate" removed check for non-fully qualified
18025           commands since that is done by find_path
18026
18027 1994-08-04 20:20  millert
18028
18029         * find_path.c: changed MAXPATHLEN r to MAXPATHLEN+1
18030
18031 1994-08-04 20:17  millert
18032
18033         * find_path.c: fixed off by one error with MAXPATHLEN and fixed a
18034           comment
18035
18036 1994-08-04 20:17  millert
18037
18038         * check.c: check_timestamp no longer runs reminder(), it is implied
18039           in the return val added remove_timestamp()
18040
18041 1994-08-04 20:16  millert
18042
18043         * CHANGES: updated
18044
18045 1994-08-04 16:38  millert
18046
18047         * BUGS: fixed on
18048
18049 1994-08-04 16:38  millert
18050
18051         * sudo_realpath.c: took out old_errno
18052
18053 1994-08-04 16:37  millert
18054
18055         * CHANGES: updated
18056
18057 1994-08-03 12:08  millert
18058
18059         * logging.c: moved send_mail to after syslog
18060
18061 1994-08-02 22:41  millert
18062
18063         * sudo.c: now set SUDO_ envariables
18064
18065 1994-08-01 13:40  millert
18066
18067         * version.h: ++
18068
18069 1994-08-01 13:39  millert
18070
18071         * sudo_realpath.c: now print error if chdir fails
18072
18073 1994-08-01 13:39  millert
18074
18075         * find_path.c: removed an XXX
18076
18077 1994-07-25 20:40  millert
18078
18079         * CHANGES: updated
18080
18081 1994-07-25 20:36  millert
18082
18083         * configure.in: no more static binaries for aix
18084
18085 1994-07-25 18:37  millert
18086
18087         * INSTALL: fixed typo
18088
18089 1994-07-25 18:33  millert
18090
18091         * sudo_realpath.c: took out stuff not needed for sudo now does
18092           be_root/be_user itself now uses cwd global
18093
18094 1994-07-25 18:32  millert
18095
18096         * version.h: +=2
18097
18098 1994-07-25 18:31  millert
18099
18100         * logging.c, sudo.c: be_root/be_user is now down in sudo_realpath()
18101
18102 1994-07-25 18:26  millert
18103
18104         * logging.c, sudo.h: now works with 4.2BSD syslog (blech)
18105
18106 1994-07-25 18:25  millert
18107
18108         * find_path.c: now use sudo_realpath()
18109
18110 1994-07-25 18:25  millert
18111
18112         * config.h.in: took out realpth() stuff since we now use
18113           sudo_realpath()
18114
18115 1994-07-25 18:25  millert
18116
18117         * configure.in: ultrix enhanced sec
18118
18119 1994-07-25 18:25  millert
18120
18121         * SUPPORTED: added ultrix enhanced sec.
18122
18123 1994-07-25 18:24  millert
18124
18125         * INSTALL: updated
18126
18127 1994-07-25 18:21  millert
18128
18129         * check.c: ultrix enhanced security suport
18130
18131 1994-07-25 18:20  millert
18132
18133         * Makefile.in: added sudo_realpath.c
18134
18135 1994-07-25 18:18  millert
18136
18137         * CHANGES: updated
18138
18139 1994-07-25 14:28  millert
18140
18141         * tgetpass.c: increased passwd len to 24 for c2 security
18142
18143 1994-07-25 13:17  millert
18144
18145         * BUGS: updated BUGS
18146
18147 1994-07-15 11:49  millert
18148
18149         * check.c: now use user global var
18150
18151 1994-07-15 11:48  millert
18152
18153         * configure.in: took out -ls
18154
18155 1994-07-14 19:11  millert
18156
18157         * configure.in: added AFS libs
18158
18159 1994-07-14 17:45  millert
18160
18161         * sudo.h: user is now a char * added epasswd
18162
18163 1994-07-14 17:43  millert
18164
18165         * sudo.c: added tzset() to load_globals added epasswd (encrypted
18166           password) global made user dynamically allocated
18167
18168 1994-07-14 17:43  millert
18169
18170         * configure.in: added tzset test
18171
18172 1994-07-14 17:43  millert
18173
18174         * config.h.in: added HAVE_TZSET
18175
18176 1994-07-14 17:42  millert
18177
18178         * check.c: cleaned up encrypted passwd grab somewhat
18179
18180 1994-07-14 12:34  millert
18181
18182         * configure.in: fixed AFS typo
18183
18184 1994-07-14 12:34  millert
18185
18186         * INSTALL: added AFS not
18187
18188 1994-07-14 12:34  millert
18189
18190         * CHANGES: udpated
18191
18192 1994-07-14 12:33  millert
18193
18194         * logging.c: can now log to both syslog & a file
18195
18196 1994-07-14 12:12  millert
18197
18198         * sudo.h: added BOTH_LOGS
18199
18200 1994-07-14 11:34  millert
18201
18202         * CHANGES: updated
18203
18204 1994-07-14 11:32  millert
18205
18206         * configure.in: --with-AFS
18207
18208 1994-07-14 11:32  millert
18209
18210         * config.h.in: added HAVE_AFS
18211
18212 1994-07-14 11:31  millert
18213
18214         * check.c: added afs changes
18215
18216 1994-07-14 11:21  millert
18217
18218         * sudo.h: removed AFS stuff :-)
18219
18220 1994-07-14 11:19  millert
18221
18222         * tgetpass.c: include sys/select for AIX
18223
18224 1994-07-14 11:17  millert
18225
18226         * sudo.h: added AFS
18227
18228 1994-07-14 11:16  millert
18229
18230         * version.h: ++
18231
18232 1994-07-07 14:45  millert
18233
18234         * SUPPORTED, CHANGES: updated
18235
18236 1994-07-07 14:44  millert
18237
18238         * logging.c: can now have MAILER undefined
18239
18240 1994-07-07 14:37  millert
18241
18242         * INSTALL: new sub-note about MAILER
18243
18244 1994-07-06 23:11  millert
18245
18246         * sudo.man: added blurb about password timeout
18247
18248 1994-07-06 20:52  millert
18249
18250         * configure.in: convex c2 changes
18251
18252 1994-07-06 20:52  millert
18253
18254         * aclocal.m4: took out duplicate define of _CONVEX_SOURCE
18255
18256 1994-07-06 20:51  millert
18257
18258         * Makefile.in: added OSDEFS
18259
18260 1994-07-06 20:46  millert
18261
18262         * config.h.in: added spaces
18263
18264 1994-07-06 20:08  millert
18265
18266         * tgetpass.c: added a goto if fgets fails
18267
18268 1994-07-06 20:08  millert
18269
18270         * sudo.h: use __hpux not hpux convex c2 stuff
18271
18272 1994-07-06 20:08  millert
18273
18274         * sudo.c: use __hpux not hpux
18275
18276 1994-07-06 20:08  millert
18277
18278         * logging.c: convex c2 stuff
18279
18280 1994-07-06 20:07  millert
18281
18282         * config.h.in: define ansi-ish cpp os defines if non-ansi are
18283           defined for hpux & convex
18284
18285 1994-07-06 20:07  millert
18286
18287         * INSTALL: updated to say we support sonvex C2
18288
18289 1994-07-06 20:05  millert
18290
18291         * check.c: added convex c2 support
18292
18293 1994-07-01 12:06  millert
18294
18295         * tgetpass.c: no more ioctl never returns NULL uses fgets() and
18296           select() to timeout
18297
18298 1994-06-29 17:04  millert
18299
18300         * configure.in: things were testing -n "$GCC" instead of -z "$GCC"
18301
18302 1994-06-29 16:39  millert
18303
18304         * tgetpass.c: now works + uses fgets()
18305
18306 1994-06-28 18:25  millert
18307
18308         * tgetpass.c: select doesn't seem to recognize a single '\n' as
18309           input waiting so we can;t use it, sigh.
18310
18311 1994-06-26 16:38  millert
18312
18313         * PORTING: updated tgetpass() blurb
18314
18315 1994-06-26 16:35  millert
18316
18317         * configure.in: added --with-getpass
18318
18319 1994-06-26 16:35  millert
18320
18321         * Makefile.in: added tgetpass stuff
18322
18323 1994-06-26 15:25  millert
18324
18325         * tgetpass.c: now uses stdio
18326
18327 1994-06-26 15:17  millert
18328
18329         * version.h: ++
18330
18331 1994-06-24 19:48  millert
18332
18333         * PORTING: updated ,.
18334
18335 1994-06-24 19:46  millert
18336
18337         * config.h.in: added USE_GETPASS && HAVE_C2_SECURITY
18338
18339 1994-06-24 19:45  millert
18340
18341         * configure.in: fixed a test aded --with-C2 and --with-tgetpass
18342
18343 1994-06-24 19:45  millert
18344
18345         * check.c: added hpux C2 shit
18346
18347 1994-06-24 19:45  millert
18348
18349         * Makefile.in: took out tgetpass.*
18350
18351 1994-06-24 19:45  millert
18352
18353         * INSTALL: added C2 blurb
18354
18355 1994-06-13 15:54  millert
18356
18357         * configure.in: no termio(s) for ultrix since it is broken
18358
18359 1994-06-13 15:41  millert
18360
18361         * check.c: added a space (yeah, anal)
18362
18363 1994-06-13 15:17  millert
18364
18365         * realpath.c, sudo_realpath.c: fixed it (duh, rtfm)
18366
18367 1994-06-08 14:34  millert
18368
18369         * config.h.in: took out bsd signal stuff for irix
18370
18371 1994-06-08 14:26  millert
18372
18373         * visudo.c: comments in #endif
18374
18375 1994-06-08 14:09  millert
18376
18377         * configure.in: don't define BSD signals for irix
18378
18379 1994-06-08 12:57  millert
18380
18381         * TODO: did some...
18382
18383 1994-06-08 12:57  millert
18384
18385         * CHANGES: updated
18386
18387 1994-06-08 12:56  millert
18388
18389         * realpath.c, sudo_realpath.c: took out unneeded code by changing
18390           where a strings was terminated
18391
18392 1994-06-07 19:21  millert
18393
18394         * realpath.c, sudo_realpath.c: fix bug where /dirname would return
18395           NULL
18396
18397 1994-06-07 17:40  millert
18398
18399         * sudo.h: move __P to config.h
18400
18401 1994-06-07 17:40  millert
18402
18403         * getcwd.c, getwd.c, realpath.c, sudo_realpath.c: added errno
18404           definition
18405
18406 1994-06-07 17:40  millert
18407
18408         * config.h.in: added __P
18409
18410 1994-06-07 17:21  millert
18411
18412         * config.h.in: added HAVE_FCHDIR
18413
18414 1994-06-07 17:18  millert
18415
18416         * strdup.c: now include stdio
18417
18418 1994-06-07 14:55  millert
18419
18420         * realpath.c, sudo_realpath.c: now works if no fchdir
18421
18422 1994-06-07 14:55  millert
18423
18424         * visudo.c: define SA_RESETHAND to null if not defined
18425
18426 1994-06-07 14:54  millert
18427
18428         * configure.in: added check & replace
18429
18430 1994-06-06 20:05  millert
18431
18432         * configure.in: took out -static for nextstep -- it doesn't work
18433
18434 1994-06-06 19:59  millert
18435
18436         * logging.c: moved #endif to where it belongs
18437
18438 1994-06-06 19:54  millert
18439
18440         * SUPPORTED: correction
18441
18442 1994-06-06 19:42  millert
18443
18444         * configure.in: now checks for strdup realpath getcwd bzero
18445
18446 1994-06-06 19:31  millert
18447
18448         * config.h.in: emulate bzero
18449
18450 1994-06-06 16:57  millert
18451
18452         * visudo.c: added posic signals
18453
18454 1994-06-06 16:57  millert
18455
18456         * tgetpass.c: bzero cast
18457
18458 1994-06-06 16:57  millert
18459
18460         * logging.c: added posix signals
18461
18462 1994-06-06 16:56  millert
18463
18464         * configure.in: removed BROKEN_GETPASS added  new srcs toreplace
18465           missing functions
18466
18467 1994-06-06 16:56  millert
18468
18469         * config.h.in: added posix signal stuff
18470
18471 1994-06-06 16:56  millert
18472
18473         * Makefile.in: added new srcs
18474
18475 1994-06-06 12:53  millert
18476
18477         * visudo.c: updated useag
18478
18479 1994-06-06 12:39  millert
18480
18481         * tgetpass.c: now uses posix signals
18482
18483 1994-06-05 20:17  millert
18484
18485         * PORTING: updated sto reflect major changes
18486
18487 1994-06-05 20:05  millert
18488
18489         * TODO, CHANGES: updated
18490
18491 1994-06-05 20:04  millert
18492
18493         * tgetpass.c: uses sysconf() if available
18494
18495 1994-06-05 20:04  millert
18496
18497         * sudo.h: added PASSWORD_TIMEOUT + prototypes for new functions
18498
18499 1994-06-05 20:04  millert
18500
18501         * realpath.c, sudo_realpath.c: for those w/o this in libc
18502
18503 1994-06-05 20:03  millert
18504
18505         * getcwd.c, getwd.c: Initial revision
18506
18507 1994-06-05 20:03  millert
18508
18509         * find_path.c: rewrote to use realpath(3) - nis now all my code
18510
18511 1994-06-05 20:02  millert
18512
18513         * config.h.in: added HAVE_REALPATH
18514
18515 1994-06-05 20:02  millert
18516
18517         * check.c: now use tgetpass
18518
18519 1994-06-05 20:02  millert
18520
18521         * Makefile.in: added LIBOBJS use tgetpass.c
18522
18523 1994-06-05 18:55  millert
18524
18525         * tgetpass.c: works now :-)
18526
18527 1994-06-05 18:27  millert
18528
18529         * tgetpass.c: Initial revision
18530
18531 1994-06-05 17:17  millert
18532
18533         * pathnames.h.in: added /dev/tty
18534
18535 1994-06-04 17:12  millert
18536
18537         * version.h: incremented
18538
18539 1994-06-04 15:29  millert
18540
18541         * sudo.c: always use getcwd
18542
18543 1994-06-04 14:49  millert
18544
18545         * config.h.in: added check for getwd
18546
18547 1994-06-04 14:48  millert
18548
18549         * configure.in: replace strdup & realpath & getcwd if missing
18550
18551 1994-06-04 14:47  millert
18552
18553         * pathnames.h.in: added _PATH_PWD
18554
18555 1994-06-04 14:46  millert
18556
18557         * aclocal.m4: added SUDO_PROG_PWD
18558
18559 1994-06-04 14:37  millert
18560
18561         * realpath.c, sudo_realpath.c, strdup.c: Initial revision
18562
18563 1994-06-03 11:31  millert
18564
18565         * configure.in: quoted quare brackets
18566
18567 1994-06-02 17:49  millert
18568
18569         * sudo.c: no need to strdup() a constant
18570
18571 1994-06-02 15:45  millert
18572
18573         * CHANGES: updated
18574
18575 1994-06-02 15:44  millert
18576
18577         * sudo.man: added validate
18578
18579 1994-06-02 15:42  millert
18580
18581         * sudo.c: added -v to usage
18582
18583 1994-06-02 15:41  millert
18584
18585         * parse.c, sudo.c, sudo.h: added validate_only stuff
18586
18587 1994-05-29 21:29  millert
18588
18589         * configure.in: now finds sed
18590
18591 1994-05-29 21:28  millert
18592
18593         * aclocal.m4: $OSREV is now an int
18594
18595 1994-05-29 19:13  millert
18596
18597         * configure.in: added mtxinu to caser
18598
18599 1994-05-29 18:37  millert
18600
18601         * sudo.h: added EXEC macro
18602
18603 1994-05-29 18:36  millert
18604
18605         * sudo.c: now use the EXEC nmacro now only do a gethostbyname() if
18606           FQDN is set
18607
18608 1994-05-29 18:36  millert
18609
18610         * logging.c: changed mail_argv[] def now use EXEC() macro
18611
18612 1994-05-29 18:35  millert
18613
18614         * check.c: took out crypt() definition
18615
18616 1994-05-29 17:23  millert
18617
18618         * version.h: upped the version
18619
18620 1994-05-29 15:52  millert
18621
18622         * configure.in: always look for -lnsl
18623
18624 1994-05-29 15:29  millert
18625
18626         * aclocal.m4: added an echo
18627
18628 1994-05-29 15:25  millert
18629
18630         * sudo.h: SHORT_MESSAGE is now the default
18631
18632 1994-05-29 15:18  millert
18633
18634         * config.h.in: fixed typo
18635
18636 1994-05-29 01:29  millert
18637
18638         * configure.in: added missing AC_DEFINE(SVR4) for solaris
18639
18640 1994-05-28 20:42  millert
18641
18642         * sudo.man: documented the -v flag
18643
18644 1994-05-28 20:34  millert
18645
18646         * SUPPORTED: updated
18647
18648 1994-05-28 20:31  millert
18649
18650         * check.c: proto-ized crypt()
18651
18652 1994-05-28 20:28  millert
18653
18654         * config.h.in: added LIBSHADOW undef
18655
18656 1994-05-28 20:18  millert
18657
18658         * configure.in: nwo set OS to be lowercase
18659
18660 1994-05-28 19:36  millert
18661
18662         * configure.in: now use SUDO_OSTYPE to set $OS
18663
18664 1994-05-28 19:36  millert
18665
18666         * aclocal.m4: now use uname to determine os
18667
18668 1994-05-28 16:23  millert
18669
18670         * visudo.c: added prototypes & moved sig handler around
18671
18672 1994-05-28 15:13  millert
18673
18674         * sudo.h: added prototyppes
18675
18676 1994-05-28 15:13  millert
18677
18678         * parse.c: added comment
18679
18680 1994-05-28 15:12  millert
18681
18682         * config.h.in: nwo use _BSD_SIGNALS not _BSD_COMPAT
18683
18684 1994-05-28 15:11  millert
18685
18686         * check.c, logging.c, sudo.c: added prototypes
18687
18688 1994-05-28 15:11  millert
18689
18690         * aixcrypt.exp: Initial revision
18691
18692 1994-05-28 15:11  millert
18693
18694         * Makefile.in: added aixcrypt.exp
18695
18696 1994-05-28 13:21  millert
18697
18698         * parse.lex, parse.yacc: moved config.h to top of includes
18699
18700 1994-05-25 15:48  millert
18701
18702         * find_path.c: now don't bitch if get EACCESS (treat like EPERM)
18703
18704 1994-05-24 23:08  millert
18705
18706         * visudo.c: added -v flag and usage()
18707
18708 1994-05-24 23:08  millert
18709
18710         * version.h: fixed a typo
18711
18712 1994-05-24 23:08  millert
18713
18714         * sudo.c: cast Argv to a const for exec added -v flag
18715
18716 1994-05-24 23:07  millert
18717
18718         * logging.c: mail_argv is now a const
18719
18720 1994-05-24 23:07  millert
18721
18722         * configure.in: only set RETSIGTYPE if it is not set already
18723
18724 1994-05-24 23:07  millert
18725
18726         * aclocal.m4: now defines  & STDC_HEADERS for Irix
18727
18728 1994-05-24 23:07  millert
18729
18730         * Makefile.in: added version.h
18731
18732 1994-05-24 21:25  millert
18733
18734         * insults.h, sudo.h: prevent multiple inclusion
18735
18736 1994-05-24 21:20  millert
18737
18738         * version.h: Initial revision
18739
18740 1994-05-24 21:09  millert
18741
18742         * parse.lex, parse.yacc: now includes config.h
18743
18744 1994-05-24 20:54  millert
18745
18746         * aclocal.m4: now talks about sunos 4.x
18747
18748 1994-05-24 20:23  millert
18749
18750         * visudo.c: calls to Exit now pass an arg
18751
18752 1994-05-24 18:00  millert
18753
18754         * visudo.c: signal handler now takes an int argument
18755
18756 1994-05-24 18:00  millert
18757
18758         * CHANGES: updated
18759
18760 1994-05-24 17:44  millert
18761
18762         * sudo.c: ok, the getcwd() is now *really* done as the user
18763
18764 1994-05-24 17:44  millert
18765
18766         * configure.in: changed AIX STATIC_FLAGS
18767
18768 1994-05-24 16:27  millert
18769
18770         * aclocal.m4: solaris now defines SVR4
18771
18772 1994-05-24 16:18  millert
18773
18774         * sudo.h: added cwd and fixed stupid core dump that makes no sense.
18775           sigh.
18776
18777 1994-05-24 16:18  millert
18778
18779         * sudo.c: moved getcwd stuff into load_globals
18780
18781 1994-05-24 16:18  millert
18782
18783         * parse.c: took out externs that are in suod.h
18784
18785 1994-05-24 16:18  millert
18786
18787         * logging.c: moved cwd into load_globals
18788
18789 1994-05-24 16:17  millert
18790
18791         * find_path.c: moved cwd stuff
18792
18793 1994-05-24 15:55  millert
18794
18795         * Makefile.in: fixed make distclean & realclean
18796
18797 1994-05-24 12:51  millert
18798
18799         * TODO: updated .,
18800
18801 1994-05-24 12:51  millert
18802
18803         * CHANGES: added solaris changes
18804
18805 1994-05-24 12:51  millert
18806
18807         * aclocal.m4: added solaris changes, need to rework
18808
18809 1994-05-24 12:50  millert
18810
18811         * configure.in: cleaned up for solaris
18812
18813 1994-05-24 12:13  millert
18814
18815         * logging.c: reinstall reapchild signal handler for non-bsd signals
18816
18817 1994-05-24 12:03  millert
18818
18819         * sudo.h: took out getdtablesize() emulation for HP-UX (no longer
18820           needed)
18821
18822 1994-05-24 12:03  millert
18823
18824         * sudo.c: support for HAVE_SYSCONF
18825
18826 1994-05-24 12:02  millert
18827
18828         * visudo.c: added <fcntl.h> for solaris & reorg'd the includes +
18829           minor prettying up /
18830
18831 1994-05-23 20:26  millert
18832
18833         * config.h.in: added HAVE_SYSCONF
18834
18835 1994-05-16 18:57  millert
18836
18837         * configure.in: now tells you what os you are running /.
18838
18839 1994-05-16 18:56  millert
18840
18841         * aclocal.m4: took out extra ','
18842
18843 1994-05-14 17:56  millert
18844
18845         * config.h.in: added _BSD_COMPAT
18846
18847 1994-05-14 17:56  millert
18848
18849         * aclocal.m4: fixed for irix5
18850
18851 1994-05-14 17:55  millert
18852
18853         * CHANGES: updated
18854
18855 1994-05-14 17:27  millert
18856
18857         * sudo.c: uid seinitialized to -2
18858
18859 1994-04-28 12:36  millert
18860
18861         * sudo.c: now removes LIBPATH for AIX
18862
18863 1994-03-12 20:41  millert
18864
18865         * configure.in: now uses ufc if it finds it
18866
18867 1994-03-12 17:42  millert
18868
18869         * sudo.h: no longer define yyval & yylval since yacc does it
18870
18871 1994-03-12 17:42  millert
18872
18873         * parse.lex: now defines yylval as extenr
18874
18875 1994-03-12 17:41  millert
18876
18877         * configure.in: BROKEN_GETPASS is now an OPTION
18878
18879 1994-03-12 17:41  millert
18880
18881         * config.h.in: took out BROKEN_GETPASS
18882
18883 1994-03-12 17:20  millert
18884
18885         * Makefile.in: took out big comment
18886
18887 1994-03-12 16:24  millert
18888
18889         * README: updated
18890
18891 1994-03-12 16:20  millert
18892
18893         * Makefile.in: took out README.beta
18894
18895 1994-03-12 16:19  millert
18896
18897         * SUPPORTED: Initial revision
18898
18899 1994-03-12 16:19  millert
18900
18901         * INSTALL: now reference SUPPORTED .,
18902
18903 1994-03-12 16:17  millert
18904
18905         * config.h.in: now check for convex OR __convex__
18906
18907 1994-03-12 16:16  millert
18908
18909         * aclocal.m4: now check for convex or __convex__
18910
18911 1994-03-12 16:15  millert
18912
18913         * Makefile.in: added dist target
18914
18915 1994-03-12 15:19  millert
18916
18917         * aclocal.m4: use __convex__
18918
18919 1994-03-12 14:33  millert
18920
18921         * find_path.c: now use _S_* stat stuff to be ansi-like
18922
18923 1994-03-12 14:11  millert
18924
18925         * INSTALL: updated for configure directions
18926
18927 1994-03-12 14:05  millert
18928
18929         * Makefile.in: distclean now removes config.h and pathnames.h
18930
18931 1994-03-12 14:03  millert
18932
18933         * CHANGES: updated
18934
18935 1994-03-12 14:00  millert
18936
18937         * TODO: fixed typoe
18938
18939 1994-03-12 13:57  millert
18940
18941         * Makefile.in, visudo.c: updated version
18942
18943 1994-03-12 13:57  millert
18944
18945         * config.h.in, pathnames.h.in: added copyright header
18946
18947 1994-03-12 13:55  millert
18948
18949         * check.c, find_path.c, insults.h, logging.c, parse.c, parse.lex,
18950           parse.yacc, sudo.c, sudo.h: udpated version
18951
18952 1994-03-12 13:39  millert
18953
18954         * visudo.c: udpated to use configure + pathnames.h
18955
18956 1994-03-12 13:37  millert
18957
18958         * Makefile.in, config.h.in, configure.in, aclocal.m4: updated
18959
18960 1994-03-12 13:37  millert
18961
18962         * sudo.h: now works with configure
18963
18964 1994-03-12 13:36  millert
18965
18966         * check.c, find_path.c, getpass.c, logging.c, parse.c, sudo.c:
18967           updated to work with configure + pathnames.h
18968
18969 1994-03-12 10:40  millert
18970
18971         * Makefile.in: added LEXLIB
18972
18973 1994-03-10 03:18  millert
18974
18975         * COPYING: updated gnu general licence to versio 2
18976
18977 1994-03-10 02:44  millert
18978
18979         * pathnames.h.in, config.h.in: Initial revision
18980
18981 1994-03-10 01:43  millert
18982
18983         * sudo.h: changed to work with configure
18984
18985 1994-03-09 18:51  millert
18986
18987         * Makefile.in, aclocal.m4, configure.in: Initial revision
18988
18989 1994-03-09 17:36  millert
18990
18991         * visudo.c: now uses defines used by configure
18992
18993 1994-03-01 16:31  millert
18994
18995         * find_path.c: sudo won't bitch about EPERM now, for real
18996
18997 1994-02-28 00:36  millert
18998
18999         * logging.c: renamed exec_argv to eliminate a libc name clash with
19000           ksros
19001
19002 1994-02-28 00:28  millert
19003
19004         * CHANGES: corrected
19005
19006 1994-02-28 00:27  millert
19007
19008         * logging.c, sudo.c, sudo.h: execve -> execv
19009
19010 1994-02-27 23:27  millert
19011
19012         * TODO: upated
19013
19014 1994-02-27 23:19  millert
19015
19016         * PORTING: added 2 mroe items
19017
19018 1994-02-27 23:12  millert
19019
19020         * CHANGES: updated
19021
19022 1994-02-27 23:11  millert
19023
19024         * sudo.h: added UMASK and mode_t declaration
19025
19026 1994-02-27 23:11  millert
19027
19028         * sudo.c: added UMASK
19029
19030 1994-02-27 20:55  millert
19031
19032         * logging.c: now opens log file with mode 077
19033
19034 1994-02-27 20:55  millert
19035
19036         * check.c: saved current umask ans restores it
19037
19038 1994-02-27 20:36  millert
19039
19040         * sudo.h: added MAXLOGFILELEN
19041
19042 1994-02-27 20:35  millert
19043
19044         * logging.c: split long log lines.  FOr syslog, split into multiple
19045           entries, for a log file, indent the extra for readability
19046
19047 1994-02-27 17:22  millert
19048
19049         * CHANGES: added changes
19050
19051 1994-02-27 17:18  millert
19052
19053         * sudo.h: MAXLOGLEN & MAXSYSLOGLEN are now different (as they
19054           should be)
19055
19056 1994-02-25 16:04  millert
19057
19058         * TODO: added input from Brett M Hogden <hogden@rge.com>
19059
19060 1994-02-16 13:35  millert
19061
19062         * sudo.c: added rmenv() to remove stuff from environ.  can now uses
19063           execvp() OR execve() becuase of this.
19064
19065 1994-02-16 13:35  millert
19066
19067         * logging.c: now uses execvp() OR execve()
19068
19069 1994-02-16 13:31  millert
19070
19071         * sudo.h: added USE_EXECVE
19072
19073 1994-02-16 13:27  millert
19074
19075         * sudo.h: added environ
19076
19077 1994-02-16 12:53  millert
19078
19079         * find_path.c: now ignore EPERM
19080
19081 1994-02-15 23:52  millert
19082
19083         * sudo.h: moved some func decls out of sudo.h and into sudo.c as
19084           statics /.
19085
19086 1994-02-15 23:52  millert
19087
19088         * CHANGES: updated
19089
19090 1994-02-15 23:40  millert
19091
19092         * sudo.h: took out Envp
19093
19094 1994-02-14 12:28  millert
19095
19096         * BUGS: Initial revision
19097
19098 1994-02-10 14:29  millert
19099
19100         * sudo.c, sudo.h, CHANGES: added SECURE_PATH
19101
19102 1994-02-10 14:05  millert
19103
19104         * sudo.h: added SECURE_PATH
19105
19106 1994-02-10 13:50  millert
19107
19108         * INSTALL: added sample.sudoers note
19109
19110 1994-02-10 13:47  millert
19111
19112         * sudoers: Initial revision
19113
19114 1994-02-09 14:54  millert
19115
19116         * find_path.c: fixed typo
19117
19118 1994-02-08 23:06  millert
19119
19120         * PORTING: took out SAVED_UID garbage
19121
19122 1994-02-08 22:55  millert
19123
19124         * INSTALL: mentioned HAL
19125
19126 1994-02-08 22:50  millert
19127
19128         * sudo.h: added HAL line
19129
19130 1994-02-08 22:48  millert
19131
19132         * insults.h: added HAL insults
19133
19134 1994-02-08 22:48  millert
19135
19136         * TODO: updated
19137
19138 1994-02-08 22:02  millert
19139
19140         * logging.c: more verbose error if mailer not found
19141
19142 1994-02-08 22:02  millert
19143
19144         * check.c: now do getpwent as root for soem shadow password systems
19145           (bsdi)
19146
19147 1994-02-08 13:22  millert
19148
19149         * sudo.h: took out SAVED_UID garbade
19150
19151 1994-02-08 13:21  millert
19152
19153         * sudo.c: took out SAVED_UID garbage since it don't work
19154
19155 1994-02-06 17:43  millert
19156
19157         * README: updated
19158
19159 1994-02-06 17:40  millert
19160
19161         * insults.h: added a missing space :-)
19162
19163 1994-02-05 19:48  millert
19164
19165         * sudo.c, sudo.h: took out multimax cruft
19166
19167 1994-02-05 19:30  millert
19168
19169         * INSTALL: minor update
19170
19171 1994-02-05 19:30  millert
19172
19173         * PORTING: finished
19174
19175 1994-02-05 19:19  millert
19176
19177         * sudo.c: fixed a typo + indentation
19178
19179 1994-02-05 18:43  millert
19180
19181         * sudo.h: took outumoved some defines to the config file ,.  ,.
19182
19183 1994-02-05 15:17  millert
19184
19185         * PORTING: Initial revision
19186
19187 1994-02-05 15:17  millert
19188
19189         * TODO: did #6
19190
19191 1994-02-05 15:16  millert
19192
19193         * sudo.h: added HAS_SAVED_UID
19194
19195 1994-02-05 15:16  millert
19196
19197         * sudo.c: put back AIX cruft
19198
19199 1994-02-03 00:44  millert
19200
19201         * sudo.c: aix changes
19202
19203 1994-02-02 01:31  millert
19204
19205         * CHANGES: updated
19206
19207 1994-02-02 01:30  millert
19208
19209         * check.c, logging.c, parse.c, sudo.c, sudo.h: now is only root
19210           when abs necesary
19211
19212 1994-02-01 22:21  millert
19213
19214         * check.c: added missing %s\n
19215
19216 1994-01-31 02:06  millert
19217
19218         * install-sh: Initial revision
19219
19220 1994-01-31 01:58  millert
19221
19222         * CHANGES, TODO: updated
19223
19224 1994-01-31 01:56  millert
19225
19226         * sudo.c: now removed _RLD_* for alphas
19227
19228 1994-01-31 01:50  millert
19229
19230         * INSTALL: updated for new config scheme
19231
19232 1994-01-30 19:42  millert
19233
19234         * find_path.c: more verbose eror messages
19235
19236 1994-01-27 14:08  millert
19237
19238         * TODO: now have solaris
19239
19240 1994-01-27 14:07  millert
19241
19242         * sudo.h: define __svr4__ for SOLARIS
19243
19244 1994-01-27 14:07  millert
19245
19246         * check.c: added svr4 junk for shadow pws for solaris 2.x
19247
19248 1994-01-27 13:19  millert
19249
19250         * check.c, sudo.c: took out setuid(0) and setreuid(udi) garbage.
19251           Its not needed since we start out setuid with the correct perms.
19252
19253 1994-01-26 19:51  millert
19254
19255         * check.c, sudo.c, sudo.h: now use setreuid()
19256
19257 1994-01-26 18:58  millert
19258
19259         * sudo.man: revised AUTHORS secrtion & added ENV_EDITOR stuff to
19260           VARIABLES sectoin
19261
19262 1994-01-26 18:52  millert
19263
19264         * visudo.c: now uses ENV_EDITOR if you want to use the EDITOR envar
19265
19266 1994-01-26 18:52  millert
19267
19268         * sudo.h: now uses ENV_EDITOR if you want to use the EDITOR envar
19269           >> .
19270
19271 1993-12-07 01:33  millert
19272
19273         * README: minor update + spell fix
19274
19275 1993-12-07 01:33  millert
19276
19277         * INSTALL: rewrote most of this
19278
19279 1993-12-07 01:13  millert
19280
19281         * sudo.h: added all options that are in the Makefile
19282
19283 1993-12-07 00:23  millert
19284
19285         * getpass.c: now use USE_TERMIO #define for sgi & hpux
19286
19287 1993-12-06 23:19  millert
19288
19289         * TODO: todo: posix sigs
19290
19291 1993-12-06 01:12  millert
19292
19293         * check.c, find_path.c: always include strings.h
19294
19295 1993-12-05 20:34  millert
19296
19297         * visudo.c: added STATICEDITOR
19298
19299 1993-12-05 20:30  millert
19300
19301         * sudo.h: sgi has vi in /usr/bin too
19302
19303 1993-12-05 20:23  millert
19304
19305         * sudo.man: added VISUAL
19306
19307 1993-12-02 22:20  millert
19308
19309         * sudo.h: sue /usr/bin/vi on some systems
19310
19311 1993-12-02 22:19  millert
19312
19313         * sudo.c: fixed warning (include strings.h)
19314
19315 1993-12-02 22:06  millert
19316
19317         * sudo.man: added John_Rouillard@dl5000.bc.edu's changes (new
19318           features)
19319
19320 1993-12-02 21:38  millert
19321
19322         * CHANGES: changes from John_Rouillard@dl5000.bc.edu
19323
19324 1993-12-02 21:35  millert
19325
19326         * visudo.c: added EDITOR envar
19327
19328 1993-12-02 21:34  millert
19329
19330         * check.c, find_path.c, parse.c, sudo.c: added patches from
19331           John_Rouillard      directory spec  uses EDITOR
19332
19333 1993-12-01 19:32  millert
19334
19335         * getpass.c: added flush for hpux
19336
19337 1993-11-30 13:37  millert
19338
19339         * sudo.c: no longer assume malloc returns a char *
19340
19341 1993-11-29 20:35  millert
19342
19343         * sudo.c: alpha change to remove LD_-like thing fixed SHLIB_PATH
19344           stuff -- now gets removed correctly
19345
19346 1993-11-29 19:31  millert
19347
19348         * sudo.h: added STD_HEADERS macro
19349
19350 1993-11-29 19:14  millert
19351
19352         * sudo.c: now uses STD_HEADERS macor for ansi
19353
19354 1993-11-29 19:14  millert
19355
19356         * find_path.c: now uses STD_HEADERS macro
19357
19358 1993-11-29 19:13  millert
19359
19360         * check.c: niceties for C compiler bitches -- no real change
19361
19362 1993-11-29 13:04  millert
19363
19364         * visudo.c: now doesn't fclose a file never opened.
19365
19366 1993-11-28 16:35  millert
19367
19368         * sudo.man: added visudo line
19369
19370 1993-11-28 16:31  millert
19371
19372         * sudo.man: added error stuff added me in there...
19373
19374 1993-11-28 03:12  millert
19375
19376         * CHANGES: noted insults
19377
19378 1993-11-28 03:01  millert
19379
19380         * INSTALL: added blurb about reading stuff
19381
19382 1993-11-28 03:00  millert
19383
19384         * sudo.h: added insults
19385
19386 1993-11-28 03:00  millert
19387
19388         * insults.h: corrected somments and removed newlines
19389
19390 1993-11-28 03:00  millert
19391
19392         * check.c: now uses insults
19393
19394 1993-11-28 02:45  millert
19395
19396         * insults.h: Initial revision
19397
19398 1993-11-27 19:46  millert
19399
19400         * INSTALL: added dec syslog note
19401
19402 1993-11-27 19:25  millert
19403
19404         * sample.sudoers: added real stuff in there
19405
19406 1993-11-27 19:24  millert
19407
19408         * TODO: added a todo
19409
19410 1993-11-27 19:10  millert
19411
19412         * TODO: added one
19413
19414 1993-11-27 18:59  millert
19415
19416         * sample.sudoers: Initial revision
19417
19418 1993-11-27 18:59  millert
19419
19420         * sudo.man: updated with changes
19421
19422 1993-11-27 18:52  millert
19423
19424         * sudo.man: Initial revision
19425
19426 1993-11-27 18:48  millert
19427
19428         * CHANGES, COPYING, INSTALL, README, TODO, indent.pro: Initial
19429           revision
19430
19431 1993-11-27 18:46  millert
19432
19433         * visudo.c: updated version number and took out jeff's old addr
19434           since it is no good
19435
19436 1993-11-27 18:42  millert
19437
19438         * sudo.h, check.c, find_path.c, logging.c, parse.c, parse.lex,
19439           parse.yacc, sudo.c: updated version number and took out jeff's
19440           email (since it is invalid)
19441
19442 1993-10-28 09:36  millert
19443
19444         * check.c: added fflush()
19445
19446 1993-10-22 20:46  millert
19447
19448         * find_path.c: now return NULL instead pf\b\bof exiting for
19449           nopn\b\bn-fatal errors
19450
19451 1993-10-21 16:57  millert
19452
19453         * check.c: new banner
19454
19455 1993-10-21 16:42  millert
19456
19457         * parse.lex: now sudo.h gets included first
19458
19459 1993-10-17 20:31  millert
19460
19461         * parse.lex: now can use flex
19462
19463 1993-10-17 20:31  millert
19464
19465         * sudo.h: linux patch
19466
19467 1993-10-17 20:30  millert
19468
19469         * sudo.c: hpux 9 fix, removes SHLIB_PATH linux patch
19470
19471 1993-10-17 20:30  millert
19472
19473         * check.c: linux diff
19474
19475 1993-10-15 16:03  millert
19476
19477         * find_path.c: stat now ignores EINVAL
19478
19479 1993-10-05 21:48  millert
19480
19481         * find_path.c, sudo.c: now declare strdup as extern
19482
19483 1993-10-04 15:23  millert
19484
19485         * visudo.c: reformatted with indent + by hand
19486
19487 1993-10-04 15:10  millert
19488
19489         * check.c, find_path.c, getpass.c, logging.c, parse.c, sudo.c,
19490           sudo.h: used indent to "fix" coding style
19491
19492 1993-10-03 20:12  millert
19493
19494         * find_path.c: now checks '.' or '.' or '' in PATH -- but does it
19495           LAST should maybe move the code that does this into the loop
19496           body.  makes it messier tho.  hmmm.
19497
19498 1993-09-08 11:53  millert
19499
19500         * find_path.c: redid the fix for non-executable files in an easier
19501           to read way plus some minor aethetic changes
19502
19503 1993-09-08 11:39  millert
19504
19505         * find_path.c: fixed bug with non-executable tings of same name in
19506           path introduced by checkig errno after stat(2).
19507
19508 1993-09-05 10:02  millert
19509
19510         * sudo.c: fixed off by one error
19511
19512 1993-09-05 09:55  millert
19513
19514         * find_path.c: now handles decending below '/' correctly
19515
19516 1993-09-05 08:35  millert
19517
19518         * sudo.c: now actually builds Envp instead of munging envp
19519
19520 1993-09-04 15:42  millert
19521
19522         * parse.yacc: now  includes sys/param.h
19523
19524 1993-09-04 15:41  millert
19525
19526         * visudo.c: now includes sys/param.h
19527
19528 1993-09-04 15:30  millert
19529
19530         * sudo.h: fixed ifndef -> ifdef
19531
19532 1993-09-04 15:19  millert
19533
19534         * qualify.c: make more like find_path.c
19535
19536 1993-09-04 15:18  millert
19537
19538         * find_path.c: rewritten by millert
19539
19540 1993-09-04 15:17  millert
19541
19542         * sudo.h: fixed MAXCOMMANDLENGTH now uses USE_CWD and NEED_STRDUP
19543           added info about new defines in the comment
19544
19545 1993-09-04 15:15  millert
19546
19547         * logging.c: now uses USE_CWD
19548
19549 1993-09-04 14:10  millert
19550
19551         * sudo.h: added delc for clean_envp() and Envp
19552
19553 1993-09-04 14:09  millert
19554
19555         * sudo.c: now rips LD_* env vars out of envp and passed sanitized
19556           Envp to exec
19557
19558 1993-09-04 14:09  millert
19559
19560         * logging.c: now uses execve()
19561
19562 1993-09-04 14:08  millert
19563
19564         * find_path.c: ENOTDIR is ok now too (in case part of the path is
19565           bogus)
19566
19567 1993-09-04 08:17  millert
19568
19569         * qualify.c: now works correctly (ttaltotal rewrite)
19570
19571 1993-09-04 07:59  millert
19572
19573         * parse.lex: now includes sys/param.h didn't match trailing / --
19574           fix from rouilj@cs.umb.edu
19575
19576 1993-06-11 18:04  millert
19577
19578         * sudo.c: moved around the #ifndef _AIX
19579
19580 1993-06-11 18:03  millert
19581
19582         * check.c, logging.c, parse.c: Initial revision
19583
19584 1993-03-20 07:57  millert
19585
19586         * qualify.c: Initial revision
19587
19588 1993-03-13 15:09  millert
19589
19590         * find_path.c: now works if you do sudo bin/test
19591
19592 1993-03-13 14:20  millert
19593
19594         * find_path.c: works
19595
19596 1993-03-02 18:28  millert
19597
19598         * sudo.h: Initial revision
19599
19600 1993-03-02 11:35  millert
19601
19602         * visudo.c: Initial revision
19603
19604 1993-03-02 11:32  millert
19605
19606         * parse.lex, parse.yacc: Initial revision
19607
19608 1993-02-16 13:24  millert
19609
19610         * sudo.c: took out errno.h
19611
19612 1993-02-16 13:22  millert
19613
19614         * sudo.c: now spews error if exec fails and exits with -1
19615
19616 1993-02-16 12:07  millert
19617
19618         * sudo.c: Initial revision
19619
19620 1993-02-15 22:27  millert
19621
19622         * find_path.c: now only execs files with (an) executable bit set.
19623
19624 1993-02-15 22:01  millert
19625
19626         * find_path.c: Initial revision
19627
19628 1993-02-15 14:32  millert
19629
19630         * getpass.c: added nice comment
19631
19632 1993-02-15 14:19  millert
19633
19634         * getpass.c: now works on sgi's
19635
19636 1993-02-15 13:57  millert
19637
19638         * getpass.c: Initial revision
19639