Print this page
XXX Remove nawk(1)


  77 k:
  78         @if [ ! $(NOPUSH) ]; then $(MAKE)  $(MFLAGS) -k all; \
  79         else $(MAKE) $(MFLAGS) -k all NOPUSH=$(NOPUSH);fi
  80 
  81 all: passwd group hosts ipnodes ethers networks rpc services protocols \
  82         netgroup bootparams aliases publickey netid netmasks c2secure \
  83         timezone auto.master auto.home ageing \
  84         auth.attr exec.attr prof.attr user.attr
  85 
  86 c2secure:
  87         -@if [ -f $(PWDIR)/security/passwd.adjunct ]; then \
  88                 if [ ! $(NOPUSH) ]; then $(MAKE)  $(MFLAGS) -k \
  89                 passwd.adjunct.time group.adjunct.time; \
  90                 else $(MAKE) $(MFLAGS) -k NOPUSH=$(NOPUSH) \
  91                 passwd.adjunct.time group.adjunct.time; \
  92                 fi; \
  93         fi
  94 
  95 passwd.time: $(PWDIR)/passwd $(PWDIR)/shadow
  96         -@if [ -f $(PWDIR)/security/passwd.adjunct ]; then \
  97                 (nawk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ { $$2 = "##" $$1; printf "%s\t%s\n", $$1, $$0 }' $(PWDIR)/passwd $(CHKPIPE)) | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byname; \
  98                 (nawk 'BEGIN { FS=":"; OFS=":"  } /^[a-zA-Z0-9_]/ { $$2 = "##" $$1; printf "%-10d\t%s\n", $$3, $$0 }' $(PWDIR)/passwd $(CHKPIPE)) | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byuid; \
  99         elif [ -f $(PWDIR)/shadow ]; then \
 100                 (nawk 'BEGIN { FS=":"; OFS=":"; while ( getline < "$(PWDIR)/shadow" > 0) shadow[$$1] = $$2; } /^[a-zA-Z0-9_]/ { $$2 = shadow[$$1]; printf "%s\t%s\n",$$1,$$0 }' $(PWDIR)/passwd $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byname; \
 101                 (nawk 'BEGIN { FS=":"; OFS=":"; while ( getline < "$(PWDIR)/shadow" > 0) shadow[$$1] = $$2; } /^[a-zA-Z0-9_]/ { $$2 = shadow[$$1]; printf "%-10d\t%s\n",$$3,$$0 }' $(PWDIR)/passwd $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byuid; \
 102         else \
 103                 (awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(PWDIR)/passwd  $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byname; \
 104                 (awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { printf("%-10d ", $$3); print $$0 }' $(PWDIR)/passwd $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byuid; \
 105         fi
 106         @touch passwd.time; 
 107         @echo "updated passwd"; 
 108         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) passwd.byname; fi
 109         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) passwd.byuid; fi
 110         @if [ ! $(NOPUSH) ]; then echo "pushed passwd"; fi
 111 
 112 group.time: $(DIR)/group
 113         @(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(DIR)/group $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/group.byname; 
 114         @(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { printf("%-10d ", $$3); print $$0 }' $(DIR)/group $(CHKPIPE)) | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/group.bygid; 
 115         @touch group.time; 
 116         @echo "updated group"; 
 117         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) group.byname; fi
 118         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) group.bygid; fi
 119         @if [ ! $(NOPUSH) ]; then echo "pushed group"; fi
 120 
 121 project.time: $(DIR)/project


 272         @rm -f .ypjunk; 
 273         @touch netid.time; 
 274         @echo "updated netid"; 
 275         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) netid.byname; fi
 276         @if [ ! $(NOPUSH) ]; then echo "pushed netid"; fi
 277 
 278 # Old way.  Could be restored by PSARC decision.
 279 #
 280 #passwd.adjunct.time: $(PWDIR)/security/passwd.adjunct
 281 #       @(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(PWDIR)/security/passwd.adjunct $(CHKPIPE)) | \
 282 #               $(MAKEDBM) -s - $(YPDBDIR)/$(DOM)/passwd.adjunct.byname;
 283 #       @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.dir; 
 284 #       @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.pag; 
 285 #       @touch passwd.adjunct.time 
 286 #       @echo "updated passwd.adjunct"; 
 287 #       @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) passwd.adjunct.byname; fi
 288 #       @if [ ! $(NOPUSH) ]; then echo "pushed passwd.adjunct"; fi
 289 
 290 passwd.adjunct.time: $(PWDIR)/security/passwd.adjunct $(PWDIR)/shadow
 291         -@if [ -f $(PWDIR)/shadow ]; then \
 292                 (nawk 'BEGIN { FS=":"; while (getline < "$(PWDIR)/shadow" > 0) shadow[$$1] = $$2; } /^[a-zA-Z0-9_]/ { $$2 = shadow[$$1]; OFS=":"; printf "%s\t%s\n", $$1, $$0 }' $(PWDIR)/security/passwd.adjunct $(CHKPIPE)) | $(MAKEDBM) -s - $(YPDBDIR)/$(DOM)/passwd.adjunct.byname; \
 293         else \
 294                 (awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(PWDIR)/security/passwd.adjunct $(CHKPIPE)) | \
 295                 $(MAKEDBM) -s - $(YPDBDIR)/$(DOM)/passwd.adjunct.byname; \
 296         fi
 297         @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.dir; 
 298         @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.pag; 
 299         @touch passwd.adjunct.time 
 300         @echo "updated passwd.adjunct"; 
 301         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) passwd.adjunct.byname; fi
 302         @if [ ! $(NOPUSH) ]; then echo "pushed passwd.adjunct"; fi
 303 
 304 group.adjunct.time: $(PWDIR)/security/group.adjunct
 305         @(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(PWDIR)/security/group.adjunct $(CHKPIPE)) | \
 306         $(MAKEDBM) -s - $(YPDBDIR)/$(DOM)/group.adjunct.byname; 
 307         @chmod 600 $(YPDBDIR)/$(DOM)/group.adjunct.byname.dir; 
 308         @chmod 600 $(YPDBDIR)/$(DOM)/group.adjunct.byname.pag; 
 309         @touch group.adjunct.time 
 310         @echo "updated group.adjunct"; 
 311         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) group.adjunct.byname; fi
 312         @if [ ! $(NOPUSH) ]; then echo "pushed group.adjunct"; fi


 349                 sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto_home \
 350                 | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.home; \
 351                 touch auto.home.time; \
 352                 echo "updated auto.home"; \
 353                 if [ ! $(NOPUSH) ]; then \
 354                         $(YPPUSH) auto.home; \
 355                         echo "pushed auto.home"; \
 356                 else \
 357                 : ; \
 358                 fi \
 359         else \
 360                 echo "couldn't find $(DIR)/auto_home"; \
 361         fi
 362 
 363 
 364 auth.attr.time:  $(RBACDIR)/auth_attr
 365         -@if [ -f $(RBACDIR)/auth_attr ]; then \
 366                 sed -e "/^#/d" -e s/#.*$$// $(RBACDIR)/auth_attr \
 367                 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
 368                 -e 's/\\$$/\\/;t l' -e } \
 369                 | (nawk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ \
 370                 {printf "%s:%s\n", $$1, $$0 }' $(CHKPIPE)) \
 371                 | $(MAKEDBM) -S ":" -E - $(YPDBDIR)/$(DOM)/auth_attr; \
 372                 touch auth.attr.time; \
 373                 echo "updated auth_attr"; \
 374                 if [ ! $(NOPUSH) ]; then \
 375                         $(YPPUSH) auth_attr; \
 376                         echo "pushed auth_attr"; \
 377                 else \
 378                 : ; \
 379                 fi \
 380         else \
 381                 echo "couldn't find $(RBACDIR)/auth_attr"; \
 382         fi
 383 
 384 exec.attr.time:  $(RBACDIR)/exec_attr
 385         -@if [ -f $(RBACDIR)/exec_attr ]; then \
 386                 sed -e "/^#/d" -e s/#.*$$// $(RBACDIR)/exec_attr \
 387                 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
 388                 -e 's/\\$$/\\/;t l' -e } \
 389                 | (nawk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ \
 390                 {printf "%s:%s:%s:%s\n", $$1, $$2, $$6, $$0 }' $(CHKPIPE)) \
 391                 | $(MAKEDBM) -S ":" -E -D 2 - $(YPDBDIR)/$(DOM)/exec_attr; \
 392                 touch exec.attr.time; \
 393                 echo "updated exec_attr"; \
 394                 if [ ! $(NOPUSH) ]; then \
 395                         $(YPPUSH) exec_attr; \
 396                         echo "pushed exec_attr"; \
 397                 else \
 398                 : ; \
 399                 fi \
 400         else \
 401                 echo "couldn't find $(RBACDIR)/exec_attr"; \
 402         fi
 403 
 404 prof.attr.time:  $(RBACDIR)/prof_attr
 405         -@if [ -f $(RBACDIR)/prof_attr ]; then \
 406                 sed -e "/^#/d" -e s/#.*$$// $(RBACDIR)/prof_attr \
 407                 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
 408                 -e 's/\\$$/\\/;t l' -e } \
 409                 | (nawk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ \
 410                 {printf "%s:%s\n", $$1, $$0 }' $(CHKPIPE)) \
 411                 | $(MAKEDBM) -S ":" -E - $(YPDBDIR)/$(DOM)/prof_attr; \
 412                 touch prof.attr.time; \
 413                 echo "updated prof_attr"; \
 414                 if [ ! $(NOPUSH) ]; then \
 415                         $(YPPUSH) prof_attr; \
 416                         echo "pushed prof_attr"; \
 417                 else \
 418                 : ; \
 419                 fi \
 420         else \
 421                 echo "couldn't find $(RBACDIR)/prof_attr"; \
 422         fi
 423 
 424 user.attr.time:  $(DIR)/user_attr
 425         -@if [ -f $(DIR)/user_attr ]; then \
 426                 sed -e "/^#/d" -e s/#.*$$// $(DIR)/user_attr \
 427                 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
 428                 -e 's/\\$$/\\/;t l' -e } \
 429                 | (nawk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ \
 430                 {printf "%s:%s\n", $$1, $$0 }' $(CHKPIPE)) \
 431                 | $(MAKEDBM) -S ":" -E - $(YPDBDIR)/$(DOM)/user_attr; \
 432                 touch user.attr.time; \
 433                 echo "updated user_attr"; \
 434                 if [ ! $(NOPUSH) ]; then \
 435                         $(YPPUSH) user_attr; \
 436                         echo "pushed user_attr"; \
 437                 else \
 438                 : ; \
 439                 fi \
 440         else \
 441                 echo "couldn't find $(DIR)/user_attr"; \
 442         fi
 443 
 444 ageing.time:  $(PWDIR)/shadow
 445         -@if [ -f $(PWDIR)/shadow ]; then \
 446                 (awk 'BEGIN {FS=":"; OFS=":"} $$1 !~ /^#/ {printf "%s\t%s:%s:%s:%s:%s:%s:%s:%s\n", $$1,$$1,$$3,$$4,$$5,$$6,$$7,$$8,$$9}' $(PWDIR)/shadow) | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/ageing.byname; \
 447                 touch ageing.time; \
 448                 echo "updated ageing"; \
 449         else \




  77 k:
  78         @if [ ! $(NOPUSH) ]; then $(MAKE)  $(MFLAGS) -k all; \
  79         else $(MAKE) $(MFLAGS) -k all NOPUSH=$(NOPUSH);fi
  80 
  81 all: passwd group hosts ipnodes ethers networks rpc services protocols \
  82         netgroup bootparams aliases publickey netid netmasks c2secure \
  83         timezone auto.master auto.home ageing \
  84         auth.attr exec.attr prof.attr user.attr
  85 
  86 c2secure:
  87         -@if [ -f $(PWDIR)/security/passwd.adjunct ]; then \
  88                 if [ ! $(NOPUSH) ]; then $(MAKE)  $(MFLAGS) -k \
  89                 passwd.adjunct.time group.adjunct.time; \
  90                 else $(MAKE) $(MFLAGS) -k NOPUSH=$(NOPUSH) \
  91                 passwd.adjunct.time group.adjunct.time; \
  92                 fi; \
  93         fi
  94 
  95 passwd.time: $(PWDIR)/passwd $(PWDIR)/shadow
  96         -@if [ -f $(PWDIR)/security/passwd.adjunct ]; then \
  97                 (/usr/xpg4/bin/awk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ { $$2 = "##" $$1; printf "%s\t%s\n", $$1, $$0 }' $(PWDIR)/passwd $(CHKPIPE)) | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byname; \
  98                 (/usr/xpg4/bin/awk 'BEGIN { FS=":"; OFS=":"  } /^[a-zA-Z0-9_]/ { $$2 = "##" $$1; printf "%-10d\t%s\n", $$3, $$0 }' $(PWDIR)/passwd $(CHKPIPE)) | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byuid; \
  99         elif [ -f $(PWDIR)/shadow ]; then \
 100                 (/usr/xpg4/bin/awk 'BEGIN { FS=":"; OFS=":"; while ( getline < "$(PWDIR)/shadow" > 0) shadow[$$1] = $$2; } /^[a-zA-Z0-9_]/ { $$2 = shadow[$$1]; printf "%s\t%s\n",$$1,$$0 }' $(PWDIR)/passwd $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byname; \
 101                 (/usr/xpg4/bin/awk 'BEGIN { FS=":"; OFS=":"; while ( getline < "$(PWDIR)/shadow" > 0) shadow[$$1] = $$2; } /^[a-zA-Z0-9_]/ { $$2 = shadow[$$1]; printf "%-10d\t%s\n",$$3,$$0 }' $(PWDIR)/passwd $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byuid; \
 102         else \
 103                 (awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(PWDIR)/passwd  $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byname; \
 104                 (awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { printf("%-10d ", $$3); print $$0 }' $(PWDIR)/passwd $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/passwd.byuid; \
 105         fi
 106         @touch passwd.time; 
 107         @echo "updated passwd"; 
 108         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) passwd.byname; fi
 109         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) passwd.byuid; fi
 110         @if [ ! $(NOPUSH) ]; then echo "pushed passwd"; fi
 111 
 112 group.time: $(DIR)/group
 113         @(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(DIR)/group $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/group.byname; 
 114         @(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { printf("%-10d ", $$3); print $$0 }' $(DIR)/group $(CHKPIPE)) | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/group.bygid; 
 115         @touch group.time; 
 116         @echo "updated group"; 
 117         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) group.byname; fi
 118         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) group.bygid; fi
 119         @if [ ! $(NOPUSH) ]; then echo "pushed group"; fi
 120 
 121 project.time: $(DIR)/project


 272         @rm -f .ypjunk; 
 273         @touch netid.time; 
 274         @echo "updated netid"; 
 275         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) netid.byname; fi
 276         @if [ ! $(NOPUSH) ]; then echo "pushed netid"; fi
 277 
 278 # Old way.  Could be restored by PSARC decision.
 279 #
 280 #passwd.adjunct.time: $(PWDIR)/security/passwd.adjunct
 281 #       @(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(PWDIR)/security/passwd.adjunct $(CHKPIPE)) | \
 282 #               $(MAKEDBM) -s - $(YPDBDIR)/$(DOM)/passwd.adjunct.byname;
 283 #       @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.dir; 
 284 #       @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.pag; 
 285 #       @touch passwd.adjunct.time 
 286 #       @echo "updated passwd.adjunct"; 
 287 #       @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) passwd.adjunct.byname; fi
 288 #       @if [ ! $(NOPUSH) ]; then echo "pushed passwd.adjunct"; fi
 289 
 290 passwd.adjunct.time: $(PWDIR)/security/passwd.adjunct $(PWDIR)/shadow
 291         -@if [ -f $(PWDIR)/shadow ]; then \
 292                 (/usr/xpg4/bin/awk 'BEGIN { FS=":"; while (getline < "$(PWDIR)/shadow" > 0) shadow[$$1] = $$2; } /^[a-zA-Z0-9_]/ { $$2 = shadow[$$1]; OFS=":"; printf "%s\t%s\n", $$1, $$0 }' $(PWDIR)/security/passwd.adjunct $(CHKPIPE)) | $(MAKEDBM) -s - $(YPDBDIR)/$(DOM)/passwd.adjunct.byname; \
 293         else \
 294                 (awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(PWDIR)/security/passwd.adjunct $(CHKPIPE)) | \
 295                 $(MAKEDBM) -s - $(YPDBDIR)/$(DOM)/passwd.adjunct.byname; \
 296         fi
 297         @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.dir; 
 298         @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.pag; 
 299         @touch passwd.adjunct.time 
 300         @echo "updated passwd.adjunct"; 
 301         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) passwd.adjunct.byname; fi
 302         @if [ ! $(NOPUSH) ]; then echo "pushed passwd.adjunct"; fi
 303 
 304 group.adjunct.time: $(PWDIR)/security/group.adjunct
 305         @(awk 'BEGIN { FS=":"; OFS="\t"; } /^[a-zA-Z0-9_]/ { print $$1, $$0 }' $(PWDIR)/security/group.adjunct $(CHKPIPE)) | \
 306         $(MAKEDBM) -s - $(YPDBDIR)/$(DOM)/group.adjunct.byname; 
 307         @chmod 600 $(YPDBDIR)/$(DOM)/group.adjunct.byname.dir; 
 308         @chmod 600 $(YPDBDIR)/$(DOM)/group.adjunct.byname.pag; 
 309         @touch group.adjunct.time 
 310         @echo "updated group.adjunct"; 
 311         @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) group.adjunct.byname; fi
 312         @if [ ! $(NOPUSH) ]; then echo "pushed group.adjunct"; fi


 349                 sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto_home \
 350                 | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.home; \
 351                 touch auto.home.time; \
 352                 echo "updated auto.home"; \
 353                 if [ ! $(NOPUSH) ]; then \
 354                         $(YPPUSH) auto.home; \
 355                         echo "pushed auto.home"; \
 356                 else \
 357                 : ; \
 358                 fi \
 359         else \
 360                 echo "couldn't find $(DIR)/auto_home"; \
 361         fi
 362 
 363 
 364 auth.attr.time:  $(RBACDIR)/auth_attr
 365         -@if [ -f $(RBACDIR)/auth_attr ]; then \
 366                 sed -e "/^#/d" -e s/#.*$$// $(RBACDIR)/auth_attr \
 367                 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
 368                 -e 's/\\$$/\\/;t l' -e } \
 369                 | (/usr/xpg4/bin/awk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ \
 370                 {printf "%s:%s\n", $$1, $$0 }' $(CHKPIPE)) \
 371                 | $(MAKEDBM) -S ":" -E - $(YPDBDIR)/$(DOM)/auth_attr; \
 372                 touch auth.attr.time; \
 373                 echo "updated auth_attr"; \
 374                 if [ ! $(NOPUSH) ]; then \
 375                         $(YPPUSH) auth_attr; \
 376                         echo "pushed auth_attr"; \
 377                 else \
 378                 : ; \
 379                 fi \
 380         else \
 381                 echo "couldn't find $(RBACDIR)/auth_attr"; \
 382         fi
 383 
 384 exec.attr.time:  $(RBACDIR)/exec_attr
 385         -@if [ -f $(RBACDIR)/exec_attr ]; then \
 386                 sed -e "/^#/d" -e s/#.*$$// $(RBACDIR)/exec_attr \
 387                 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
 388                 -e 's/\\$$/\\/;t l' -e } \
 389                 | (/usr/xpg4/bin/awk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ \
 390                 {printf "%s:%s:%s:%s\n", $$1, $$2, $$6, $$0 }' $(CHKPIPE)) \
 391                 | $(MAKEDBM) -S ":" -E -D 2 - $(YPDBDIR)/$(DOM)/exec_attr; \
 392                 touch exec.attr.time; \
 393                 echo "updated exec_attr"; \
 394                 if [ ! $(NOPUSH) ]; then \
 395                         $(YPPUSH) exec_attr; \
 396                         echo "pushed exec_attr"; \
 397                 else \
 398                 : ; \
 399                 fi \
 400         else \
 401                 echo "couldn't find $(RBACDIR)/exec_attr"; \
 402         fi
 403 
 404 prof.attr.time:  $(RBACDIR)/prof_attr
 405         -@if [ -f $(RBACDIR)/prof_attr ]; then \
 406                 sed -e "/^#/d" -e s/#.*$$// $(RBACDIR)/prof_attr \
 407                 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
 408                 -e 's/\\$$/\\/;t l' -e } \
 409                 | (/usr/xpg4/bin/awk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ \
 410                 {printf "%s:%s\n", $$1, $$0 }' $(CHKPIPE)) \
 411                 | $(MAKEDBM) -S ":" -E - $(YPDBDIR)/$(DOM)/prof_attr; \
 412                 touch prof.attr.time; \
 413                 echo "updated prof_attr"; \
 414                 if [ ! $(NOPUSH) ]; then \
 415                         $(YPPUSH) prof_attr; \
 416                         echo "pushed prof_attr"; \
 417                 else \
 418                 : ; \
 419                 fi \
 420         else \
 421                 echo "couldn't find $(RBACDIR)/prof_attr"; \
 422         fi
 423 
 424 user.attr.time:  $(DIR)/user_attr
 425         -@if [ -f $(DIR)/user_attr ]; then \
 426                 sed -e "/^#/d" -e s/#.*$$// $(DIR)/user_attr \
 427                 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
 428                 -e 's/\\$$/\\/;t l' -e } \
 429                 | (/usr/xpg4/bin/awk 'BEGIN { FS=":"; OFS=":" } /^[a-zA-Z0-9_]/ \
 430                 {printf "%s:%s\n", $$1, $$0 }' $(CHKPIPE)) \
 431                 | $(MAKEDBM) -S ":" -E - $(YPDBDIR)/$(DOM)/user_attr; \
 432                 touch user.attr.time; \
 433                 echo "updated user_attr"; \
 434                 if [ ! $(NOPUSH) ]; then \
 435                         $(YPPUSH) user_attr; \
 436                         echo "pushed user_attr"; \
 437                 else \
 438                 : ; \
 439                 fi \
 440         else \
 441                 echo "couldn't find $(DIR)/user_attr"; \
 442         fi
 443 
 444 ageing.time:  $(PWDIR)/shadow
 445         -@if [ -f $(PWDIR)/shadow ]; then \
 446                 (awk 'BEGIN {FS=":"; OFS=":"} $$1 !~ /^#/ {printf "%s\t%s:%s:%s:%s:%s:%s:%s:%s\n", $$1,$$1,$$3,$$4,$$5,$$6,$$7,$$8,$$9}' $(PWDIR)/shadow) | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/ageing.byname; \
 447                 touch ageing.time; \
 448                 echo "updated ageing"; \
 449         else \