]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: add LOGIN_ENV_SAFELIST /etc/login.def item
authorKarel Zak <kzak@redhat.com>
Wed, 28 Aug 2024 10:10:50 +0000 (12:10 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 4 Sep 2024 11:39:03 +0000 (13:39 +0200)
commit579075976769ffc772012f82b1d2678f403ddb9a
tree5dd56e31160de1ed8029e01453e015e001bbb5f4
parent65f1d00e7d0c559517e56f990425e5b583954954
login: add LOGIN_ENV_SAFELIST /etc/login.def item

It is possible to preserve the entire environment (-p), but it is
rarely a good idea. The new configuration file item allows for
specifying a list of variables to protect, such as locale-related
environment variables.

Addresses: https://github.com/util-linux/util-linux/pull/3159
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.1.adoc
login-utils/login.c