NIS on Linux
@$(AWK) '{ if ($$1 !~ "#" && $$1 != "") print $$2"t"$$0 }'
$(SERVICES) | $(DBLOAD) -r -i $(SERVICES)
o $(YPMAPDIR)/$@ - $@
@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@
ifeq (x$(MERGE_PASSWD),xtrue)
passwd.byname: $(PASSWD) $(SHADOW) $(YPDIR)/Makefile
@echo "Updating $@..."
@$(UMASK);
$(MERGER) -p $(PASSWD) $(SHADOW) |
$(AWK) -F: '!/^[-+#]/ { if ($$1 != "" && $$3 >= $(MINUID) )
print $$1"t"$$0 }' | $(DBLOAD) -i $(PASSWD)
o $(YPMAPDIR)/$@ - $@
@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@ passwd.byuid: $(PASSWD) $(SHADOW) $(YPDIR)/Makefile
@echo "Updating $@..."
@$(UMASK);
$(MERGER) -p $(PASSWD) $(SHADOW) |
$(AWK) -F: '!/^[-+#]/ { if ($$1 != "" && $$3 >= $(MINUID) )
print $$3"t"$$0 }' | $(DBLOAD) -i $(PASSWD)
o $(YPMAPDIR)/$@ - $@
@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@ else passwd.byname: $(PASSWD) $(YPDIR)/Makefile
@echo "Updating $@..." @$(UMASK);
$(AWK) -F: '!/^[-+#]/ { if ($$1 != "" && $$3 >= $(MINUID) )
print $$1"t"$$0 }' $(PASSWD) | $(DBLOAD) -i $(PASSWD)
o $(YPMAPDIR)/$@ - $@
@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@
passwd.byuid: $(PASSWD) $(YPDIR)/Makefile
@echo "Updating $@..."
@$(UMASK);
$(AWK) -F: '!/^[-+#]/ { if ($$1 != "" && $$3 >= $(MINUID) )
print $$3"t"$$0 }' $(PASSWD) | $(DBLOAD) -i $(PASSWD)
o $(YPMAPDIR)/$@ - $@
@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@ endif shadow.byname: $(SHADOW) $(YPDIR)/Makefile
@echo "Updating $@..." @$(UMASK);
$(AWK) -F: '!/^[-+#]/ { if ($$1 != "" ) print $$1"t"$$0 }'
$(SHADOW) | $(DBLOAD) -s -i $(SHADOW) -o $(YPMAPDIR)/$@ -
$@
@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@ passwd.adjunct.byname: $(ADJUNCT) $(YPDIR)/Makefile
@echo "Updating $@..." @$(UMASK);
$(AWK) -F: '!/^[-+#]/ { if ($$1 != "" ) print $$1"t"$$0 }'
$(ADJUNCT) | $(DBLOAD) -s -i $(ADJUNCT) -o $(YPMAPDIR)/$@ -
$@
@chmod 700 $(YPDIR)/$(DOMAIN)/$@*
@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@ ifeq (x$(MERGE_GROUP),xtrue) group.byname:
$(GROUP) $(GSHADOW) $(YPDIR)/Makefile @echo "Updating $@..." $(MERGER)
-g $(GROUP) $(GSHADOW) |
$(AWK) -F: '!/^[-+#]/ { if ($$1 != "" && $$3 >= $(MINGID) )
- « first
- ‹ previous
- of 11
- next ›
- last »