-
Notifications
You must be signed in to change notification settings - Fork 16
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
Customized /etc/realmd.conf being overwritten #78
Comments
I would prefer to keep the template based implementation of realmd.conf, rather than moving to use then in the template
|
Well realmd.conf is unfortunately a file not owned by realmd package so we can not check if user changed it by rpm -V realmd. |
But can it be owned by the
If we have to code it up in such a way that any/every change made to realmd.conf outside of the role must be preserved, then we are going to make the role very complicated . . . |
These realmd changes are just a workaround, it would be cleaner to have a proper solution to this (something similar to the realm join argument I would also add a comment in this template
Or maybe putting this in the README for the role variable is enough. |
|
@jaredmarcuccilli can you test #79 ? |
Worked exactly as expected, my PAM files are intact. Thanks for adding this so quickly. |
merged #79 |
Hello!
I am trying to work around this issue, where "realm join" overwrites a hardened password-auth/system-auth with authselect:
https://issues.redhat.com/browse/RHEL-5101
https://access.redhat.com/solutions/5956991
A suggested workaround is to customize /etc/realmd.conf to include these:
However, realmd.conf gets overwritten when the template is applied. An alternative would be to edit /usr/lib/realmd/realmd-distro.conf directly, but it would be nice if the role could accommodate customization of realmd.conf.
The text was updated successfully, but these errors were encountered: