$
Impara Manuale Linux
it
XP:0
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.

Set the owner of /etc/vault.conf to root:root and change its permissions to 600.

Riferimento sintassi dei comandi

Command / SyntaxDescription
sudo chown root:root /etc/vault.confChange owner and group to root
sudo chmod 600 /etc/vault.confRestrict permissions to owner read/write
ls -l /etc/vault.confInspect file permissions and ownership

Obiettivi di verifica

  • ○
    Ensure /etc/vault.conf is owned by root
  • ○
    Set permissions of /etc/vault.conf to 600

Pronto a completare la Missione 40?