Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Mar 1998 23:11:33 -0600
From:      Derek Laufenberg <laufen@wi.net>
To:        Ian Field <ifield@mstk.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: NIS Implementation
Message-ID:  <34FCE284.3806@wi.net>
References:  <411B07D1F591D111928500A0C985DE2E01FF08@alpha.mstk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
No problem Ian.

The /var/yp/servers file shoud just contain the names of the
servers.  Im guessing in you case just the on machine name on 
one line.

Add the pluses to the end of the file. The + indicates that NIS
should be used if no match is found in the file.  Just add it
to the on the last line of the file.  The "+" is parsed by
the functions which read the file. 

For NFS, add entries to the /etc/fstab for the file systems
to mount.   For my systems clients I have these lines at the
end of the fstab:

 merlot:/home      /home      nfs     rw       0       0
 merlot:/usr       /a/usr     nfs     rw       0       0
 merlot:/spare     /spare     nfs     rw       0       0

You should get a copy of NFS and NIS by Hal Stern.  Its a little 
dated but covers all the basics.  (O'Reilly Press)


Derek


Ian Field wrote:
> 
> Derek,
>         Thanks for the help, I have a couple followup questions:
> 
>         1) What should be the syntax of the /var/yp/servers file?
>         2) on clients: add + to end of filenames? (i.e. hosts+) or on
> the last line of the file itself?
>         3) also, for NFS (which is installed and working) how do I
> automount dirs at boot?
> 
> Thanks again - once you respond I will let you know how it all works...
> 
> Ian Field

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34FCE284.3806>