[sudo-users] Letting just selected environment variables through
rdiezmail-temp2 at yahoo.de
Wed Aug 2 00:09:11 MDT 2017
> That seems reasonable to me. We could modify the --preserve-env
> option to take an optional list of variables to preserve. E.g.
> sudo --preserve-env=VAR1,VAR2,VAR2 some command ...
> Used like that it would only preserve the specified variables. If
> no variables are specified, --preserve-env would behave as it does
> Sound good?
Sounds good to me! I would certainly appreciate it.
More information about the sudo-users