标签:
命令为id
//查看自己的ID
id
结果显示如下:
uid=1000(hanadmin) gid=1000(han) groups=1000(han),4(adm),20(dialoum),46(plugdev),110(lpadmin)
//查看exam1用户的id
id exam1
结果显示如下:
uid=1010(exam1) gid=100(users) groups=100(users),4(adm)
标签:
原文地址:http://my.oschina.net/u/1433006/blog/494112