Home  >  Article  >  System Tutorial  >  How to manage user accounts in CentOS 7.1? How to manage user accounts in CentOS 7.1

How to manage user accounts in CentOS 7.1? How to manage user accounts in CentOS 7.1

WBOY
WBOYforward
2024-01-02 17:13:511126browse

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!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete