Re: https://wiki.debian.org/DotFiles
On Sun, Apr 20, 2025 at 10:32:37 +0700, Max Nikulin wrote:
> P.S. DotFiles does not mention that PATH may be set through /etc/login.defs.
I don't think this is true; it changed in Debian 10 when the shadow-utils
suite was dropped in favor of util-linux.
hobbit:~$ man login.defs
[...]
BUGS
Much of the functionality that used to be provided by the shadow
password suite is now handled by PAM. Thus, /etc/login.defs is no
longer used by passwd(1), or less used by login(1), and su(1). Please
refer to the corresponding PAM configuration files instead.
SEE ALSO
login(1), passwd(1), su(1), passwd(5), shadow(5), pam(8).
shadow-utils 4.13 03/23/2023 LOGIN.DEFS(5)
hobbit:~$ su --version
su from util-linux 2.38.1
Reply to: