How To Create User On Linux/Unix Server/System In Command Line
If you want to creating users in Linux or Unix system. To create a new user account under any Linux server to use command called useradd. The system administrators are responsible for creating account. Login as root user (or use sudo command).
useradd: The useradd command will let you add a new user easily from the command line:
#useradd <username>
passwd: The passwd command set a password for user:
#passwd <username>
Example:
#useradd testuser #passwd testuser
You can check user is created or not in file /etc/passwd
cat /etc/passwd