When a ransomware wave hits a production environment, the first instinct is to restore from backups. That’s a good rule of thumb, but it only works if the backups are clean. In practice, many organisations restore from the same storage that the malware infected, ending up with the same encrypted data. Archiving pre‑incident snapshots—immutable, signed copies of the system state taken before the attack—provides a clean slate that is often overlooked.
[Read More]Giving a Backup User Read-Only Access to /var/log
Using ACLs without granting sudo
ACLs for log‑only access
When you need a user to read system logs but you don’t want to give them sudo or pull them into a privileged group, POSIX ACLs are the cleanest way to do it.
They let you hand out read rights on a per‑file or per‑directory basis, and you can set defaults so that every new file inherits the same restrictions.
A backup account that pulls logs to an off‑site archive but never touches the live system is the classic case. ACLs keep the principle of least privilege intact while still letting the job run unattended.
[Read More]