systemd/systemd-user
Jan Macku 07d5d69035 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
2024-03-12 10:16:52 +01:00

14 lines
368 B
Plaintext

# This file is part of systemd.
#
# Used by systemd --user instances.
account sufficient pam_unix.so no_pass_expiry
account include system-auth
session required pam_selinux.so close
session required pam_selinux.so nottys open
session required pam_loginuid.so
session required pam_namespace.so
session optional pam_umask.so silent
session include system-auth