Adding users to multiple services? (shell script or php)
I want to add/remove users to the system, samba and the webserver in one input. Not sure how to contruct a good script for this.
One problem is that when I write adduser --disabled-login $varname it doesn't work. While adduser $varname works fine.
I also wonder how the same password will be added in all of these.
|