From 7870fc7fdb4c30dedb1c8ed9d9e73c01ab9b98ec Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Wed, 1 Feb 1995 23:05:36 +0000 Subject: /var/yp/Makefile doesn't create passwd file from master.passwd file correctly (specified wrong fields to awk). Note that the files in question are noe the local /etc/master.passwd and /etc/passwd files: this Makefile expects there to be a seperate master.passwd file under /var/yp for NIS database creation. --- gnu/usr.sbin/ypserv/Makefile.yp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/usr.sbin/ypserv/Makefile.yp b/gnu/usr.sbin/ypserv/Makefile.yp index 564b01e49207..347d93b7a168 100644 --- a/gnu/usr.sbin/ypserv/Makefile.yp +++ b/gnu/usr.sbin/ypserv/Makefile.yp @@ -235,11 +235,11 @@ $(PASSWD): $(MASTER) @if [ ! $(UNSECURE) ]; then \ $(RCAT) $(MASTER) | \ $(AWK) -F: '{if ($$1 != "+") \ - print $$1":*:"$$3":"$$7":"$$8":"$$9":"$$10}' $^ \ + print $$1":*:"$$3":"$$4":"$$8":"$$9":"$$10}' $^ \ > $(PASSWD) ; \ else $(RCAT) $(MASTER) | \ $(AWK) -F: '{if ($$1 != "+") \ - print $$1":"$$2":"$$3":"$$7":"$$8":"$$9":"$$10}' $^ \ + print $$1":"$$2":"$$3":"$$4":"$$8":"$$9":"$$10}' $^ \ > $(PASSWD) ; fi -- cgit v1.3