diff --git a/pages/02.linux/03.users-and-groups/default.en.md b/pages/02.linux/03.users-and-groups/default.en.md index b22d4aa..0edf1cc 100644 --- a/pages/02.linux/03.users-and-groups/default.en.md +++ b/pages/02.linux/03.users-and-groups/default.en.md @@ -23,6 +23,11 @@ full name -> -c Example more complicated usage: `# useradd -m -c "Bruno Huber" -s /bin/bash -G sudo,systemd-journal bruhub` +### Remove user +The command `userdel` can be used to remove users from a system. +Using it with the `-r` additionally deletes the user home directory and mail spool. +`# userdel -r (user) + ### Add user to groups Add user to more groups: `# usermod -a -G (group1),(group2) (user)`