Skip to content

Commit

Permalink
(profile::ccs::home) handle EL8+ login.defs home dir perms
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmorris committed Jun 4, 2024
1 parent 0961f29 commit 8905307
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions site/profile/manifests/ccs/home.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@
match => '^UMASK ',
line => 'UMASK 022',
}
file_line { 'Change default home permissions for EL8+':
path => '/etc/login.defs',
match => '^HOME_MODE ',
line => 'HOME_MODE 0755',
append_on_no_match => false,
}
}

0 comments on commit 8905307

Please sign in to comment.