On Wed, 29 Jul 2020 23:03:03 -0000 (UTC), William Unruh wrote:
On 2020-07-29, Bit Twister <[email protected]> wrote:
Here is a heads up about a change that may impact your setup.
Subject: [dev] Changing /etc/login.defs (default homedir permission, default umask)
https://ml.mageia.org/l/arc/dev/2020-07/msg00333.html
Easy check
$ ls -n /home
I am not sure what this is about or why the change in defaults should
make a difference. If you are upgrading, Mageia should not be changing
the permissions or the uid/gid on existing home directories anyway. Are
you saying it is changing those?
I am not saying nothing. This was just an fyi.
Ie, what are the potential problems?
Well, right off the bat, you might what to see what /etc/profile
does to $PATH. As I misunderstand it, login starts with
# grep /usr/lo /etc/login.defs
ENV_SUPATH PATH=/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin
ENV_PATH PATH=/usr/local/bin:/usr/bin
then user login files take over
Personally I think /etc/profile this snippet is wrong.
if [ "$EUID" = "0" ]; then
pathmunge /usr/sbin
pathmunge /usr/local/sbin
else
pathmunge /usr/local/sbin after
pathmunge /usr/sbin after
fi
as for your other "potential problems?" I would guess you did not bother
to read the treads responses. I can also suggest a glance at the thread
every once in awhile, unless you are subscribed to the dev mail list.
--- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
* Origin: A noiseless patient Spider (2:250/1@fidonet)