-   Linux - Newbie (
-   -   shell script for adding multiple users on multiple servers. (

newtech 04-06-2015 11:46 AM

shell script for adding multiple users on multiple servers.
i want to create multiple users on multiply servers, is there anyway to create a script to do that? i have about 50 users that i need to create on 5 boxes.

i would really appreciate the help if someone can assist me with script to do that.


pan64 04-06-2015 11:49 AM

Sure you can easily create a script and execute it five times on the boxes. But first would be nice to know how do you want to create those users (userids, homes, shells, groups, other defaults...), where are the usernames coming from? Do you have already something to start with?

newtech 04-06-2015 11:57 AM

User names are coming from other team, asking to create individual IDs for support purposes.
and i have a list of user names and list of servers.

TenTenths 04-07-2015 03:58 AM

Ok, so what have you written so far?

---------- Post added 7th Apr 2015 at 09:59 AM ----------

Oh, and if adding / deleting users on multiple servers is going to be a regular occurrence then look at FREEIPA as an option.

All times are GMT -5. The time now is 01:55 PM.