Home >System Tutorial >LINUX >How to manage user accounts in CentOS 7.1? How to manage user accounts in CentOS 7.1
Add user
[root@wode006 home]# adduser eric
[root@wode006 home]
#change Password
[root@wode006 home]# passwd eric
Change the password of user eric.
New Password:
Invalid password: Password is less than 8 characters
Re-enter new password:
passwd: All authentication tokens have been successfully updated.
[root@wode006 home]
#Delete user and home directory
[root@wode006 home]# userdel -rf eric
[root@wode006 home]# ls
[root@wode006 home]
#The above is the detailed content of How to manage user accounts in CentOS 7.1? How to manage user accounts in CentOS 7.1. For more information, please follow other related articles on the PHP Chinese website!