[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

errore ypinit - NIS Server



Ciao a tutti,
Sto tentando di mettere un NIS server nella mia rete locale. Leggo
parallelamente il NIS-HowTO e quello nis.debian.howto.
Attualmente sono bloccato al punto 3.7 dellla debian, dove dice di
dare il comando "/usr/lib/yp/ypinit -m"
Lo script mi si blocca con questo errore:
..
Updating shadow.byname...
/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/bin/sh: -c: line 2: syntax error: unexpected end of file
make[1]: *** [shadow.byname] Error 2
make[1]: Leaving directory `/var/yp/bagginslab.it'
make: *** [target] Error 2
Error running Makefile.
Please try it by hand.

elrond has been set up as a NIS master server.

Now you can run ypinit -s elrond on all slave server.

Posso continuare ad andare avanti o e' un errore grave? mi sembra di
si' visto che NIS serve per l'autenticazione e da un errore sul file
/etc/shadow.
Credo che la parte del Makefile che interessi sia questa:
[cut]
shadow.byname: $(SHADOW) $(YPDIR)/Makefile
        @echo "Updating $@..."
        @$(UMASK); \
        $(AWK) -F: '{ if (FILENAME ~ /shadow$$/) { \
                        if (UID[$$1] >= $(MINUID) ) print $$1"\t"$$0; \
                      } else 
                        UID[$$1] = $$3; }' $(PASSWD) $(SHADOW) \
                | $(DBLOAD) -s -i $(SHADOW) -o $(YPMAPDIR)/$@ - $@
        -@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@
[cut]

Grazie mille,
Matteo.
-- 
Werewolf alias Matteo
werewolf@ada2.unipv.it



Reply to: