I need to add a new user (and add them to an existing group) for basic authentication on many different servers. What's the fastest way to do this?
The slow, dull way would be to ssh in to a server, run the htpasswd command, manually edit the groups file to add them and then copy those files to the several dozen other servers I would need to add them to (hmmm... but there may be different users on certain servers so I will likely have to do the entire process from scratch on each one). There's got to be a better way (plus I don't want to do this each time I have to add someone). How would you do this?