- An account is a line in
/etc/passwd; the home directory, group, and shell are created by theuseradd -m -U -soptions. /usr/sbin/nologinblocks logins, while commands run as the account throughsudo -ustill work: that is how services live.- Suspending means the password (
passwd -l), the account expiry (usermod --expiredate), the shell, and SSH keys, each on its own; the data and processes stay. - The newhire directory at the start of the lesson was left on disk without a line in
/etc/passwd: UID 1500 has no name, solsprinted a number andidfound no user.
Step 7 of 7 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson