How to Secure User Accounts in a Shared Hosting Environment

usermod -a -G group1 lsws
usermod -a -G group2 lsws

/etc/group should likes like:

group1: lsws
group2: lsws 
chmod 0770 /home/user1