更改附加组三种方法(保持原有附加组)

1.usermod -aG 组名 用户名
2.groupmems -a 用户名 -g 组名
3.gpasswd -a 用户名 组名

原文地址:https://www.cnblogs.com/lqynkdcwy/p/9382892.html