Skip to content
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

Error running on RHEL 7 due to syntax issues #112

Closed
tyrken opened this issue Jan 18, 2017 · 1 comment
Closed

Error running on RHEL 7 due to syntax issues #112

tyrken opened this issue Jan 18, 2017 · 1 comment

Comments

@tyrken
Copy link

tyrken commented Jan 18, 2017

I've been trying to use this project to start securing some RHEL 7 images, and getting errors largely due to bracket/operator precedence mistakes in https://github.com/dev-sec/ansible-os-hardening/blob/master/tasks/pam.yml#L49-L55. (The install of pam_passwdqc intended for RHEL6 still fires on RHEL7.)

I'm developing a PR to echo my local fixes, and am planning to switch to testing for the more generic ansible_os_family == 'RedHat' rather than just fixing the brackets. Largely posting this issue in case anyone has strong thoughts to the contrary...

I also can't find any 'pam_pwfamily' package to install on RHEL 7, despite #94 suggesting it is. I've confirmed with RHEL Support that libpwquality is installed by default, and would assume the related distros follow suite.

@rndmh3ro - is there anything I've not thought of in the above?

@tyrken tyrken mentioned this issue Jan 18, 2017
@tyrken
Copy link
Author

tyrken commented Jan 21, 2017

Closing following merged PR.

@tyrken tyrken closed this as completed Jan 21, 2017
rndmh3ro added a commit that referenced this issue Jul 24, 2020
Added support for PermitTunnel config switch
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this issue Aug 3, 2022
Added support for PermitTunnel config switch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant