add user to nisdomain

August 2nd, 2007

This is a total NIS noob how to. I guess that makes me a noob too. Anyways, here is the command you run to add a user to the NIS domain:

  • useradd -d /users/[USER] -s /bin/bash [USER]
  • passwd [USER]
  • cd /var/yp
  • make

You’re good to go.

Leave a Reply

Back to top