5.1. How do I protect a file as read only?

bash# lidsconf -A -o /some/file	-j READONLY
This will prevent anyone (including root) from modifying or deleting /some/file as long as LIDS is enabled. If you are in an LFS, you are free to modify /some/file assuming you have appropriate file system permissions and the partition isn't mounted read-only.