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 |
|
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 |
|