Subject: pkg/17183: need control over how pkgsrc creates users & groups
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/07/2002 10:21:11
>Number:         17183
>Category:       pkg
>Synopsis:       need control over how pkgsrc creates users & groups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 06 17:22:00 PDT 2002
>Originator:     Luke Mewburn
>Release:        NetBSD 1.6_BETA1
Luke Mewburn  <>
Luke Mewburn     <>
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system
System: NetBSD 1.6_BETA1 NetBSD 1.6_BETA1 (ARGO from GENERIC-$Revision: 1.491 $) #0: Thu May 23 23:22:19 EST 2002 i386
Architecture: i386
Machine: i386
	It would be nice if (IWBNI) pkgsrc had an mk.conf variable
	to control whether required users or groups are created by
	the package install mechanism (from mk/install/install ?),
	or just checked for the existence and barf if they're missing.

	Some of us run systems where it's not appropriate to
	add new users or groups to the local system databases, or at
	least, not without manual intervention.

	Install a package on a (client) machine.  Notice that it's
	polluted your passed(5) database with a new user, which will get
	lost the next time the database is built from your master

	Add an mk.conf variable.  Johnny Lam suggests PREEXIST_USERGROUP
	(and then goes on say, "Of course, a better variable name
	would be good to have in the PR" :-)