[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating users



On Wed, May 07, 2003 at 01:43:56AM -0700, Pedro Salgueiro wrote:

> Can a deb package create a user?

Yes, with some restrictions, see policy section 10.2.2 (UID and GID
classes).  Basically, there's a section of UID/GIDs reserved for
dynamic allocation by packages.  This is 100-999 by default, but the
user can change that by editing adduser.conf, so you should use
"adduser --system" to create the user.

If you need a specific UID (can't use dynamic allocation for some
reason), then things get trickier; I'll assume that's not the case and
ignore the issue for now.

-- 
Chris Waters           |  Pneumonoultra-        osis is too long
xtifr@debian.org       |  microscopicsilico-    to fit into a single
or xtifr@speakeasy.net |  volcaniconi-          standalone haiku



Reply to: