Pick a Free OS

User login

Navigation

NIS on Linux

MINGID=500

MERGE_PASSWD=true

MERGE_GROUP=true

AWK = /usr/bin/gawk

MAKE = /usr/bin/gmake

UMASK = umask 066

YPSRCDIR = /etc

YPPWDDIR = /etc

YPBINDIR = /usr/lib/yp

YPSBINDIR = /usr/sbin

YPDIR = /var/yp

YPMAPDIR = $(YPDIR)/$(DOMAIN)

GROUP = $(YPPWDDIR)/group

PASSWD = $(YPPWDDIR)/passwd

SHADOW = $(YPPWDDIR)/shadow

GSHADOW = $(YPPWDDIR)/gshadow

ADJUNCT = $(YPPWDDIR)/passwd.adjunct

#ALIASES = $(YPSRCDIR)/aliases

ALIASES = /etc/aliases

ETHERS = $(YPSRCDIR)/ethers

BOOTPARAMS = $(YPSRCDIR)/bootparams (bootparamd)

HOSTS = $(YPSRCDIR)/hosts

NETWORKS = $(YPSRCDIR)/networks

PROTOCOLS = $(YPSRCDIR)/protocols

PUBLICKEYS = $(YPSRCDIR)/publickey

RPC = $(YPSRCDIR)/rpc

SERVICES = $(YPSRCDIR)/services

NETGROUP = $(YPSRCDIR)/netgroup

NETID = $(YPSRCDIR)/netid

AMD_HOME = $(YPSRCDIR)/amd.home

AUTO_MASTER = $(YPSRCDIR)/auto.master

AUTO_HOME = $(YPSRCDIR)/auto.home

YPSERVERS = $(YPDIR)/ypservers

target: Makefile

@test ! -d $(LOCALDOMAIN) && mkdir $(LOCALDOMAIN) ;

cd $(LOCALDOMAIN) ;

$(NOPUSH) || $(MAKE) -f ../Makefile ypservers;

$(MAKE) -f ../Makefile all

all: passwd hosts services protocols networks auto.master

#shadow publickey

#auto.master auto.home passwd.adjunct


# do not edit if novice


DBLOAD = /usr/lib/yp/makedbm -c -m $(YPBINDIR)/yphelper-hostname'

MKNETID = $(YPBINDIR)/mknetid

YPPUSH = $(YPSBINDIR)/yppush

MERGER = $(YPBINDIR)/yphelper

DOMAIN = 'basename 'pwd"

LOCALDOMAIN = '/bin/domainname'

REVNETGROUP = $(YPBINDIR)/revnetgroup

ethers: ethers.byname ethers.byaddr

hosts: hosts.byname hosts.byaddr

networks: networks.byaddr networks.byname

protocols: protocols.bynumber protocols.byname

rpc: rpc.byname rpc.bynumber

services: services.byname

passwd: passwd.byname passwd.byuid

group: group.byname group.bygid

shadow: shadow.byname

passwd.adjunct: passwd.adjunct.byname

netid: netid.byname

netgrp: netgroup netgroup.byhost netgroup.byuser