-
Notifications
You must be signed in to change notification settings - Fork 741
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
Add oddjob mkhomedir option rhel pam #675
Conversation
Can you please add the variable to the readme, with a description? And please sign-off your commits as described here: https://github.com/dev-sec/ansible-collection-hardening/pull/675/checks?check_run_id=13660004577 Other than that: looks good! |
Signed-off-by: Jochen Demmer <[email protected]>
Signed-off-by: Jochen Demmer <[email protected]>
Signed-off-by: Jochen Demmer <[email protected]>
Signed-off-by: Jochen Demmer <[email protected]>
Ok, what's wrong with the variable names (Ansible Lint)? I don't get it. |
It's a new requirement, you can ignore it. |
@@ -47,6 +47,9 @@ password required pam_deny.so | |||
session optional pam_keyinit.so revoke | |||
session required pam_limits.so | |||
-session optional pam_systemd.so | |||
{% if (os_auth_pam_oddjob_mkhomedir | bool) %} | |||
session optional pam_oddjob_mkhomedir.so umask=0077 |
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.
sorry for being late to the party.
We have a special variable fo setting the expected umask (os_env_umask
). While checking for this, I also found, that this setting might be ignored, because of authselect/authselect#223
So no real problem here, but a minor inconvenience from my point of view.
Added mkhomedir option for RedHat based systems, e.g. in FreeIPA environments.