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.
  • Loading branch information
msekletar authored and keszybz committed Jun 7, 2023
1 parent 4030826 commit 159f1b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/login/systemd-user.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 159f1b7

Please sign in to comment.