User information in Linux is stored in the /etc/passwd, /etc/group, and /etc/shadow files. You can add new users by adding appropriate information to these files or using specialized tools.

Almost all Linux distributions come with command line tools to add users, while Ubuntu also provides a GUI (Graphical User Interface) tool for easily adding users to the system. The tool is standard across most other Linux distributions with GNOME as the desktop environment, such as Debian.

Steps to create a new user on Ubuntu:

  1. Search and open Settings from Activities.
  2. Click on Users from the sidebar menu.
  3. Click on the Unlock button on the top right of the screen.
  4. Enter your password to authenticate to the system and click on the Authenticate button.

    Your account must have Administrator privilege for this to work

  5. Click on the Add User button at the top right.
  6. Choose whether you want the user to be normal user or administrator.

    An administrator will have the capability to make system-wide changes such as to add a new user.

  7. Enter the full name and the username of the user.

    A Username will automatically be generated based on the entered Full Name but could be manually changed.

  8. Select whether to let the user set the password when the user first try to log in to the system or to manually set a password for the new user.
  9. Enter a complex-enough password on both textboxes till the Add button at the top right is enabled if you choose to manually set the password.
  10. Click on the Add button to add the user to the system.
  11. Your newly created user should now be listed among the existing users.

This guide is tested on Ubuntu:

Version Code Name
22.04 LTS Jammy Jellyfish
23.10 Mantic Minotaur
24.04 LTS Noble Numbat
Discuss the article:

Comment anonymously. Login not required.