$
学ぶ Linux ハンドブック
ja
XP:0
クエスト 40Security Lockdown Master
+400 XP

Boss Challenge 4: Security Audit & Permissions Lockdown

このクエストの対話型ターミナルを起動する→インストール不要 • ブラウザ上で完全動作

概念と概要

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.

コマンド構文リファレンス

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

検証目標

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

クエスト完了への準備はできましたか? 40?