H2S Forum

How to add user in linux

To add a new user in Linux follow the below steps:

  1. Open Linux Command terminal

  2. Type the below command to add a user: Note: Replace username with the one you want to give to your user.

sudo adduser username
  1. Above command will ask for a password. Type a new password for the newly created user.

  2. After that provide the full name and other information, if any such phone number and all.

  3. Check the newly created user. For that simply access using the command:

su username

enter the password and that’s it.