←back to thread

134 points todsacerdoti | 2 comments | | HN request time: 0.416s | source
Show context
eternauta3k ◴[] No.44602844[source]
Is root prevented from directly writing to the underlying block device?
replies(1): >>44602848 #
1. kstrauser ◴[] No.44602848[source]
Yes.
replies(1): >>44603011 #
2. 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.