Date: Thu, 30 May 1996 20:33:04 +0200 (MET DST) From: Ollivier Robert <roberto@keltia.freenix.fr> To: jc@irbs.com (John Capo) Cc: green@fang.cs.sunyit.edu, hackers@freebsd.org Subject: Re: Adduser program in C Message-ID: <199605301833.UAA11823@keltia.freenix.fr> In-Reply-To: <199605271655.MAA02310@irbs.irbs.com> from John Capo at "May 27, 96 12:55:17 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
It seems that John Capo said: > > 1. domainname returns a non-void value AND > > 2. /var/yp/DOMAINNAME exists AND > > 3. ypserv is running > > > > THEN YP is running and we're on the master ? > > No, you could be on a slave server. I'm not sure how to tell the > difference. rpc.yppasswdd then ? # Start ypserv if we're an NIS server. # Run yppasswdd only on the NIS master server if [ "X${nis_serverflags}" != X"NO" ]; then echo -n ' ypserv'; ypserv ${nis_serverflags} if [ "X${yppasswddflags}" != X"NO" ]; then echo -n ' yppasswdd'; rpc.yppasswdd ${yppasswddflags} fi fi -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #4: Sun May 26 14:34:02 MET DST 1996
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605301833.UAA11823>