summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/varsub
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2007-07-26 16:10:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2007-07-26 16:10:17 +0000
commit828fe35b0dee0a24eae19e816e9f6bc05c720bc0 (patch)
tree2adb27efde016e50eadcf2e74892e19861268a25 /usr.bin/sudo/varsub
parenteb13f7f0aa17caa3bf79e5518751b3f095fb2445 (diff)
Update to sudo 1.6.9p1. Note that the environment handling in sudo
1.6.9 has changed relative to older versions. Sudo now starts commands with a minimal environment containing the variables in the env_keep and env_check lists. This behavior is configurable in the sudoers file. Please see the "SECURITY NOTES" section in the sudo manual.
Diffstat (limited to 'usr.bin/sudo/varsub')
-rw-r--r--usr.bin/sudo/varsub32
1 files changed, 32 insertions, 0 deletions
diff --git a/usr.bin/sudo/varsub b/usr.bin/sudo/varsub
new file mode 100644
index 00000000000..875c1535ffd
--- /dev/null
+++ b/usr.bin/sudo/varsub
@@ -0,0 +1,32 @@
+/^=head1 OPTIONS$/d
+s/^.*accepts the following command line options:.*$/The options are as follows:/
+s/@passprompt@/Password:/g
+s:@badpass_message@:Sorry, try again.:g
+s:@badpri@:alert:g
+s:@env_editor@:on:g
+s:@fqdn@:off:g
+s:@goodpri@:notice:g
+s:@ignore_dot@:off:g
+s:@insults@:on:g
+s:@lecture@:on:g
+s:@logfac@:authpriv:g
+s:@loglen@:80:g
+s:@long_otp_prompt@:off:g
+s:@mail_no_host@:off:g
+s:@mail_no_perms@:off:g
+s:@mail_no_user@:on:g
+s:@mailsub@:*** SECURITY information for %h ***:g
+s:@mailto@:root:g
+s:@mansectform@:5:g
+s:@mansectsu@:8:g
+s:@noexec_file@:/usr/libexec/sudo_noexec.so.:g
+s:@passwd_tries@:3:g
+s:@password_timeout@:5:g
+s:@root_sudo@:on:g
+s:@runas_default@:root:g
+s:@sudo_umask@:022:g
+s:@sysconfdir@:/etc:g
+s:@timedir@:/var/run/sudo:g
+s:@timeout@:5:g
+s:@tty_tickets@:off:g
+s:@path_info@:off:g