Ravi Sir's Cards › AWS
chattr +i vs chattr +a
This comparison card contrasts chattr +i and chattr +a. chattr +i (Nothing): no write, delete, rename. chattr +a is described as only adding to the end. The card pairs chattr +i with DNS or critical config, and chattr +a with audit trails.
Read card text
What this card says
Allows
chattr +i
Nothing: no write, delete, rename.
chattr +a
Only adding to the end.
Key points
Freeze configs.
Protect logs.
Example
chattr +i /etc/resolv.conf
Use when
DNS or critical config.
Audit trails.