>_ IzzyLab

Topic breakdown

Every user in Linux is a record in /etc/passwd: a name, a numeric UID, a home directory, and a default shell. Creating a user and creating their home directory are two separate actions: the low-level tool doesn't create the directory by default — that's what a separate flag is for. There are two approaches: the minimalist useradd and an interactive wrapper around it that asks questions and creates $HOME for you.

What's checked

  1. user john is created
  2. home directory /home/john is created

What it looks like