Print this page
7648 useradd/mod commands operate on /home special filesystem


  57                 call_pass.o   isbusy.o         userdefs.o \
  58                 messages.o    val_lgrp.o       funcs.o      val_lprj.o \
  59                 proj.o
  60 
  61 OBJECTS=        $(ADD_OBJ)     $(DEL_OBJ)    $(MOD_OBJ)
  62 
  63 SRCS=           $(OBJECTS:.o=.c)
  64 
  65 LIBDIR=         ../lib
  66 LIBUSRGRP=      $(LIBDIR)/lib.a
  67 LIBADM=         -ladm
  68 LOCAL=          ../inc
  69 HERE=           .
  70 LINTFLAGS=      -u
  71 
  72 ROOTSKEL=       $(ROOTETC)/skel
  73 INSSBINPROG=    $(SBINPROG:%=$(ROOTUSRSBIN)/%)
  74 INSSKELFILE=    $(SKELFILE:%=$(ROOTSKEL)/%)
  75 
  76 CPPFLAGS=       -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)

  77 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  78 
  79 $(INSSBINPROG)  := FILEMODE = 0555
  80 $(INSSYSADMPROG):= FILEMODE = 0500
  81 $(INSSKELFILE)  := FILEMODE = 0644
  82 
  83 $(USERADD) :=   OBJS = $(ADD_OBJ)
  84 $(USERADD) :=   LIBS = $(LIBUSRGRP)
  85 $(USERADD) :=   LDLIBS += -lcmdutils
  86 
  87 $(USERDEL) :=   OBJS = $(DEL_OBJ)
  88 $(USERDEL) :=   LIBS = $(LIBUSRGRP)
  89 
  90 $(USERMOD) :=   OBJS = $(MOD_OBJ)
  91 $(USERMOD) :=   LIBS = $(LIBUSRGRP)
  92 
  93 LDLIBS +=       -lbsm -lnsl -lsecdb -lproject -lzfs -ltsol
  94 
  95 .PARALLEL: $(OBJECTS)
  96 




  57                 call_pass.o   isbusy.o         userdefs.o \
  58                 messages.o    val_lgrp.o       funcs.o      val_lprj.o \
  59                 proj.o
  60 
  61 OBJECTS=        $(ADD_OBJ)     $(DEL_OBJ)    $(MOD_OBJ)
  62 
  63 SRCS=           $(OBJECTS:.o=.c)
  64 
  65 LIBDIR=         ../lib
  66 LIBUSRGRP=      $(LIBDIR)/lib.a
  67 LIBADM=         -ladm
  68 LOCAL=          ../inc
  69 HERE=           .
  70 LINTFLAGS=      -u
  71 
  72 ROOTSKEL=       $(ROOTETC)/skel
  73 INSSBINPROG=    $(SBINPROG:%=$(ROOTUSRSBIN)/%)
  74 INSSKELFILE=    $(SKELFILE:%=$(ROOTSKEL)/%)
  75 
  76 CPPFLAGS=       -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
  77 CPPFLAGS +=     -DDEFAULT_USERADD=\"/etc/default/useradd\"
  78 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  79 
  80 $(INSSBINPROG)  := FILEMODE = 0555
  81 $(INSSYSADMPROG):= FILEMODE = 0500
  82 $(INSSKELFILE)  := FILEMODE = 0644
  83 
  84 $(USERADD) :=   OBJS = $(ADD_OBJ)
  85 $(USERADD) :=   LIBS = $(LIBUSRGRP)
  86 $(USERADD) :=   LDLIBS += -lcmdutils
  87 
  88 $(USERDEL) :=   OBJS = $(DEL_OBJ)
  89 $(USERDEL) :=   LIBS = $(LIBUSRGRP)
  90 
  91 $(USERMOD) :=   OBJS = $(MOD_OBJ)
  92 $(USERMOD) :=   LIBS = $(LIBUSRGRP)
  93 
  94 LDLIBS +=       -lbsm -lnsl -lsecdb -lproject -lzfs -ltsol
  95 
  96 .PARALLEL: $(OBJECTS)
  97