user password management in Puppet info User mcfakey Provider useradd does not support features manages passwords not managing attribute password

0 votes

I am are trying to manage  a users password through puppet:

class user_password {
  user { 'mcfakey':
    ensure   => 'present',
    password => '$1$9VC1vFFa$GHKWgtdODti8eKqkQ7Ruv.',
  }
}

but it displays a message as shown below:

info: /User[mcfakey]: Provider useradd does not support features manages_passwords;
  not managing attribute password
Aug 9, 2019 in Puppet by Chitra
1,544 views

1 answer to this question.

0 votes
  • Ruby language support that puppet needs to manage a users password is missing and so it requires an additional software to be installed to do the needful.

  • If you're running on CentOS / Fedora this can be fixed by installing the ruby-shadowpackage, and on Debian / Ubuntu using libshadow-ruby will fulfill the requirement. 

  • You generally encounter this in gem or source based installs as your package manager should handle this dependency when installing puppet via a package.

  • It's worth noting that the user resource will still be added but the password will not be set to the value you chose.

answered Aug 9, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

Puppet:How does config management tools support kubernetes?

Container management tools and container orchestration tools ...READ MORE

answered Aug 21, 2019 in Puppet by Sirajul
• 59,230 points
606 views
0 votes
1 answer

Puppet+Kubernetes : What all Kubernetes features does puppetlabs/kubernetes module support?

The module currently supports types for kubernetes_pod kubernetes_service kubernetes_replication_controller kubernetes_node kubernetes_event kubernetes_endpoint kubernetes_namespace kubernetes_secret kubernetes_resource_quota kubernetes_limit_range kubernetes_peristent_volume kubernetes_persistent_volume_claim kubernetes_component_status kubernetes_service_account Not all ...READ MORE

answered Aug 22, 2019 in Puppet by Sirajul
• 59,230 points
1,270 views
0 votes
1 answer

Which version of Ruby does puppet support?

Hey @Raj, certain versions of Ruby are ...READ MORE

answered Feb 15, 2019 in Puppet by Uma
1,680 views
0 votes
1 answer

Error saying "Error: Could not autoload puppet/provider/package/rpm: No child processes." While installing gcc through puppet

Hey @Laksha, check your internet connectivity. You usually ...READ MORE

answered Feb 15, 2019 in Puppet by Jugnu
1,159 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,017 views
+2 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP