Commit Graph

206 Commits

Author SHA1 Message Date
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
Todd C. Miller
971a69bb26 fixed a bug that caused directory specs in a Cmnd_Alias to fail if the
last entry in the spec failed (ie: it was only looking at the last entry).
CLeaned things up by adding the cmndcmp() function--all neat & tidy
1994-08-13 01:22:10 +00:00
Todd C. Miller
2b0794bb08 now uses new interfaces global 1994-08-12 01:56:47 +00:00
Todd C. Miller
3fa8477a1c added hostcmp() to compare hostnames, ip addrs, and network addrs 1994-08-10 23:21:22 +00:00
Todd C. Miller
a24fdfd081 no longer use global validate_only
now checks for command called "validate"
removed check for non-fully qualified commands since that is
done by find_path
1994-08-05 00:21:04 +00:00
Todd C. Miller
71cba15592 added validate_only stuff 1994-06-02 19:41:33 +00:00
Todd C. Miller
aab695bfc3 added comment 1994-05-28 19:13:00 +00:00
Todd C. Miller
3b297e0377 took out externs that are in suod.h 1994-05-24 20:18:26 +00:00
Todd C. Miller
6a83afd8e2 udpated version 1994-03-12 18:55:39 +00:00