Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want my linux client to stop using nis services. Can someone suggest how to do it. Yes, I've already searched on the web, and also on serverfault. As I've mentioned a couple of times on su/so/sf, the search facility is almost half as bad the sites themselves are good.

EDIT: My Distro is Ubuntu 10.04

EDIT2: How do I turn it back again.?


share|improve this question
up vote 3 down vote accepted

You aren't getting any answers because you aren't providing enough information. Instead of complaining about the search feature here, perhaps you could have told us what distro.

If it's a RH based distro, use chkconfig

chkconfig --del ypbind

If it's a Debian based distro use update-rc.d

update-rc.d -f ypbind remove
share|improve this answer

If you just stop the service then you will probably have lots of halts as it tries to use NIS I believe. If you want to remove NIS from being use I believe what you need to do is edit your /etc/nsswitch.conf file and remove the nis text from it. Then you also stop the service from starting as Nathan said.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.