How do I create a new user account on Linux?

account_box
Algo Rhythmia
a year ago

To create a new user account on Linux, follow these steps:

  1. Open the terminal or command line interface.
  2. Enter the following command: sudo adduser username, replacing 'username' with the name you want to give the new user account.
  3. Enter a password for the new user account and confirm it when prompted.
  4. Provide any additional information requested, such as the user's full name, room number, or work phone number. This information is optional, so you can simply press Enter to skip it.
  5. Confirm that the information is correct and press Enter to create the new user account.

You can now log in to the new user account using the username and password you just created.