LinuxSoftware

Coding and tramping in Aotearoa / New Zealand

Linux "classic" security is based on users and groups. (See SELinux for extended security.)

Red Hat used to have a good chapter on this /!\ TODO find a link to it.

Add existing user tony to ftp supplementary/secondary group with usermod command using -a option ~ i.e. add the user to the supplemental group(s). Use only with -G option : usermod -a -G ftp tony

To have all files/directories in a directory created with a certain group id chmod -R g+s thatdir