Missione 40Security Lockdown Master
+400 XP
Boss Challenge 4: Security Audit & Permissions Lockdown
Avvia il terminale interattivo per questa missione→Nessuna installazione richiesta • Funziona nel browser
Concetto e panoramica
AUDIT FAILURE: An internal compliance scanner raised a critical security finding: /etc/vault.conf containing sensitive credentials was deployed with permissive 777 permissions and is owned by learner instead of root.
Remediate the vulnerability immediately by changing the owner of /etc/vault.conf to root:root and locking down permissions to strict 600 (read/write for owner only).
Inspect the file with ls -l before and after running your remediation.
Istruzioni della missione
Set the owner of
/etc/vault.conf to root:root and change its permissions to 600.Riferimento sintassi dei comandi
| Command / Syntax | Description |
|---|---|
sudo chown root:root /etc/vault.conf | Change owner and group to root |
sudo chmod 600 /etc/vault.conf | Restrict permissions to owner read/write |
ls -l /etc/vault.conf | Inspect file permissions and ownership |
Obiettivi di verifica
- ○Ensure /etc/vault.conf is owned by root
- ○Set permissions of /etc/vault.conf to 600