Squashed revert of root-related commits

Revert "Development: remove disabling of root access if user"

This reverts commit 913bb65be48d32852026360c9d2404701ac648ba.

Revert "Add preference for enabling root access (3/3)"

This reverts commit afe054742b8f7135c6e9d3dbeaca9f192c6abd57.