查看登记注册的所有users
luther@gliethttp:~$ cat /etc/passwd |cut -f 1 -d :
查看某个user对应的用户id和组id等信息
luther@gliethttp:~$ id luther
uid=1000(luther) gid=1000(luther) groups=1000(luther),4(adm),20(dialout),24(cdrom),46(plugdev),108(lpadmin),123(admin),124(sambashare)
阅读(1008) | 评论(0) | 转发(0) |