Subject: Re: Overhauling PLIST command set
To: Malcolm Herbert <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 11/07/2005 17:24:43
On Tue, 8 Nov 2005, Malcolm Herbert wrote:
> one thing that really really really annoys me is that users created
> for packages are given uids in the order that the packages are installed.
> Makes things really hard to keep machines in sync if you install the
> same packages, but forget the order in which you'd done it ...
> It would be nice to have a standard set of account details for
> pkgsrc packages, or if that would be a nightmare to set up (as I think
> it probably would be), allow each site to specify this at package
> build time somehow (this may already be possible and I'm not aware of
Have a look at the Debian Policy Manual at
http://www.debian.org/doc/debian-policy/ch-opersys.html for some ideas.
Here is a summary:
- Some UIDs and GIDs are reserved globally for use by certain packages.
- UIDs and GIDs 0-99 are the same on every Debian system.
- a "Debian" base-passwd maintainer is responsible for allocating these.
- UIDs and GIDs 100-999 are also system accounts, but allocated
Here is a list of users pkgsrc uses (not including root or bin):
daemon (too generic I think -- is used by canna)
jitter (UID 509)
sshd (UID 16)
Some have UIDs that they prefer, but I didn't list them all here.
Should we decide on whay UIDs to use?
Should we have a policy for this?
Jeremy C. Reed
BSD News, BSD tutorials, BSD links