diff options
author | Karel Zak | 2018-08-22 11:43:32 +0200 |
---|---|---|
committer | Karel Zak | 2018-08-22 11:43:32 +0200 |
commit | 89f95425746e0371c033260c2bc0ef176eba6a37 (patch) | |
tree | aab4a1fc2bdd8f9da9c3087b437c32dac46f14a3 /libsmartcols | |
parent | su: add note about merged /usr (diff) | |
download | kernel-qcow2-util-linux-89f95425746e0371c033260c2bc0ef176eba6a37.tar.gz kernel-qcow2-util-linux-89f95425746e0371c033260c2bc0ef176eba6a37.tar.xz kernel-qcow2-util-linux-89f95425746e0371c033260c2bc0ef176eba6a37.zip |
setpriv: add --reset-env
Clear environment in way like su(1), but PATH is set to hard-coded
defaults and /etc/login.defs is not used at all (I guess we want to
keep setpriv(1) simple).
If you need anything more advanced than use env(1).
Addresses: https://github.com/karelzak/util-linux/issues/325
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols')
0 files changed, 0 insertions, 0 deletions