$
Aprender Manual de Linux
pt
XP:0
Missão 40Security Lockdown Master
+400 XP

Boss Challenge 4: Security Audit & Permissions Lockdown

Iniciar terminal interativo para esta missão→Sem instalação necessária • Executado no navegador

Conceito e visão geral

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.

Referência de sintaxe de comandos

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

Objetivos de verificação

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

Pronto para concluir a Missão 40?