查看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)
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)
相关文章推荐
- linux下查看用户属于哪个用户组
- 查看Linux某用户属于哪个组
- oracle查看用户属于哪个表空间
- linux上如何查看具体的命令属于哪个安装包
- Linux查看用户属于哪些组/查看用户组下有哪些用户
- linux下查看某个文件属于哪个包
- linux查看自己是哪个用户
- linux下查看当前目录属于哪个分区?
- linux查看命令属于哪个安装包
- oracle怎么查看用户属于哪个表空间
- Linux查看某个命令属于哪个包
- Linux系统下如果查看用户的UID和GID
- [备忘]Linux操作系统里查看所有用户
- Linux 基础操作 (四)————查看用户信息及修改、提权、修改密码
- Linux系统下查看已经登录用户并踢出的方法
- AIX里如何查看文件系统属于哪个VG?
- linux学习入门 基础部分(5)[用户理解 用户涉及到的系统配置文件 用户管理《建立,删除,查看,更改》 权力下放 忘记密码。
- Linux上查看用户名和组并把特定用户放到特定的组之下
- 查看某个命令是属于哪个rpm包的
- linux top命令查看用户内存大小方法