I have a fresh installation of Ubuntu 10.10 Server w/ LAMP. I've created a new user account and added a public_html folder in their home directory. I installed and used Webmin to create a new VirtualHost and modified that host's DocumentRoot to /userfolder/public_html. In addition, I've properly symlinked the config file for that Vhost from sites-available to sites-enabled.
As of right now, I'm the only user on the server. If I want to add others (new user account, separate public_html directory), do I just repeat the process above? Or, are their security considerations? What permissions do these directories need (chown useraccount, chgrp www-data, chmod 755)? Can I apply umask 022 automatically to all new files/folders?
Thanks in advance for any help.