Commit Graph

87 Commits

Author SHA1 Message Date
Todd C. Miller
5436bf7c8f now dynamically allocates memory for the stacks -- no more overflows! 1996-08-17 22:27:29 +00:00
Todd C. Miller
bb29f00234 hacks to expand command aliases for `sudo -l' 1996-08-17 17:22:55 +00:00
Todd C. Miller
0f643f7a47 can now deal with upcase HOST and USER names 1996-08-15 19:47:58 +00:00
Todd C. Miller
4fb2f4ca9a added support for new `sudo -l' stuff 1996-08-09 22:07:51 +00:00
Todd C. Miller
efb526bb25 fixed prototype 1996-07-22 19:50:42 +00:00
Todd C. Miller
f62d59e927 now uses flat args string 1996-07-22 19:31:04 +00:00
Todd C. Miller
d2173d0291 can't rely on cmnd_matches as much as I thought -- added some $$
stuff back in to prevent namespace pollution problems.
1996-07-21 22:41:21 +00:00
Todd C. Miller
0b37772296 Simplified parse rules wrt runas and NOPASSWD (more consistent). 1996-07-21 22:01:07 +00:00
Todd C. Miller
bae4e50e00 fixed no_passwd vs. runas_matched 1996-07-08 17:30:39 +00:00
Todd C. Miller
11f5b77880 was setting runas_matches to -1 in wrong place 1996-07-08 14:21:18 +00:00
Todd C. Miller
fb8c99d83c slightly simpler initialization of no_passwd and runas_matches 1996-07-08 00:34:13 +00:00
Todd C. Miller
f52c2aa2ed now initializes some fields that weren't getting set to -1
pretty gross -- need a rewrite.
1996-07-07 20:01:38 +00:00
Todd C. Miller
cb2fd7e30b removed some unnecsary if's 1996-06-20 05:17:24 +00:00
Todd C. Miller
2f49ee3160 fixed an occurence of '==' -> '=' 1996-06-20 04:27:49 +00:00
Todd C. Miller
a35441d43f fixed a formatting thingie 1996-06-17 16:19:04 +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
2ed1645b9c added a missing free() 1996-05-28 04:00:32 +00:00
Todd C. Miller
7c95809719 runas_matches is now set to false if we get a negative match 1996-04-28 21:12:45 +00:00
Todd C. Miller
0acd826805 added support for NO_PASSWD and runas from
garp@opustel.com
1996-04-28 01:00:18 +00:00
Todd C. Miller
f704820575 moved fqdn stuff into parse.lex (FQHOST) 1996-03-19 22:00:44 +00:00
Todd C. Miller
058a58a501 now uses shost even if not FQDN 1996-03-11 19:05:55 +00:00
Todd C. Miller
56df3dd851 now uses shost if FQDN 1996-03-11 01:15:08 +00:00
Todd C. Miller
1151a4bfdb path_matches -> command_matches 1996-02-04 21:09:56 +00:00
Todd C. Miller
42225e3b0d now use a 'hook' expression instead of an iffy one :-) 1996-02-03 01:48:30 +00:00
Todd C. Miller
65058a1006 fixed dereferencing deadbeef 1996-02-02 06:14:20 +00:00
Todd C. Miller
8356e4bcde COMMAND is now a struct containing the path and args 1996-02-02 03:30:50 +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
c509bec0cd removed debugging stuff (setting freed ptr to NULL) 1996-01-07 21:00:45 +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
d6a223e2a2 now uses user_pw_ent and simple macros to get at the contents 1995-11-24 02:27:27 +00:00
Todd C. Miller
ddfc757539 now uses sudo_pw_ent 1995-11-21 02:13:59 +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
a14ba7447d now explicately initialize match[] tp be FALSE 1995-09-29 21:50:21 +00:00
Todd C. Miller
4571b88d54 yyerror and dumpaliases are now void's
now passes -Wall
1995-09-23 20:48:16 +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
8a8926d92c local search.h now lives in emul 1995-09-13 01:44:35 +00:00
Todd C. Miller
fa50c30f28 removed const from casts for lsearch() & lfind() to placate irix 4.x
C compiler
1995-09-04 04:38:39 +00:00
Todd C. Miller
f3268e58e9 fixed a spelling error 1995-09-03 17:19:51 +00:00
Todd C. Miller
4b39028f9d added dotcat() to cat 2 strings w/ a dot effeciently
now that we dynamically allocate strings they need to be free()'d
1995-09-02 16:54:22 +00:00
Todd C. Miller
8e59f998d9 fixed netgr_matches() prototype 1995-09-01 05:03:27 +00:00
Todd C. Miller
08719aef14 fixed 2nd parameter to lfind() 1995-09-01 04:25:17 +00:00
Todd C. Miller
30215484cb PATH renamed to COMMAND 1995-08-19 23:32:04 +00:00
Todd C. Miller
15f6c5ef57 fixed free() of an uninitialized pointer (yuck) 1995-07-27 10:52:58 +00:00
Todd C. Miller
ad2662ed8d added NETGROUP support 1995-07-25 00:01:34 +00:00
Todd C. Miller
a81984983f fixed up spacing and added void casts where appropriate 1995-06-15 03:40:07 +00:00
Todd C. Miller
4c84f21436 added support for -l 1995-06-14 08:42:57 +00:00
Todd C. Miller
923bd0d3e2 added clearaliases 1995-05-02 03:33:26 +00:00