Re: Create 10 users across 20 servers (269 Views)
Reply
Regular Advisor
coollllllllllll
Posts: 140
Registered: ‎12-28-2012
Message 1 of 4 (345 Views)

Create 10 users across 20 servers

Hi ,

 

 I need to create 10 users across 20 servers without logging in all 20 servers.

how can this be achieved ?

Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 4 (334 Views)

Re: Create 10 users across 20 servers

Sounds like a trick question, or maybe related to something that is specific to your site. Maybe the answer is "Create the users in a central NIS or LDAP directory that has already been configured."

 

If there is no NIS, LDAP or similar central user information facility already set up, there is no way to create the users without logging in to each server at least once.

 

Or maybe you have some central management software that can run scripts in all 20 servers in an automated fashion? In that case, you should create a script that creates the users and sets their passwords, then have the management software do the work of sending the script to each server and running it. Then, "you" will not technically be logging to each server, but the management software will be doing something very similar under your control.

 

(Security note: if you do this, you should create the password hashes in one system and only add the pre-generated password hashes to your script. Never put plaintext passwords in scripts if you can avoid it.)

MK
Regular Advisor
coollllllllllll
Posts: 140
Registered: ‎12-28-2012
Message 3 of 4 (272 Views)

Re: Create 10 users across 20 servers

Hi ,

 

Can we use ssh keys and do it ??

 

Acclaimed Contributor
Dennis Handly
Posts: 25,063
Registered: ‎03-06-2006
Message 4 of 4 (269 Views)

Re: Create 10 users across 20 servers

>Can we use ssh keys and do it?

 

You are still logging on, though possibly without a password.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.