$
Apprendre Manuel Linux
fr
XP :0
Quête 145Root Gatekeeper
+500 XP

Boss Challenge 16: Unauthorized User & Group Audit

Lancer le terminal interactif pour cette quête→Aucune installation requise • S'exécute dans le navigateur

Concept et aperçu

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.

Inspect /etc/passwd and /etc/group, remove user backdoor with sudo userdel backdoor, and remove group rogue_admins with sudo groupdel rogue_admins.

Référence de syntaxe des commandes

Command / SyntaxDescription
cat /etc/passwd | grep backdoorInspect user database for unauthorized account
cat /etc/group | grep rogue_adminsInspect group database for rogue group
sudo userdel backdoorSafely remove unauthorized user account
sudo groupdel rogue_adminsSafely delete rogue group

Objectifs de vérification

  • ○
    Remove backdoor user from /etc/passwd
  • ○
    Remove rogue_admins group from /etc/group

Prêt à terminer la Quête 145?