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: #2210145
This commit is contained in:
Jan Macku 2023-06-28 12:51:08 +02:00
parent e181f5306e
commit 8478dae30b

View File

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