relocate checkRequireRootUser function call!