Commit Graph

102 Commits

Author SHA1 Message Date
Todd C. Miller
23b2719a37 command_alias -> generic_alias 1996-11-14 20:09:12 +00:00
Todd C. Miller
5e723efe75 ++version 1996-11-14 02:37:56 +00:00
Todd C. Miller
7e737b38e8 add size params to sprintf 1996-11-14 00:05:21 +00:00
Todd C. Miller
fcb212ea8f fixed more_aliases 1996-11-12 16:59:02 +00:00
Todd C. Miller
8336c86cb4 fix Runas_Alias stuff
Alias's in runas list now get expanded (but it is gross)
1996-11-11 15:49:11 +00:00
Todd C. Miller
ec7e187376 add Runas_Alias support
change FOO to FOO_ALIAS (ie: USER_ALIAS)
1996-11-11 01:08:22 +00:00
Todd C. Miller
894ef0be76 always store User_Alias's since they can be used inside of a runas list. Sigh. Really need a Runas_Alias instead. 1996-11-11 00:15:21 +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
a47e58edac changed length/size params from int to size_t 1996-08-25 21:50:52 +00:00
Todd C. Miller
9347d2299c added missing cast 1996-08-18 16:50:20 +00:00
Todd C. Miller
35825133a7 ++version 1996-08-17 23:25:40 +00:00
Todd C. Miller
be3b37d153 fixed some XXX 1996-08-17 23:07:29 +00:00
Todd C. Miller
f0d121ea24 some variable name changes + comment headers for functions. 1996-08-17 22:52:42 +00:00
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