Commit Graph

90 Commits

Author SHA1 Message Date
Todd C. Miller
12477fd6e6 updated version 1998-04-06 03:35:50 +00:00
Todd C. Miller
c27d678ff7 MAX* + 1 -> MAX* 1998-04-06 03:15:39 +00:00
Todd C. Miller
e37e1e56b6 updated version 1998-03-31 05:05:49 +00:00
Todd C. Miller
c866646cdf updated version 1998-02-18 21:39:31 +00:00
Todd C. Miller
2fc787d5f6 updated version 1998-02-17 02:43:17 +00:00
Todd C. Miller
bc7803cd08 updated version 1998-02-06 20:49:24 +00:00
Todd C. Miller
3e52d3a117 set sudoers_fp to nil after closing 1998-01-30 19:59:03 +00:00
Todd C. Miller
0c362fb216 updated version 1998-01-21 06:33:06 +00:00
Todd C. Miller
bb6a33e080 updated version 1998-01-21 05:50:58 +00:00
Todd C. Miller
cae4b9d3e3 sudoers file open is now done only in check_sudoers() so
we just do a rewind() instead of an open.  May help people on
solaris who were getting EAGAIN.
1998-01-21 05:02:59 +00:00
Todd C. Miller
6523933184 typo 1998-01-13 15:32:41 +00:00
Todd C. Miller
6a2b6895f4 fix that bug for real 1998-01-13 15:19:08 +00:00
Todd C. Miller
166789a1dd ++version 1998-01-13 04:48:42 +00:00
Todd C. Miller
ab9b352455 commands can start with ./* not just /* -- fixes a serious security hole. 1998-01-13 04:10:08 +00:00
Todd C. Miller
5e723efe75 ++version 1996-11-14 02:37:56 +00:00
Todd C. Miller
b0248f15df ++version 1996-10-07 05:07:09 +00:00
Todd C. Miller
6a230806a8 courtesan 1996-09-08 00:21:42 +00:00
Todd C. Miller
d189849b44 ++version 1996-08-30 00:37:04 +00:00
Todd C. Miller
35825133a7 ++version 1996-08-17 23:25:40 +00:00
Todd C. Miller
7d272a7ff0 now uses init_parser()
if not in sudoers and tries "list" or "validate" scold but don't
be nasty.
1996-08-17 22:30:48 +00:00
Todd C. Miller
8c35fa2ec6 fix comment 1996-08-15 19:46:04 +00:00
Todd C. Miller
4fb2f4ca9a added support for new `sudo -l' stuff 1996-08-09 22:07:51 +00:00
Todd C. Miller
89784f6556 no longer return VALIDATE_NOT_OK if there was a runas that didn't
match.  Now we can have runas stuff on more than one line.
1996-07-26 17:23:40 +00:00
Todd C. Miller
d7ae14e4d7 don't call fnmatch() with FNM_PATHNAME flag unless it can only
be a pathname
need to check against sudoers_args even if user_args is nil
1996-07-24 01:18:01 +00:00
Todd C. Miller
8a177073ef now uses flat arg string 1996-07-22 19:30:42 +00:00
Todd C. Miller
54d39940b3 sudo -v now groks VALIDATE_OK_NOPASS 1996-07-08 18:16:21 +00:00
Todd C. Miller
d60779d01b moved set_perms(PERM_ROOT) to be before yyparse() 1996-06-25 22:02:22 +00:00
Todd C. Miller
082d9aed0e now includes netgroup.h 1996-06-20 05:16:36 +00:00
Todd C. Miller
8b66b61169 fixed -u support with multiple user lists on a line 1996-06-17 16:16:11 +00:00
Todd C. Miller
f66eb18a5d added support for net_addr/netmask 1996-06-17 04:02:33 +00:00
Todd C. Miller
6737221aa5 now always uses fnmatch to match args 1996-06-04 23:57:30 +00:00
Todd C. Miller
d1c239718c now uses user_gid 1996-05-28 02:42:57 +00:00
Todd C. Miller
9ec0715a31 in sudoers, 'command ""' now means command with no args 1996-05-28 00:01:53 +00:00
Todd C. Miller
a062a35c7e now uses fnmatch() instead of wildmat
a trailing star (*) by itself now matches multiple args
added support for wildcards in the pathname  in sudoers
1996-05-27 23:38:46 +00:00
Todd C. Miller
624218c54f will now only running commands as root if there was no runas
list (or if root is in the runas list)
1996-04-28 21:16:30 +00:00
Todd C. Miller
32002b7d97 added support for NO_PASSWD and runas from garp@opustel.com 1996-04-28 00:59:21 +00:00
Todd C. Miller
1151a4bfdb path_matches -> command_matches 1996-02-04 21:09:56 +00:00
Todd C. Miller
0f898397f9 fixed a typo in a for() loop 1996-02-02 04:52:53 +00:00
Todd C. Miller
dd18abfe4e command line args from sudoers file are now in an array like
ones passed in from the command line
1996-02-02 03:28:56 +00:00
Todd C. Miller
7731bb261c wildwat stuff now works 1996-02-01 01:59:18 +00:00
Todd C. Miller
d58db6c2c4 ++version 1996-01-14 20:16:01 +00:00
Todd C. Miller
a90d2d478e ++version 1996-01-09 17:52:49 +00:00
Todd C. Miller
6846377706 ++version 1995-12-18 03:09:49 +00:00
Todd C. Miller
7617fde666 added group support 1995-12-18 02:51:30 +00:00
Todd C. Miller
9de4fd5450 updated version number 1995-11-19 23:37:15 +00:00
Todd C. Miller
96be725f35 options.h is now <> instead of "" so shadow build trees can
have a custom copy of options.h
1995-11-13 05:16:38 +00:00
Todd C. Miller
02036880ce now passes -Wall 1995-09-23 20:47:54 +00:00
Todd C. Miller
211361a5f0 don't include malloc.h if we include stdlib.h 1995-09-13 21:17:06 +00:00
Todd C. Miller
184dac958a fixed a logic bug. Was denying a command if user gave command
line args but there were none in the sudoers file which is wrong.
1995-09-01 18:18:32 +00:00
Todd C. Miller
4fb87b2fa2 buf is now of size MAXPATHLEN+1 since it never holds command args 1995-09-01 04:55:34 +00:00