Setting setuid hooks.