1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-12 13:18:14 +03:00

pam: add call to pam_umask

Setting umask for user sessions via UMASK setting in /etc/login.defs is
a well-known feature. Let's make sure that user manager also runs with
this umask value.

Follow-up for 5e37d1930b.
This commit is contained in:
Michal Sekletar 2023-05-31 18:50:12 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 403082602d
commit 159f1b7857

View File

@ -19,4 +19,5 @@ session required pam_namespace.so
{% if ENABLE_HOMED %}
-session optional pam_systemd_home.so
{% endif %}
session optional pam_umask.so silent
session optional pam_systemd.so