用户组列表文件:/etc/grouphtml
查看系统中有哪些用户:cut -d : -f 1 /etc/passwd 查看能够登陆系统的用户:cat /etc/passwd | grep -v /sbin/nologin | cut -d : -f 1 查看用户操做:w命令(须要root权限) 查看某一用户:w 用户名 查看登陆用户:who 查看用户登陆历史记录:lastcentos