NIS, automount


Forum: Networking
Topic: NIS, automount
started by: cheaperthantuesday

Posted by cheaperthantuesday on Feb. 08 2005,18:41
I couldn't find much on this topic.  How do I setup NIS, autofs on dsl?  I see netbase is installed.  When I try to install nis via apt-get install nis file-utils wants to install and causes the install to fail.

CTT

Posted by cheaperthantuesday on Feb. 10 2005,05:49
if this might help someone else.....


This is for an nis client

I used dpkg and forced the install of  fileutils, make, nis

I started portmap  (/etc/init.d/portmap start)
I add a line to /etc/yp.conf   "ypserver IPaddressofypserver"
added the nis domainname to /etc/defaultdomain
added the nis server to /etc/hosts
edited the /var/yp/Makefile for my needs (re-defined ALL=)

removed the /etc/auto.master for autofs so that the startup
script for autofs would know to ask nis for the auto.master

also modified a file in /etc/default/  (can't remember filename)


rebooted and voila!

hth,
CTT

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.