好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

查看centos中的用户和用户组的方法

用户列表文件:/etc/passwd
用户组列表文件:/etc/group

查看系统中有哪些用户:cut -d : -f 1 /etc/passwd
查看可以登录系统的用户:cat /etc/passwd | grep -v /sbin/nologin | cut -d : -f 1
查看用户操作:w命令(需要root权限)
查看某一用户:w 用户名
查看登录用户:who
查看用户登录历史记录:last

查看更多关于查看centos中的用户和用户组的方法的详细内容...

  阅读:1661次

上一篇: 开机自启动nginx

下一篇:安装vsftpd