Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Dec 1998 02:41:28 -0800
From:      "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Uh oh... 
Message-ID:  <6862.912595288@zippy.cdrom.com>
In-Reply-To: Your message of "Wed, 02 Dec 1998 02:31:13 PST." <199812021031.CAA13477@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>     Uh oh.  Hmmm.  Can we specify a uid in the BSD.root.dist rather then
>     a user name ?

It wouldn't really solve the problem since then you'd just have the
2nd-order bug reports of "why are all my files owned by this funny
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).

- Jordan

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



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