<g...@hillenius.net> wrote:

> I thought I (or something) had hosed my system, but it turns out this
> change is by design.

That was exactly my reaction. I don't think that it's acceptable to have
a major (unannounced) change in behaviour for an essential system
utility like "/bin/su".

some discussion here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833256#90

quote:

    Debian would have to add "ALWAYS_SET_PATH yes" to "/etc/login.defs"
    to preserve its current behavior.

current source code reference:

https://sources.debian.org/src/util-linux/2.32-0.3/login-utils/su-common.c/#L980

It seems that the previous behaviour can be restored, without source
code modifications, simply by changing a config file. That would seem to
be by far the best option.


-- Ian Bruce

Reply via email to