Adding Users and Groups
When you add a new user it will automatically create the user, create the required group of the same name, add all the required entries in /etc/passwd
, /etc/shadow
, and /etc/group
, create the home directory, copy the default starter files from /etc/skel
, prompt you for the new password and ask for the extra info about the user.
Just like everything else in Linux - usernames are usually lowercase.