LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-03-2005, 10:07 AM   #1
cevjr
Member
 
Registered: Jul 2003
Location: USA
Distribution: Slack 12.2 and Ubuntu 9.04
Posts: 61

Rep: Reputation: 15
Setting up NIS Client - yp.conf??


I am using Slackware 10 and Slackware 9
I am trying to setup a NIS Client.

My yp.conf file looks like this:
domain localdomain broadcast

I want it to read:
ypserver xxx.xxx.x.xx

everytime I reboot the file changes back to the original.
I even change the permissions on the file to read only and it keeps changing back to "domain localdomain broadcast"

Any suggestings?

I don't want to manually edit this file everytime I want access the NIS Server and this client machine get turned off every night.
 
Old 06-04-2005, 01:26 PM   #2
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
i m using RH9, and RH Ente 3. don't why this is happening , may be a bug, or installation related error. but have a solution.

make changes in yp.conf and copy it to root's home directory,

open /etc/rc.d/rc.local or....... /etc/rc.local (don't remember correct path)
and then write down in new line




cp /root/yp.conf -f /etc/yp.conf



when ever you reboot ur client system it'll be ok
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Networking 1 03-31-2004 07:51 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 06:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM
nis client machine can't log in using nis username preetam Linux - Networking 0 02-09-2004 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration