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

How to add a single users in all the 100 servers When there is no centralization for adding users. What would be the best way to add users in all the 100 systems

share|improve this question

closed as off-topic by Nathan C, Matthew Ife, Ward, HopelessN00b, mdpc Jul 9 at 17:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Nathan C, Matthew Ife, Ward, HopelessN00b
If this question can be reworded to fit the rules in the help center, please edit the question.

6  
Fix "there is no centralization for adding users" first. –  Michael Hampton Jul 9 at 13:26
    
Is implementing LDAP or NIS or some other centralized authentication scheme not an option? –  John Jul 9 at 13:27
    
a user should be able to login in from all the systems no centralization for adding users –  user229588 Jul 9 at 14:01
2  
Well, if you can't add centralized authentication (LDPA, NIS, w/e), or centralized configuration management (ansible, puppet, chef, w/e), then in order to add a user on 100 servers... you'll have to add a user on 100 servers. –  HopelessN00b Jul 9 at 15:22

1 Answer 1

(This is not meant to be a full answer)

I've been working with Ansible lately. Love it or hate it, this is a perfect fit for exactly what you're attempting to ask.

With that assumption, these steps will work pretty darn quick.

From: http://docs.ansible.com/intro_installation.html

$ git clone git://github.com/ansible/ansible.git
$ cd ./ansible
$ source ./hacking/env-setup

From: http://docs.ansible.com/intro_adhoc.html

Create an inventory file of your hosts

$ ansible all -m user -a "name=foo password=<crypted password here>"
share|improve this answer

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