for apache and lighttpd setups, you can use:
https://github.com/Voruse/Fangspitzen/blob/master/tools/add-user.sh
asks for new users' login name
asks if this new user should have ssh login ability
autodetects if your using one of the rpc plugins, and if not, creates an rpc mount point
creates...