mirror of
https://git.kernel.org/pub/scm/libs/libcap/libcap.git
synced 2026-01-30 11:25:13 +00:00
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: https://bugzilla.kernel.org/show_bug.cgi?id=215926 This has been annoying me for long enough, and I want to clean up the article: https://sites.google.com/site/fullycapable/inheriting-privilege to not pepper "--norc" in distracting places. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>