Commit Graph

59 Commits

Author SHA1 Message Date
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
Todd C. Miller
1f0fa1814b Be very clear that the password required is the user's not root's 1999-11-23 05:43:16 +00:00
Todd C. Miller
d00a8de2f0 get rid of references to sudo-bugs. Now mention the web site or the sudo@ alias 1999-11-16 05:42:28 +00:00
Todd C. Miller
ea90bc54b4 Remove -r realm option 1999-10-13 04:18:41 +00:00
Todd C. Miller
421aca163c document -L flag 1999-10-12 00:05:39 +00:00
Todd C. Miller
e50798ff5b rename "ENVIRONMENT VARIABLES" section to "ENVIRONMENT" to be more standard and add "EXAMPLES" section 1999-08-26 09:10:12 +00:00
Todd C. Miller
b7a10e7403 Add BUGS section 1999-08-17 15:20:48 +00:00
Todd C. Miller
29974bceb3 Add copyright
Update to reality
1999-08-01 16:25:25 +00:00
Todd C. Miller
0e2cc2b7a8 o Document -K flag and update meaning of -k flag.
o BSD-style copyright
o Document clearing of BIND resolver environment variables
o Clarify bit about shared libs
o suggest rc files create /tmp/.odus if your OS gives away files
1999-07-22 13:01:20 +00:00
Todd C. Miller
aeffa02a17 fix grammar; espie@openbsd.org 1999-02-17 16:40:55 +00:00
Todd C. Miller
50219d0aa0 Make it clear that it is the user's password, not root's, that we want. 1999-02-07 00:47:32 +00:00
Todd C. Miller
dab5a01333 clarify bad timestamp and fmt 1999-02-01 00:45:02 +00:00
Todd C. Miller
826fe213f2 add sudo tags 1999-01-17 23:16:20 +00:00
Todd C. Miller
3983a7a651 kerb5 support from fcusack@iconnet.net 1999-01-17 22:08:55 +00:00
Todd C. Miller
0aad2d5afd document setting $USER 1998-11-05 17:59:35 +00:00
Todd C. Miller
5f41948de9 environmental variable -> environment variable 1998-10-17 20:19:08 +00:00
Todd C. Miller
5bfb481ca7 no more options.h 1998-10-15 05:41:26 +00:00
Todd C. Miller
a703659c39 remove author's email addr. people should mail sudo-bugs 1998-01-13 04:59:54 +00:00
Todd C. Miller
52fb34f921 talk about problem of ALL 1997-11-23 05:21:20 +00:00
Todd C. Miller
0df08805e0 added -H and SUDO_PS1 1996-10-07 04:59:08 +00:00
Todd C. Miller
bf1f33e517 courtesan 1996-09-08 00:00:01 +00:00
Todd C. Miller
aa50602a5b documented %u and %h 1996-08-30 04:24:21 +00:00
Todd C. Miller
3d560a9481 document $HOME change 1996-08-18 00:02:28 +00:00
Todd C. Miller
3750144587 fixed up some wording 1996-08-17 23:43:41 +00:00
Todd C. Miller
37069572fc -l now explands command aliases 1996-08-17 22:26:52 +00:00