Linux File Permissions - rosepheobieshea/SYS-255-Tech-Journal GitHub Wiki
commands
add user useradd <user>
change user password passwd <user>
add group groupadd <groupname>
add user to group usermod -aG <group> <user>
-a
(append) ensures user doesn't get dropped from another group
-G
(group) \
change group a file/directory belongs to chgrp <group> <directory>
change permissions for file/directory chmod <value> <directory/file>
change owner of file/directory chown <user> <directory/file>