Home Linux 用户操作
Post
Cancel

Linux 用户操作

查看用户列表 

1
cat /etc/passwd 或者 cat /etc/shadow

增加/修改/删除用户 

1
useradd/usermod/userdel

增加/修改/删除用户组 

1
groupadd/groupmod/groupdel

修改密码 

1
passwd <accountName>
This post is licensed under CC BY 4.0 by the author.