从用户组中删除某个用户

[root@xxx home]# cat /etc/group|grep wheel
wheel:x:10:usee01,user02,user03,user04
[root@xxxx home]# gpasswd wheel -d yitian
Removing user user04 from group wheel
[root@Appsrv160 home]# cat /etc/group|grep wheel
wheel:x:10:usee01,user02,user03
原文地址:https://www.cnblogs.com/bass6/p/7374498.html