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

See this scenario:-

"Hello, I would like the user 'bob' created on these servers with sudo rights: list of 10 IP's"

How does a Unix sysadmin typically go about creating the user 'bob' with sudo rights on each server without having to do it manually?

share|improve this question

closed as not constructive by Michael Hampton, Iain Mar 1 '13 at 7:50

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. See the FAQ (link in the top menu) for guidance. –  Jenny D Mar 1 '13 at 7:42
    
Besides some form of multi-ssh tool (I'm including MCollective in this category) which have already been mentioned you can manage users in Puppet or Chef (and others) and you can also manage users with LDAP/Active Directory. All of these options can have the ability to restrict the user to only the correct machines and to grant sudo where necessary. –  Ladadadada Mar 1 '13 at 8:16

2 Answers 2

in general, automation via scripting would be the way forward.

share|improve this answer

Parallel SSH is one way to solve this specific problem, in a small installation without any existing configuration management.

In larger deployments we often use configuration management tools, such as Puppet, Chef or cfengine.

share|improve this answer

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