Commit Graph

83 Commits

Author SHA1 Message Date
Todd C. Miller
8f90cfbd89 Preserve DISPLAY environment variable by default. 2005-06-25 21:46:16 +00:00
Todd C. Miller
963ca5045d commna, not colon after e.g. 2005-03-13 00:26:33 +00:00
Todd C. Miller
abc10fd9a6 I am the primary author 2005-03-06 00:33:18 +00:00
Todd C. Miller
778d587063 Update copyright years. 2005-02-12 22:56:07 +00:00
Todd C. Miller
0b1ef8ff53 Sort command line options 2004-12-16 19:20:12 +00:00
Todd C. Miller
051a2110a4 Add closefrom sudoers option to start closing at a point other than 3.
Add closefrom_override sudoers option and -C sudo flag to allow the
user to specify a different closefrom starting point.
2004-12-16 18:33:49 +00:00
Todd C. Miller
5f06b19a6e Add -U option to use in conjunction with -l instead of -u.
Add support for "sudo -l command" to test a specific command.
2004-11-24 21:31:51 +00:00
Todd C. Miller
85d1ca15a7 Update env variable info in SECURITY NOTES 2004-11-11 16:30:01 +00:00
Todd C. Miller
92d0954bcc Document that -l now takes an optional username argument 2004-10-26 20:08:24 +00:00
Todd C. Miller
a79c3af487 Mention PREVENTING SHELL ESCAPES section of sudoers man page 2004-09-27 18:05:58 +00:00
Todd C. Miller
a5e0ff8640 back out revision 1.70; it is no long applicable 2004-09-08 18:34:38 +00:00
Todd C. Miller
eb49afe6c8 Add SUPPORT section and re-order some of the sections to match the order
we use in OpenBSD.
2004-09-06 20:45:27 +00:00
Todd C. Miller
c6d8ea8afb Talk about how the editor must write its changes to the original file and
not just use rename(2).
2004-09-06 16:18:54 +00:00
Todd C. Miller
ecc1efce9f Don't italicize the string "sudoedit" 2004-08-17 18:53:16 +00:00
Todd C. Miller
6f44518f3b =back does not take an indentlevel (makes no difference to formatted files). 2004-08-06 23:56:15 +00:00
Todd C. Miller
bc1b9cb80d Document the restriction on uids specified via -u when targetpw is set. 2004-08-06 23:31:20 +00:00
Todd C. Miller
0adaed9c92 Mention --with-secure-path, not SECURE_PATH. 2004-08-05 18:29:55 +00:00
Aaron Spangler
5f3d569e35 Clarification thanks to Olivier Blin <oblin@mandrakesoft.com> 2004-07-31 03:07:20 +00:00
Todd C. Miller
18dae902b2 o Update some out of date bits to reality
o Change the shell promt in examples to bourne-shell style
o Clarify some details
o Add a CAVEAT about "sudo cd /foo"
2004-06-10 20:53:03 +00:00
Todd C. Miller
c7d5a998d3 Fix some minor typos and formatting goofs 2004-05-17 22:19:56 +00:00
Todd C. Miller
d5e0c4d825 Use @mansectform@ and @mansectsu@ everywhere
Make man page references links with L<>
2004-05-17 21:55:52 +00:00
Todd C. Miller
21e3ca9cf8 More to a less restrictive, ISC-style license. 2004-02-13 21:36:43 +00:00
Todd C. Miller
be4bcc99c9 Add sudoedit to the NAME section 2004-02-01 20:03:22 +00:00
Todd C. Miller
f452989c9e Clarify that when sudo is run by root with the SUDO_USER variable set,
the sudoers lookup happens for root and not the SUDO_USER user.
2004-01-30 00:41:43 +00:00
Todd C. Miller
be8c6acf64 Document sudo -e / sudoedit 2004-01-22 01:00:54 +00:00
Todd C. Miller
1b7cf30c7b Document the new -i flag and sync SYNOPSIS section with usage() in sudo.c.
Also sort the flags in the OPTIONS section.
2004-01-18 22:56:27 +00:00
Todd C. Miller
051943b687 Mention noexec 2004-01-09 21:24:50 +00:00
Todd C. Miller
f13528b0b1 add DARPA credit on affected files 2003-04-16 00:42:10 +00:00
Todd C. Miller
48229cbac6 update copyright year 2003-03-15 20:31:02 +00:00
Todd C. Miller
fc387e982d fix typo 2003-03-07 15:46:18 +00:00
Todd C. Miller
4a48a0f679 typos; jmc@openbsd.org 2003-01-23 08:03:51 +00:00
Todd C. Miller
3bfbd4b1e3 document new prompt escapes 2002-12-14 19:21:27 +00:00
Todd C. Miller
2abe7d8e13 Use sudo.ws instead of courtesan.com in URLs 2002-01-12 22:55:01 +00:00
Todd C. Miller
761b119e2e Add new sudoers option "preserve_groups". Previously sudo would not
call initgroups() if the target user was root.  Now it always calls
initgroups() unless the -P command line option or the "preserve_groups"
sudoers option is set.  Idea from TJ Saunders.
2001-12-15 00:24:27 +00:00
Todd C. Miller
47dff37185 o Update copyright year 2001-12-14 19:54:56 +00:00
Todd C. Miller
eac21ad7bf Add security note about command not being logged after 'sudo su' and
friends.
2001-11-13 00:31:20 +00:00
Todd C. Miller
031b009219 Mention that -V prints default values when run as root, including
the list of environment variables to clear.
2001-11-13 00:19:29 +00:00
Todd C. Miller
998631b73a New Defaults options:
o stay_setuid - sudo will remain setuid if system has saved uids or setreuid(2)
 o env_reset - reset the environment to a sane default
 o env_keep - preserve environment variables that would otherwise be cleared

No longer use getenv/putenv/setenv functions--do environment munging by hand.
Potentially dangerous environment variables can be cleared only if they
contain '/' pr '%' characters to protect buggy programs.
Moved environment routines into env.c (new file)
2000-12-30 03:29:47 +00:00
Todd C. Miller
211d8c7de0 Grammatical fixes from Paul Janzen 2000-12-19 03:35:07 +00:00
Todd C. Miller
975a58f6c4 Document -a flag 2000-10-26 17:01:50 +00:00
Todd C. Miller
44b9e4d4b3 Fix a typo and give a URL for the sudo history. 2000-10-09 01:46:55 +00:00
Todd C. Miller
ded7261fad fix typos; pepper@reppep.com 2000-10-08 16:25:58 +00:00
Todd C. Miller
fafefc1df9 Substitute values from configure into man pages. 2000-08-13 21:09:22 +00:00
Todd C. Miller
30daa83259 Use B<-Z> not C<-Z> for command line flags in all places. This is more
consistent and works around a bug in Pod::Man.
2000-04-22 18:15:15 +00:00
Todd C. Miller
d4be49c5fc Put back real man sections, we will do the substitution later. 2000-04-07 14:26:23 +00:00
Todd C. Miller
2588aeaa5c Clear up confusion wrt sudo's return value. 2000-04-01 21:22:11 +00:00
Todd C. Miller
6c94d8d231 Use @mansectsu@ and @mansectform@ in the man page bodies as well. 2000-03-27 03:26:24 +00:00
Todd C. Miller
d168a21cee Add FreeBSD login.conf support (untested on BSD/OS) based on a patch from
Michael D. Marchionna.
configure now does substitution on the man pages, allowing us to
fix up the paths and set the section correctly.  Based on an idea
from Michael D. Marchionna.
2000-03-23 00:35:59 +00:00
Todd C. Miller
f7fa520540 document -S flag 2000-02-27 03:56:41 +00:00
Todd C. Miller
df7c6e0bff fix some syntactic goofs 1999-11-29 01:57:05 +00:00