There are multiple commands that can be used to manage local user accounts in CentOS 7. This section covers only the most popular commands available in CentOS 7 to manage local user accounts.
Creating, modifying, or deleting local user accounts
Creating a user with the useradd command
The useradd command, when run without options, creates a user account with default parameters. The default parameters are read from the /etc/login.defs file and include parameters such as valid UID, GID number, default password aging rules, and so on. Values from this file are used while creating a new user only. The syntax of useradd is as follows:
$ useradd <username>
useradd --help will display options that can be used with the useradd...