Commit Graph

16 Commits

Author SHA1 Message Date
Todd C. Miller
088edcb6f5 Add exported libsudo_util functions to util.exp and mark in headers
using __dso_public.
2014-06-26 15:51:15 -06:00
Todd C. Miller
607eab1151 Use sed instead of expr to split a flag from its argument.
Fixes a problem with expr interpreting its arguments as a flag
when they start with a dash.
2010-09-13 16:34:38 -04:00
Todd C. Miller
49d82a04e7 "mv -f" on HP-UX doesn't unlink the destination first so add
an explicit rm before moving the temporary into place.
2010-07-23 11:22:44 -04:00
Todd C. Miller
69400709d7 Just ignore the -c option, it is the default
Add support for -d option
2010-07-13 08:31:01 -04:00
Todd C. Miller
b6a4cf7233 Modular sudo front-end which loads policy and I/O plugins that do
most the actual work.  Currently relies on dynamic loading using
dlopen().  See doc/plugin.pod for the plugin API.
2010-02-20 09:41:49 -05:00
Todd C. Miller
e90fa482f9 Rework source layout in preparation for modular sudo. 2010-02-20 09:14:01 -05:00
Todd C. Miller
1efe9a900f If the file given to install is a path, only use the basename of the
file when building the destination path.
2008-03-23 14:12:19 +00:00
Todd C. Miller
2fe1bcd3de Fix case where neither whoami nor id are found 2002-01-10 18:00:58 +00:00
Todd C. Miller
0244c4ee6c If neither whoami nor id exists, just assume we are root. 2002-01-09 17:35:14 +00:00
Todd C. Miller
76b2f1a321 Add -M option (like -m but only for root)
If we can't find "whoami", use "id" w/ some sed.
2002-01-01 21:48:26 +00:00
Todd C. Miller
641e30612f Better path searching for programs we need. 2000-08-13 21:10:49 +00:00
Todd C. Miller
8f9dfff262 When looking for chown, check in /sbin too 2000-06-09 16:25:26 +00:00
Todd C. Miller
abeaf95238 check for path to strip 1997-03-19 22:45:02 +00:00
Todd C. Miller
8db0946c71 added more paths for chown and whoami 1996-08-01 17:12:46 +00:00
Todd C. Miller
e577aafd13 updated to version used by inn and bind 1996-05-28 16:02:54 +00:00
Todd C. Miller
24ab11e96a Initial revision 1994-01-31 07:06:46 +00:00