You might want to enable or disable NIS using the command-line interface.
options nis.enable {on|off}
Use on to enable and off to disable NIS.