When a Linux system administrator creates a user, an entry in
/etc/passwd for the user is created. The system also creates a directory, labeled with the user’s username, in the
/home directory. For example, if you create a user named
heather, the user’s home directory is
In this chapter, you learn how to manage users from the command line. See Chapter 12, “Managing Users,” for more information on user administration including doing so using graphical administration utilities.
adduser command, along with a user’s name, to quickly create a user:
matthew@seymour:~$ sudo adduser heather
After creating the user, you must also create the user’s initial password with the