From owner-freebsd-stable Mon Sep 18 9:16:15 2000 Delivered-To: freebsd-stable@freebsd.org Received: from penguin.prod.itd.earthlink.net (penguin.prod.itd.earthlink.net [207.217.120.134]) by hub.freebsd.org (Postfix) with ESMTP id CFA0237B423 for ; Mon, 18 Sep 2000 09:16:12 -0700 (PDT) Received: from rod.darktech.org (ip152.cambridge2.ma.pub-ip.psi.net [38.32.112.152]) by penguin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id JAA14470; Mon, 18 Sep 2000 09:16:11 -0700 (PDT) Received: (from eogren@localhost) by rod.darktech.org (8.10.1/8.9.3) id e8IGG9T01117; Mon, 18 Sep 2000 12:16:09 -0400 (EDT) (envelope-from eogren) Date: Mon, 18 Sep 2000 12:16:09 -0400 From: Eric Ogren To: Max Khon Cc: Freebsd-Stable Subject: Re: adduser & NIS Message-ID: <20000918121609.A1102@earthlink.net> References: <20000918111353.A353@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from fjoe@iclub.nsu.ru on Mon, Sep 18, 2000 at 10:56:24PM +0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 18, 2000 at 10:56:24PM +0700, Max Khon wrote: > hi, there! > > On Mon, 18 Sep 2000, Eric Ogren wrote: > > > What do you mean by an adduser that's compatible with NIS? Just run > > adduser on your NIS master, merge the change into the master.passwd file > > you have in /var/yp, and remake the maps... > > I wish this could be done automatically > Well, you could probably do this fairly easily in a script of some sort...adduser is written in perl, and I'm sure it wouldn't be too hard to add an "open /var/yp/master.passwd and write the entry there as well as to /etc/master.passwd". Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message