1833780 Members
2566 Online
110063 Solutions
New Discussion

NIS Map

 
Hill_1
Frequent Contributor

NIS Map

Dear all,
As my information, ypservers (NIS map) is created when we configure the NIS Server.
I'm doubtful of the suffix appends to the map. For example, passwd.byname.dir
passwd.byname.pag

May I know the purpose and difference of these files?
Thanks.

Unix
3 REPLIES 3
Frank Li
Trusted Contributor

Re: NIS Map

They are the hash file of the corresponding text file for quick searh. you can " man makedbm" and " man dbm " for some information.
Hi Friend
discoverer
Frequent Advisor

Re: NIS Map

BTW,

The manual way to add yp servers:
* format of ypservers file:
my_nis_server my_nis_server
* build map command:
/usr/sbin/makedbm /var/yp/source/ypservers /var/yp/my_domain/ypservers

/discoverer

Listen, then discover, then succeed!