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.
Related: How to add new users on Linux
Steps to create a new user on Ubuntu:
- Search and open Settings from Activities.
- Click on Users from the sidebar menu.
- Click on the Unlock button on the top right of the screen.
- Enter your password to authenticate to the system and click on the Authenticate button.
Your account must have Administrator privilege for this to work
- Click on the Add User button at the top right.
- 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.
- 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.
- 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.
- 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.
- Click on the Add button to add the user to the system.
- Your newly created user should now be listed among the existing users.
Comment anonymously. Login not required.