In Linux, you can manage user accounts through command-line tools or graphical applications. The most widely used command-line tools for creating users are adduser and useradd. Additionally, most Linux desktop environments and distributions offer graphical tools that serve as frontends for these command-line utilities.
These tools write user information to the /etc/passwd, /etc/group, and /etc/shadow files and create a user's home directory, populating it with necessary files from /etc/skel.
You can either manually add user information to these files or use dedicated tools like adduser, an interactive command-line tool found in most Linux distributions by default.
Graphical methods to create user for different Linux distributions:
$ sudo adduser username
[sudo] password for user:
Current user needs to have administrator privilege on the system.
Adding user `username' ... Adding new group `username' (1001) ... Adding new user `username' (1001) with group `username' ... Creating home directory `/home/username' ... Copying files from `/etc/skel' ...
New password: Retype new password: passwd: password updated successfully
Changing the user information for username Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []:
Is the information correct? [Y/n] y
Manual: adduser(8) - Linux man page
Comment anonymously. Login not required.