Linux 下查看用户所属的用户组

更新日期: 2020-01-03 阅读次数: 3493 字数: 55 分类: Linux

查看当前用户

> groups
zhongwei adm dialout cdrom floppy sudo audio dip video plugdev lxd netdev

查看指定用户

> groups root
root : root

> groups zhongwei
zhongwei : zhongwei adm dialout cdrom floppy sudo audio dip video plugdev lxd netdev

爱评论不评论