domingo, 16 de agosto de 2009

Linux - Add a existing user to existing group

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

Change existing user tony primary group to www:
# usermod -g www tony

No hay comentarios: