I am following this article in order avoid any/every write to /var/log/ (for example /var/log/wtmp, /var/log/last.log etc.
Is it possible?
Note that by disabling rsyslog.service, I could suppress write to messages and syslog files.
Using systemd mask operation I could mask systemd-update-utmp.service and systemd-update-utmp-runlevel.service. However the wtmp and lastlog files are still updated.
Please advise.