[CentOS] adding users on multiple servers

Kwan Lowe kwan.lowe at gmail.com
Thu Apr 1 18:12:24 UTC 2010


On Thu, Apr 1, 2010 at 11:20 AM, Ryan Manikowski <ryan at devision.us> wrote:
> If you have your own account on each of the boxes the ssh key method is
> the best.
>
> 1) Create ssh keys for YOUR unprivileged user account.
>
> 2) Add YOUR account to /etc/sudoers by adding:  user    ALL=NOPASSWD:
> /bin/su -
>
> Then from there you can use clusterssh to connect to all the boxes
> simultaneously. Issue the 'sudo su -' command while logged in with your
> account, then run add the new users on all of the systems.

Might save a step to just add ALL to the user sudo... That way doesn't
need to su over..



More information about the CentOS mailing list