Boss Challenge 16: Unauthorized User & Group Audit
Concept & Overview
FINAL SECURITY AUDIT: An intrusion detection audit revealed that an unauthorized user account backdoor was quietly added to /etc/passwd, and an unauthorized administrative group rogue_admins was added to /etc/group.
Audit and cleanse the authentication databases: inspect the files with cat or grep, safely remove the backdoor user using sudo userdel backdoor, and delete the rogue_admins group using sudo groupdel rogue_admins.
Verify that both unauthorized entries have been completely eradicated.
Command Syntax Reference
| Command / Syntax | Description |
|---|---|
cat /etc/passwd | grep backdoor | Inspect user database for unauthorized account |
cat /etc/group | grep rogue_admins | Inspect group database for rogue group |
sudo userdel backdoor | Safely remove unauthorized user account |
sudo groupdel rogue_admins | Safely delete rogue group |
Verification Objectives
These conditions will be automatically verified when you run commands inside the interactive terminal simulator:
- ○Remove backdoor user from /etc/passwd
- ○Remove rogue_admins group from /etc/group
Ready to complete Quest 145?
Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.