Commit Graph

4239 Commits

Author SHA1 Message Date
Todd C. Miller
e5bb0bb970 or vs. are 2007-07-03 23:38:15 +00:00
Todd C. Miller
3d321157a3 fix typo in Solaris project support 2007-07-01 20:55:14 +00:00
Todd C. Miller
3c6c4677b2 update 2007-07-01 13:40:15 +00:00
Todd C. Miller
49b66be51e Make -- on the command line match the manual page.
The implied shell case has been simplified as a result.
2007-07-01 13:07:06 +00:00
Todd C. Miller
ad86ccfb19 add simplistic support for sudoRunas; note that if a sudoers entry contains multiple Runas users, all will apply to the sudoRole 2007-06-28 14:44:05 +00:00
Todd C. Miller
888a6d2e49 honor SETENV and NOSETENV tags 2007-06-28 14:42:43 +00:00
Todd C. Miller
9f49d28eaf Redo setting of user_args. We now build up a private copy of argv
first and then replace the NULs with spaces.
2007-06-24 13:25:01 +00:00
Todd C. Miller
a83e28b250 getcwd() returns NULL on failure, not 0 on success 2007-06-24 13:19:29 +00:00
Todd C. Miller
2d76de6cdc allow chunksiz to reach 1 before erroring out 2007-06-24 11:39:16 +00:00
Todd C. Miller
b3b905ba5e regen 2007-06-24 00:00:41 +00:00
Todd C. Miller
879c46e4dd Add support for setting environment variables on the command line.
This is only allowed if the setenv sudoers options is enabled or if
the command is prefixed with the SETENV tag.
2007-06-23 23:58:54 +00:00
Todd C. Miller
459c4bcd3a replace Aaron's email address with the sudo-workers list 2007-06-23 23:57:29 +00:00
Todd C. Miller
0d4fe735aa regen 2007-06-23 23:55:55 +00:00
Todd C. Miller
ddeafc2bcd Break schema out into separate files. 2007-06-22 00:35:19 +00:00
Todd C. Miller
d8d7657c50 Break schema out into separate files. 2007-06-22 00:35:19 +00:00
Todd C. Miller
fd7a9af876 free message if set by authenticate() 2007-06-21 22:28:40 +00:00
Todd C. Miller
ae2f7c77ee deal with NULL gr_mem 2007-06-21 17:04:26 +00:00
Todd C. Miller
f9a6950fbf regen 2007-06-20 19:05:04 +00:00
Todd C. Miller
5c22c694c0 add template for HAVE_PROJECT_H 2007-06-20 19:04:30 +00:00
Todd C. Miller
2a8cda261e include fcntl.h 2007-06-20 11:06:48 +00:00
Todd C. Miller
ce963ef43e mention --with-project 2007-06-19 23:37:35 +00:00
Todd C. Miller
60b7ac61bf Add Solaris 10 "project" support. From Michael Brantley. 2007-06-19 22:24:51 +00:00
Todd C. Miller
459b9cb1dd fix typo 2007-06-19 21:27:14 +00:00
Todd C. Miller
e0ae6e100b regen 2007-06-19 21:22:16 +00:00
Todd C. Miller
d1702ca4cb Fix preservation of LDFLAGS in the LDAP case. 2007-06-19 21:21:38 +00:00
Todd C. Miller
5c59e90468 Remove dependecy on NULL 2007-06-19 21:00:30 +00:00
Todd C. Miller
7f21fc74cc regen 2007-06-19 19:37:45 +00:00
Todd C. Miller
c154f0119b Can't use the regular autoconf fnmatch() check since we need
FNM_CASEFOLD so go back to our custom one.
2007-06-19 19:37:09 +00:00
Todd C. Miller
363a2f2593 Fix preserving of variables in env_keep. 2007-06-19 16:53:09 +00:00
Todd C. Miller
f670ef29bc add XAUTHORIZATION 2007-06-19 11:11:42 +00:00
Todd C. Miller
7d8b899e47 expand upon env resetting and mention that it began in 1.6.9 not 1.7. 2007-06-19 00:41:00 +00:00
Todd C. Miller
a922ff68ac Update descriptions of env_keep and env_check to match current reality. 2007-06-19 00:33:55 +00:00
Todd C. Miller
5ac9f1de51 Add LINGUAS to initial_checkenv_table.
Add COLORS, HOSTNAME, LS_COLORS, MAIL, PS1, PS2, XAUTHORITY
to intial_keepenv_table.
2007-06-18 21:33:22 +00:00
Todd C. Miller
c225668972 Treat USERNAME environemnt variable like LOGNAME/USER 2007-06-18 21:23:48 +00:00
Todd C. Miller
549c88d513 Don't need to populate keepenv table with the contents of the checkenv table. 2007-06-18 21:21:30 +00:00
Todd C. Miller
4dcaba90a0 Don't force sudo into the C locale. 2007-06-18 12:57:21 +00:00
Todd C. Miller
e096ae6f13 Make env_check apply when env_reset it true. Environment variables are
passed through unless they contain '/' or '%'.  There is no need
to have a variable in both env_check and env_keep.
2007-06-18 12:56:11 +00:00
Todd C. Miller
db084676e5 Remove an duplicate lock_file() call and add a comment. 2007-06-16 11:31:56 +00:00
Todd C. Miller
a162c16345 Add sudo 1.6.9 upgrade note. 2007-06-16 01:16:38 +00:00
Todd C. Miller
f58f637707 Solaris will return EINVAL if the buffer used in SIOCGIFCONF is too
small.  From Klaus Wagner.
2007-06-14 16:23:57 +00:00
Todd C. Miller
49cb30aa5b Redo the long syslog line splitting based on a patch from Eygene Ryabinkin.
Include memrchr() for systems without it.
2007-06-14 16:06:25 +00:00
Todd C. Miller
889f928e5f Redo the long syslog line splitting based on a patch from Eygene Ryabinkin.
Include memrchr() for systems without it.
2007-06-14 16:03:53 +00:00
Todd C. Miller
c22096ac33 Redo the long syslog line splitting based on a patch from Eygene Ryabinkin.
Include memrchr() for systems without it.
2007-06-14 16:03:53 +00:00
Todd C. Miller
1f38301a5d Since we need to be able to convert timespec to timeval for
utimes() the last 3 digits in the tv_nsec are not significant.
This makes the sudoedit file date comparison work again.
2007-06-14 11:09:49 +00:00
Todd C. Miller
4a7c81886e Add SUDO_ADD_AUTH macro to deal with adding things to AUTH_OBJS.
This deals with exclusive authentication methods in a simple way.
2007-06-13 17:41:44 +00:00
Todd C. Miller
927c229b90 mkstemp.c is BSD code too. 2007-06-12 17:08:21 +00:00
Todd C. Miller
3f2230617e No commercial support for now. 2007-06-12 13:21:40 +00:00
Todd C. Miller
7fb914ea0a cleanenv() is no more. 2007-06-11 22:27:43 +00:00
Todd C. Miller
214f7d07fb Display branch info in Changelog 2007-06-10 22:37:15 +00:00
Todd C. Miller
ce92c1cf6a Include config.h early so we have it for TIME_WITH_SYS_TIME 2007-06-10 22:18:46 +00:00