CentOS 8 - Add Users Accounts

[1] To add a common user account on CentOS Server, Set like follows.
For example in this case username will be john.
[root@localhost ~]# useradd john
This will create operating system user with name john

[2] Perhaps user john will require some password in order to be able to log in and use the operating system.
To set password for user john, do this
[root@localhost ~]# passwd john
Changing password for user john.
New UNIX password:              # input any password you'd like to set
Retype new UNIX password:       # confirm
passwd: all authentication tokens updated successfully.

Copyleft Enes Bosnić aka n00b 1977 - 2024 enes.bosnic.net