←back to thread

134 points todsacerdoti | 3 comments | | HN request time: 0.732s | source
1. eternauta3k ◴[] No.44602844[source]
Is root prevented from directly writing to the underlying block device?
replies(1): >>44602848 #
2. kstrauser ◴[] No.44602848[source]
Yes.
replies(1): >>44603011 #
3. messe ◴[] No.44603011[source]
Only if securelevel is 2. If securelevel = 1, then only mounted filesystems are RO. An attacker could conceivably forcibly unmount /var/log as root, and make the changes directly to the block device.