Commit Graph

214 Commits

Author SHA1 Message Date
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
Todd C. Miller
ffbade1541 don't try to stat() "pseudo commands" like "validate" 1995-09-01 02:54:08 +00:00
Todd C. Miller
e5101444c4 removed an unreachable statement 1995-08-19 23:29:42 +00:00
Todd C. Miller
564533bc75 now groks command arguments 1995-08-14 04:06:27 +00:00
Todd C. Miller
178e4a3c10 cleaned up netgr_matches 1995-07-27 01:29:59 +00:00
Todd C. Miller
1b9251bea2 added netgr_matches 1995-07-25 00:01:47 +00:00
Todd C. Miller
77f4bbc686 now use global cmnd_st 1995-06-15 04:47:44 +00:00
Todd C. Miller
b7660fc077 validate() now takes a flag that says whether or not to check the
command
1995-06-14 08:41:54 +00:00
Todd C. Miller
4a37e0c321 added FAST_MATCH 1995-05-01 20:30:34 +00:00
Todd C. Miller
521f2f6acc ntwk_matches -> addr_matches
now use inet_addr() not inet_network() (which expects octet boundaries)
fixes for OSF (sizeof(int) != sizeof(long))
1995-04-07 19:37:33 +00:00
Todd C. Miller
e27349c62c fixed typo 1995-04-07 02:23:19 +00:00
Todd C. Miller
6e45d61aa8 fixed my stupid bug where I used NAMLEN on something I wanted to
just get the name from.  argh.
1995-04-04 22:17:11 +00:00
Todd C. Miller
8e89a08f2c now set uid to that of SUDOERS_OWNER while parsing sudoers file 1995-03-30 04:03:49 +00:00
Todd C. Miller
890fb310e0 updated copyright 1995-03-29 04:12:17 +00:00
Todd C. Miller
f0fff46a16 made -v (validate) work 1995-03-28 20:26:55 +00:00
Todd C. Miller
31f5c73d04 added a cast 1995-03-28 06:07:20 +00:00
Todd C. Miller
d24022cdef now use groovy gnu autoconf macro AC_HEADER_DIRENT 1995-03-28 02:09:15 +00:00
Todd C. Miller
5509c7763b no more USE_REALPATH 1995-03-26 06:17:37 +00:00
Todd C. Miller
054c9ce3d8 added support for /sys/dir.h 1995-03-26 01:39:52 +00:00
Todd C. Miller
34a6197f42 merged in utk changes 1995-03-24 03:32:53 +00:00
Todd C. Miller
44fb090c76 cmndcmp() now takes 3 arguments and checks against the qualified as well
as the unqualified pathname.
more code that should use cmndcmp() but did not, now does
1995-01-16 21:34:26 +00:00
Todd C. Miller
db8b50d821 now includes options.h 1995-01-11 23:43:45 +00:00
Todd C. Miller
6482c50cb0 added support for non-root owned sudoers file 1994-11-10 00:49:19 +00:00
Todd C. Miller
fe8b92ba4d be_* -> setperms() 1994-11-08 01:38:44 +00:00
Todd C. Miller
0d973cdf2d added code to support command listings 1994-09-20 21:52:47 +00:00
Todd C. Miller
525954e1b2 changed sudo-bugs.cs.colorado.edu -> sudo-bugs@cs.colorado.ed 1994-09-02 19:54:28 +00:00
Todd C. Miller
e9114229c3 nwo check for interfaces == NULL 1994-08-13 21:08:53 +00:00