命令为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)
时间: 2024-11-05 01:04:00
命令为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)