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

pam_passwdqc installation fails on CentOS 7.1 #102

Closed
chris-rock opened this issue Nov 29, 2015 · 4 comments · Fixed by #111
Closed

pam_passwdqc installation fails on CentOS 7.1 #102

chris-rock opened this issue Nov 29, 2015 · 4 comments · Fixed by #111

Comments

@chris-rock
Copy link
Member

* No candidate version available for pam_passwdqc
           ================================================================================
           Error executing action `install` on resource 'yum_package[pam-passwdqc]'
           ================================================================================

           Chef::Exceptions::Package
           -------------------------
           No candidate version available for pam_passwdqc

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cookbooks/os-hardening/recipes/pam.rb

           111:     package 'pam-passwdqc' do
           112:       package_name node['packages']['pam_passwdqc']
           113:     end
           114: 

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cookbooks/os-hardening/recipes/pam.rb:111:in `from_file'

           yum_package("pam-passwdqc") do
             action [:install]
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             package_name "pam_passwdqc"
             flush_cache {:before=>false, :after=>false}
             declared_type :package
             cookbook_name :"os-hardening"
             recipe_name "pam"
           end
@boldandbusted
Copy link
Contributor

Has this been applied? :) We're getting bit by this, sadly.

@virtadpt
Copy link

We just got caught by it here, too. It seems like a pretty straightforward fix, just make a conditional for RHEL/CentOS 7 that replaces it with the pam_pwquality package.

@chris-rock
Copy link
Member Author

@virtadpt & @boldandbusted please go ahead and open a PR to fix this

rollbrettler pushed a commit to rollbrettler/chef-os-hardening that referenced this issue Sep 16, 2016
Configurable PasswordAuthentication
@xuejiezhang
Copy link

@chris-rock

Hi Chris,

Do you know why pam-passwdqc gets replaced by pam-pwquality in Centos 7? The official document only says pam-passwdqc is not fully compatible and no detailed info can be found.

Thanks,
Jeff

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

Successfully merging a pull request may close this issue.

4 participants