Home > System Tutorial > LINUX > body text

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

WBOY
Release: 2024-01-02 17:13:51
forward
1196 people have browsed it

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!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template