I'm searching for a way to "protect" a Linux operating system against (root) users that can potentially misbehave.
My threat model is the one of university students, having access to root password of desktops (to deal with network configuration, install packages, and so on), but without any access to the UEFI, and my goal is to be able to restore the system in its original state after a simple reboot (without having to resilver the whole system).
It seems to me a ram-backed overlayfs on the whole system would probably allow for such a behaviour if I were to restrict root to have read-write access on the disk block devices, and prevent root from "removing" this overlay, in a way or another (maybe with SELinux ?).
Is there a name for such a technique / setup, name that would allow me to find resources about doing this on Linux such as e.g Ubuntu ? Is that easily achievable or would it be a nightmare to think about all the restrictions that would need to be put in place regarding e.g. devices ?