Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

chattr locks

This revision card explains chattr locks. It starts from the need that even root cannot change it. It describes +i immutable, +a append only. The how-to section notes lsattr shows the flags. An example on the card is protect DNS config.

chattr locks Even root cannot change it. +i immutable, +a append only. lsattr shows the flags. Protect DNS config.
chattr locks · Download PNG
Read card text

What this card says

Why do we need it?

Even root cannot change it.

What is it?

+i immutable, +a append only.

How to do it

lsattr shows the flags.

Example

Protect DNS config.

sudo chattr +i /etc/resolv.conf

See all AWS revision cards