gpasswd -d userName groupName
# id用來查看用戶屬性 [root@gl gl]# id root uid=0(root) gid=0(root) groups=0(root),1000(gl) [root@gl gl]# gpasswd -d root gl Removing user root from group gl [root@gl gl]# id root uid=0(root) gid=0(root) groups=0(root)
gpasswd -d userName groupName
# id用來查看用戶屬性 [root@gl gl]# id root uid=0(root) gid=0(root) groups=0(root),1000(gl) [root@gl gl]# gpasswd -d root gl Removing user root from group gl [root@gl gl]# id root uid=0(root) gid=0(root) groups=0(root)
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。