P

package-users

A modified version of the package users system by Matthias S. Benkmann, originally described at: http://www.linuxfromscratch.org/hints/downloads/files/more_control_and_pkg_man.txt

public

 
This repository contains the "more control and package management using
package users" document and helper scripts by Matthias S. Benkmann,
originally found as a hint for Linux From Scratch. This version has been
extensively modified, extended, and adjusted both to be better aligned
with our stylistic preferences and to make it fit better as part of the
Cross-Built Linux process and system.

Please refer to the file COPYING for copyright and license details.

As of November 2017, the original version of the document is available
on the Linux From Scratch site:

http://www.linuxfromscratch.org/hints/downloads/files/more_control_and_pkg_man.txt

and the original version of the helper scripts are available at:

http://www.linuxfromscratch.org/hints/downloads/files/ATTACHMENTS/more_control_and_pkg_man/more_control_helpers.tar.bz2

The package-users material should be the first thing installed as a part
of the final CBL system -- before installing any other packages. Since
the package users scripts aren't available at the time that they're
being installed, CBL provides a blueprint that sets up the package users
files _just as though_ they had been installed using the package users
framework.

The conventions used in CBL are: the install group is GID 9999, and
package users are set up to use UIDs and GIDs starting with 10000.

CBL also sets UID_MAX and GID_MAX in /etc/login.defs to 9997 so that
useradd and groupadd won't allocate values that are reserved for package
users, and removes the GROUP and CREATE_MAIL_SPOOL settings from the
useradd defaults.

There are extensive changes from the original "more control helpers"
archive. Read the document (in the `doc` directory here) for details of
how they can be used.