Package: sudo
Version: 1.6.9p11-3
Severity: wishlist

I configure my system such that I have full sudo permissions, so in
particular I have permission to use "sudo -E" to preserve the entire
environment.  I like the idea of filtering the environment via a
whitelist, to avoid potentially undesirable behavior when running
programs as another user; however, I'd like the ability to extend this
whitelist without resorting to the big hammer of -E.  Thus, I'd really
like a command-line option or (more importantly) an environment
variable which would specify additional environment variables to keep,
treating them as though specified in /etc/sudoers with env_keep.  I
could then set that in my .bashrc to preserve some useful environment
variables, such as LESSHISTFILE (so I stop getting a root-owned
~/.lesshst in $HOME), LESS, EDITOR, EMAIL, PROMPT_COMMAND, GREP_COLOR,
and GREP_OPTIONS.

- Josh Triplett

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sudo depends on:
ii  libc6                         2.7-8      GNU C Library: Shared libraries
ii  libpam-modules                0.99.7.1-5 Pluggable Authentication Modules f
ii  libpam0g                      0.99.7.1-5 Pluggable Authentication Modules l

sudo recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to