您的位置:首页 > 运维架构 > Linux

查看Linux某用户属于哪个组

2015-04-26 17:39 260 查看
id user

groups user

举栗子:

[root@localhost tmp]# groups xp

xp : xp

[root@localhost tmp]# groups root

root : root bin daemon sys adm disk wheel

[root@localhost tmp]# id xp

uid=500(xp) gid=500(xp) groups=500(xp)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: