Linux / UNIX Tech Support Forum
This is a discussion on useradd on multiple servers within the Shell scripting forums, part of the Development/Scripting category; ex. i have 20 servers and i want to add a new user to those servers all at once using ...
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
ex. i have 20 servers and i want to add a new user to those servers all at once using a script (bash or perl) thru ssh (setup without keys)
|
| Sponsored Links | ||
|
|
|
||||
|
It is better to create centralized OpenLDAP server for login. To create such script you need ssh keys.
__________________
Vivek Gite Linux Evangelist |
|
||||
|
Yes you can use sshpass, but it will expose your password if someone run ps aux command.
__________________
Vivek Gite Linux Evangelist |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script to rm files on multiple servers | steve_f60 | Shell scripting | 1 | 21-06-2008 10:29 PM |
| Progate account across several servers | piggy | Shell scripting | 0 | 06-03-2008 08:03 AM |
| login into multiple servers thru script... | avcert1998 | Shell scripting | 2 | 17-03-2007 03:29 AM |
| Script to add users to multiple servers. | deepakhg | Shell scripting | 0 | 17-03-2007 03:02 AM |
| HP UX create or add users from command line using useradd | rockdalinux | HP-UX | 0 | 20-12-2006 02:13 PM |