To add a new user in Linux first, you need to log in with the root user. Add the new user through adduser command and set the password using the passwd command.
Add a New User in Linux/Unix
Here, I have created a new user dbappweb as an example.
[root@testserver ~]# adduser dbappweb [root@testserver ~]# passwd dbappweb Changing password for user dbappweb. New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: passwd: all authentication tokens updated successfully.