-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(profile::ccs::home) handle EL8+ login.defs home dir perms #1199
base: production
Are you sure you want to change the base?
Conversation
8905307
to
9e0c4ba
Compare
9e0c4ba
to
f1e2c3e
Compare
file_line { 'Change default home permissions for EL8+': | ||
path => '/etc/login.defs', | ||
match => '^HOME_MODE\s', | ||
line => 'HOME_MODE 0755', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would probably apply to home dirs created for IPA users as well. What is trying to be accomplished?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having it apply to IPA users is the wanted behaviour.
The intent is to make the home dirs of normal users world-readable by default, since this is a collaborative enterprise and people need to share work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to wait until Cristian returns from leave next week for further discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is on hold pending further discussion.
OK. If you want to keep them private (by default) for some security purposes, we'll live with it, but otherwise historically the CCS team's position was that we are all in this together, and these systems are designed for shared work towards common goals, not private silos. |
PS. the existing code that makes them public on CentOS 7 hosts has been in place for 4 years. |
So, any thoughts/discussion about this? |
No "further discussion" of any kind has happened in six months. 🤷♂️ |
To make new home directories world-readable by default in EL8+, it is necessary to modify HOME_MODE in /etc/login.defs.