In Ubuntu 12.04, I'm having difficulties creating a script (since I'm not experienced with it), and is assigned to add multiple users from a list of names in file usernames.txt.
- The users will have url: hxxp://hostname/~userN, where N is integer.
- The users can SSH with password which is the same with the username.
- The users will have file /home/userN/public_html/index.html consist of text: Hello userN
- The users also have a database with name & password is userN.
I have configured apache userdir, mysql. Thanks for any helps...