Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 1999 08:36:29 +0200
From:      Matthias Meyser <Matthias.Meyser@harz.de>
To:        Ben Vaughn <bvaughn@prophetnetworks.net>, freebsd-isp@FreeBSD.ORG
Subject:   Re: NIS Master and non-split passwd files
Message-ID:  <19990710083629.A11798@xenetserver.harz.de>
In-Reply-To: <000b01beca61$063f4200$05fc473f@prophetnetworks.net>; from Ben Vaughn on Fri, Jul 09, 1999 at 06:15:59PM -0500
References:  <000b01beca61$063f4200$05fc473f@prophetnetworks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

On Fri, Jul 09, 1999 at 06:15:59PM -0500, Ben Vaughn wrote:
>     Hello again,
>     I just noticed that since I am using a /var/yp/master.passwd file, when
> adding users I have to adduser on the master and then copy the entry over to
> the /var/yp/master.passwd file. Does anyone know of how to keep these files
> in sync with each other? I know its not advisable to make nis use
> /etc/master.passwd, so I am avoiding that situation. If anyone knows of a
> way to use /etc/master.passwd while stripping anything <UID1000, that would
> also be nice.

Just configure your nisserver as a nisclient too.
(Put a "+:::::::" in /etc/passwd /master.passwd....)
then put all local UIDS in /etc/master.passwd 
and all net uids to /var/yp/master.passwd

this works here just fine.

CU
  matthias

-- 
\\   //      N   N EEE TTT Matthias Meyser, Meyser@harz.de
 \\ //  eee  NN  N E    T  Gesellschaft fuer Informations- und 
  \X/  e   e N N N EE   T  Kommunikationssysteme mbH
 // \\ e ee  N  NN E    T  38678 Clausthal-Zellerfeld, Burgstaetter Strasse 6
//   \\ eeee N   N EEE  T  Telefon: +49-5323-94018 Fax: +49-5323-94011


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990710083629.A11798>