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.

rhel-only

Resolves: RHEL-28048
This commit is contained in:
Jan Macku 2024-03-12 10:16:52 +01:00
parent 12d10ed400
commit 07d5d69035

View File

@ -9,4 +9,5 @@ session required pam_selinux.so close
session required pam_selinux.so nottys open session required pam_selinux.so nottys open
session required pam_loginuid.so session required pam_loginuid.so
session required pam_namespace.so session required pam_namespace.so
session optional pam_umask.so silent
session include system-auth session include system-auth