On 01-09-2025 17:01, Chris Hofstaedtler wrote:
>
> adduser has its own configuration, see adduser.conf(5), specifically
> the USERGROUPS setting.
>
> Chris
>
>

Ok, I tested a couple of things with 'useradd' now and it does indeed
work. But for UMASK to work, USERGROUPS_ENAB has to be set to 'no',
otherwise UMASK does not work. When set to 'yes', it accepts all UMASK
values.
It even works for kde/plasma. But only for newly created users. I tried
to find where these settings are stored/changed so I can use it for
existing users but could not find the config files where these settings
are stored.
For plasma/kde it still seems impossible to achieve UPG with UMASK 022,
you have to disable the UPG and then for newly created users you can
choose the UMASK. Maybe the systemd UMask works now that UPG is
disabled. I will check later.

Emails to bug.debian.org are working now.

Reply via email to