[#1880] more run_as_root code