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-06-07 10:51:45 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 403082602d
commit 159f1b7857
+1
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