Miquel van Smoorenburg wrote:



NIS domain name may be in /etc/defaultdomain (to my surprise). More usually, it's in /etc/yp.conf



It's _never_ in /etc/yp.conf - always in /etc/defaultdomain. The name is an inheritance from Sun, they invented NIS and on Solaris the NIS domainname is stored in /etc/defaultdomein.




_I_ checked before I posted. I've used yp for years. here's what the man page says:
yp.conf(5) yp.conf(5)


NAME
      /etc/yp.conf - NIS binding configuration file

DESCRIPTION
The file /etc/yp.conf is read from ypbind(8) at startup or when receiv-
ing signal SIGHUP. The entries are used for the initial binding.
Valid entries are


domain nisdomain server hostname
Use server hostname for the domain nisdomain. You could have
more then one entry of this type for a single domain.


there's more, I'll leave you to check:-)


--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to