Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.?

Thanks.

share|improve this question

2 Answers 2

up vote 2 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
    
Sorry, but how to add it again. Thanks. :) –  user46472 Jun 29 '10 at 21:07
    
Please don't get me wrong. Actually I like su/sf/so very much, and don't want to clutter them with new duplicates. I guess I chose my words incorrectly. –  user46472 Jun 29 '10 at 21:15

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

 
discard

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.