shared: allow drop_priviliges to drop all privs