LinuxQuestions.org
Visit Jeremy's Blog.
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 04-27-2001, 11:50 AM   #1
Ellis Hillinger
LQ Newbie
 
Registered: Apr 2001
Location: Bellevue WA
Posts: 6

Rep: Reputation: 0
Question


I am trying to install NIS on our network (Red Hat 7.0 for the most part) and have been unable to find the answer to a simple question:

What process updates the maps on the NIS server?

ypinit creates the maps, but the instructions say that it should only be run to initialize them. ypserv is running but since I only have a single NIS server, yppush and ypxfr are not. yppasswd updates the passwd map correctly, but I don't see any process to do the same for the group map, etc. Is there something I should be doing with yppasswdd to cause these other maps to be updated too?
 
Old 04-27-2001, 12:41 PM   #2
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
The Makefile must be recompiled after you modify anything within. Try finding the file/directory in which your Makefile resides and run the make command. This will rebuild your maps and should enusre that all updated correctly.

I am having trouble getting ypserv to run, but I did notice that after I specified which files I wanted to make accessible, running the 'make' command on the Makefile was successful.


Hope this helps a little.....
 
Old 04-27-2001, 12:51 PM   #3
Ellis Hillinger
LQ Newbie
 
Registered: Apr 2001
Location: Bellevue WA
Posts: 6

Original Poster
Rep: Reputation: 0
I haven't made any changes to Makefile (running make Makefile confirmed this) and all of the maps I am interested in are already defined in the default Makefile.
 
Old 04-27-2001, 01:18 PM   #4
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
I noticed on mine that the Makefile was already set up the way I needed it, so I simply added /etc/hosts to the all: line and ran make to see what happened. It recompiled and created numerous files (passwd.db, ehters.db, etc...).
 
Old 05-02-2001, 01:29 PM   #5
Ellis Hillinger
LQ Newbie
 
Registered: Apr 2001
Location: Bellevue WA
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up

I have added make with the necessary paths to crontab and it now seems to be working. Thanks for the suggestion.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Question about NIS iammike Solaris / OpenSolaris 3 06-26-2005 01:14 PM
NIS question~ ]un]ie Solaris / OpenSolaris 1 07-30-2004 11:06 AM
NIS question pfaendtner Linux - Networking 3 07-28-2004 09:05 AM
NIS Question ktambascio Linux - Software 1 03-12-2004 09:10 PM
NIS Question jayakrishnan Linux - Networking 14 08-08-2002 10:43 AM

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

All times are GMT -5. The time now is 06:42 AM.

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