Dangerous
sudo userdel -r deploylinux · bash · Beginner
Deletes a user account along with its home directory and mail spool. -r is the flag that turns account removal into data deletion, and a deploy account's home often holds the only copy of its keys.
Signals to notice
- -r deletes the home directory and its contents
- account removal is not reversible by re-creating the user
Think you can spot these under time pressure?
Start Training