yp.conf : commun aux machine1 et machine2 domain system-linux.net server IP2 ypserver IP2 ypserv.conf : Sur la machine2 où NIS serveur est installé # # ypserv.conf In this file you can set certain options for the NIS server, # and you can deny or restrict access to certain maps based # on the originating host. # # See ypserv.conf(5) for a description of the syntax. # # Should we do DNS lookups for hosts not found in the hosts table ? # This option is ignored in the moment. dns: no # How many map file handles should be cached ? files: 30 # xfr requests are only allowed from ports < 1024 xfr_check_port: yes # Not everybody should see the shadow passwords, not secure, since # under MSDOG everbody is root and can access ports < 1024 !!! * : * : shadow.byname : port * : * : passwd.adjunct.byname : port /etc/sysconfig/network : Sur la machine1 et la machine2 où NIS est installé Ajouter NISDOMAIN=system-linux.net exports : sur machine2 /home/userN+1 IP1(rw) /home/userN+2 IP1(rw) ... /home/userN+P IP1(rw) fstab : sur machine 1 IP2:/home/userN+1 /home/userN+1 nfs suid,dev,exec 0 0 IP2:/home/userN+2 /home/userN+2 nfs suid,dev,exec 0 0 ... IP2:/home/userN+P /home/userN+P nfs suid,dev,exec 0 0 !!! ATTENTION !!! Ne pas oublier de créer les répertoires /home/userN+j (1<j<P) sur la machine1 ! Si sur la machine cliente machine1, il y a portsentry, bien configurer les port et/ou les machines autorisées à scanner par la machine2
phpMyVisites : logiciel gratuit de mesure d'audience et de statistiques de sites Internet (licence libre GPL, logiciel en php/MySQL)