Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to know how to solve multiple user account managing on Linux.

For example, I have few linux servers. Few employee have access to all linux servers with their own usernames.

When these is a new employee I should create a new user account on all server.

What is the best way to do so?

I use chef for server deployment.

share|improve this question
2  
Probably use openldap to manage posix accounts and set up pam to create home directories if the don't exist. You can then use phpldapadmin to create and manage ldap accounts. –  Isaac Aug 20 '12 at 12:07

2 Answers 2

up vote 1 down vote accepted

You are already using chef and why not use it to manage user accounts? See here -- https://github.com/fnichol/chef-user

We use puppet in our infrastructure and use it to manage user accounts on 300+ servers.

share|improve this answer

I guess you could use Chef; but then Chef has to know your passwords so it can write them to the filesystem.

The typical way to do this is delegate the PAM login to a centralized authority such as an LDAP server. Add the new user to your LDAP directory and they will be able to log in to all the machines.

Users can also change their passwords through the PAM+LDAP mechanism; I'm not sure how you would handle password changes in a pure Chef environment.

I knew this was possible but had no clue how to actually do it; I didn't have much trouble finding a sysadmin who knew the nuts and bolts.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.