Skip to content

Commit

Permalink
pam: add call to pam_umask
Browse files Browse the repository at this point in the history
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 5e37d19.

(cherry picked from commit 159f1b78576ce91c3932f4867f07361a530875d3)

Resolves: RHEL-28048
  • Loading branch information
msekletar authored and jamacku committed Apr 11, 2024
1 parent f896e67 commit 49dbe60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/login/systemd-user.m4
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ session required pam_selinux.so nottys open
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session optional pam_umask.so silent
session optional pam_systemd.so

0 comments on commit 49dbe60

Please sign in to comment.