From owner-freebsd-current Wed Dec 2 04:33:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA15307 for freebsd-current-outgoing; Wed, 2 Dec 1998 04:33:27 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA15301 for ; Wed, 2 Dec 1998 04:33:22 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id XAA07714; Wed, 2 Dec 1998 23:33:08 +1100 Date: Wed, 2 Dec 1998 23:33:08 +1100 From: Bruce Evans Message-Id: <199812021233.XAA07714@godzilla.zeta.org.au> To: dillon@apollo.backplane.com, jkh@zippy.cdrom.com Subject: Re: Uh oh... Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >number?" coming in - there's really just no substitute for getting the >new entries into the password file. > >Fortunately, the pw(8) command makes this pretty easy to do. You can >check to see if the user/uid is already there by doing something like: > > if pw usershow bind > /dev/null 2>&1; then > pw useradd bind ..other args.. > fi > >In /usr/src/Makefile.inc1's buildworld rule (I'd stick it before the >hierarchy stuff, for obvious reasons). `make world' is not permitted to change /etc. Especially not /etc/master.passwd when installing to DESTDIR=/mnt/root. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message