[Pkg-shadow-devel] Bug#918754: bash: $PATH in bash does not include /sbin and /usr/sbin
debian at decotrain.de
Sun Sep 8 02:57:58 BST 2019
Am 06.09.19 um 00:41 schrieb Markus Koschany:
> This is a new behavior because the util-linux implementation of su is
> used now. See also /usr/share/doc/util-linux/NEWS.Debian.gz for more
> "If you want to restore behaviour more similar to
> the previous one you can add 'ALWAYS_SET_PATH yes' in /etc/login.defs."
My /etc/login.defs is now
# *REQUIRED* The default PATH settings, for superuser and normal users.
# (they are minimal, add the rest in the shell startup files)
This seems to work.
But to solve the problem this should be added by default.
Then this bug can be closed.
More information about the Pkg-shadow-devel