CentOS查看已有的用户和用户组

1.查看用户:cut -d : 1 f /etc/passwd

2.查看用户组:cut -d : 1 f /etc/group

3.删除xiaoming这个用户:userdel -r xiaoming

posted @ 2020-10-21 11:25  itservice  阅读(399)  评论(0)    收藏  举报