Configure access for the webserver
# groupadd users # vim /etc/users
users:x:###:root,apache
Add sysadmin and developer users (e.g. sysadmins would be stephen, justin, and mike; developers would be tommy). Also add a user called util to function as the user from the utility server. (Add the contents of the /root/.ssh/id_rsa.pub from the utility server)
# useradd USER # mkdir /home/USER/.ssh # vim /home/USER/.ssh/authorized_keys
Copy in the user's public key(s)
# chown -R USER:USER /home/USER/.ssh # chmod -R 755 /home/USER/.ssh # chmod 644 /home/USER/.ssh/authorized_keys # vim /etc/group
add ",USER" to the end of the users line (e.g.)
users:x:100:root,apache,justin,mikemclean,vomitHat,tommy
if the user is also a sysadmin, set their password so that they can sudo
# passwd USER