Prevent 'capsh --user=xxx --' from generating a bash error.
This change adds support to capsh for the --noenv argument, which
will restore pre-libcap-2.65 behavior to capsh. The change we're
making here, however, is that capsh will now set the USER and HOME
environment variables when the command line contains --user=xxx.
The issue this addresses is described here:
This has been annoying me for long enough, and I want to clean up
to not pepper "--norc" in distracting places.
Signed-off-by: Andrew G. Morgan <email@example.com>
2 files changed