I am aware that usermod -g
is not best practice from many posts like this however they normally explain the usermod
should not be used as it changes the primary group of a user. These posts don't seem to take into account the -aG
switch which just appends the group.
Is this still poor practice or no different than using gpasswd -a
?