diff options
author | Stanislav Brabec | 2019-01-10 01:28:53 +0100 |
---|---|---|
committer | Karel Zak | 2019-01-10 12:26:38 +0100 |
commit | 15a191f6d30dfe202a080a3d90968b63d695a29f (patch) | |
tree | 68ba70786c1126531ffbfb03bbc17759559fec54 /login-utils/runuser.1 | |
parent | fdisk: make partition types uses more robust (diff) | |
download | kernel-qcow2-util-linux-15a191f6d30dfe202a080a3d90968b63d695a29f.tar.gz kernel-qcow2-util-linux-15a191f6d30dfe202a080a3d90968b63d695a29f.tar.xz kernel-qcow2-util-linux-15a191f6d30dfe202a080a3d90968b63d695a29f.zip |
su-common.c: prefer /etc/default/su over login.defs
su(1) documentation says:
/etc/default/su command specific logindef config file
/etc/login.defs global logindef config file
It indirectly indicates that /etc/default/su should take precedence
over /etc/login.defs.
But the reverse is true. It is not possible to define ENV_PATH in
/etc/login.defs and then make su specific customization in
/etc/default/su. We need to change read order to match the documented
behavior.
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Diffstat (limited to 'login-utils/runuser.1')
0 files changed, 0 insertions, 0 deletions