←back to thread

1183 points robenkleene | 1 comments | | HN request time: 0.236s | source
Show context
giancarlostoro ◴[] No.24839945[source]
I mean I already knew something was weird when I couldnt su into root and do... root things without a bios hack on a Mac. Thats just not how Unix works at all... The whole concept of root is you are root no exceptions.
replies(5): >>24840051 #>>24840130 #>>24840255 #>>24840451 #>>24848099 #
kstrauser ◴[] No.24840255[source]
That's absolutely not true. For instance, the BSDs have the notion of securelevels (https://man.openbsd.org/securelevel.7) which severely limits what even the root user can do. SELinux can do a lot of the same things.
replies(2): >>24840480 #>>24840984 #
m463 ◴[] No.24840480[source]
I don't know about bsd, but there's lots of documentation on how selinux works (including source code) and information on how to alter its behavior in a fine-grained fashion. and selinux doesn't leave itself a backdoor (as far as the nsa has told us)
replies(1): >>24840561 #
1. kstrauser ◴[] No.24840561[source]
That's a different issue, though. Today, booting into macOS is similar to booting into a BSD with securelevel=1 enabled, or into Linux with SELinux set up not to allow modifying files in /bin or such.