Annvix
Personal tools



/Documentation/Dev/Building/UID GID Map

From Annvix

Developer's Reference: Building Annvix: UID/GID Map

Unlike Mandriva, Annvix uses static uid/gid mappings for system accounts. This is a simple and convenient way to keep things similar across multiple systems. With Mandriva, the order of installed packages directly impacts what uid/gid numbers are assigned to system users; in our opinion this is an incorrect approach to handling system accounts.

However, unlike older distributions that had passwd and group files filled with unused system accounts (and because this also presents a security risk), user accounts are still added only when the package is installed, but developers assign a static uid/gid to the created account in the spec file. If you are developing a package for Annvix and require a static uid/gid, consult this listing for free uid/gid numbers and send a request to the dev mailing list indicating your intention to assign a static uid/gid pair to your package. This will prevent packages from trying to use the same usernames or uid/gid pairs.

As a general rule of thumb, you can expect the next free uid/gid pair according to the following conventions:

  • 0-199 - main system accounts, mainline package uid/gid pairs
  • 200-399 - ports package uid/gid pairs
  • 400-499 - reserved for now
  • 500+ - user accounts

Please see the Spec Files page to see how to use the modified macros to assign a static uid/gid.

UID/GIDUser NameRPM Package
MAIN SYSTEM ACCOUNTS
0/0rootsetup
1/1binsetup
2/2daemonsetup
/3syssetup
3/4admsetup
/5ttysetup
/6disksetup
4/7lpsetup
5/0syncsetup
6/0shutdownsetup
7/0haltsetup
/8memsetup
/9kmemsetup
/10wheelsetup
/11adminsetup
8/12mailsetup
9/13newssetup
/14cronsetup
11/0operatorsetup
/15mansetup
/16xgrpXFree86-xfs
/17slocateslocate
/18ctoolssetup
/19floppysetup
/20usbsetup
/22cdromsetup
/23cdwritersetup
/24utmpsetup
/25videosetup
/26utempterlibutempter0
67/67loggersetup
68/68rpmrpm
70/70xfsXFree86-xfs
71/71sshdopenssh-server
72/72rpcportmap
73/73rpcusernfs-utils-clients
74/74apacheapache-conf/apache2-common
75/75postgrespostgresql-server
76/76ldapopenldap-servers
77/77snortsnort
78/78postfixpostfix
/79postdroppostfix
80/80namedbind
81/81ftppure-ftpd
82/82mysqlMySQL-common
83/83nscdglibc
84/84klogdsysklogd
85/85syslogdsysklogd
86/86squidsquid
87/87ntpntp
88/88pdnspdns
89/89dhcpdhcp
/90sasllibsasl2-plug-sasldb
91/91clamavclamav
92/92svnsubversion-server
93/93dovecotdovecot
94/94openvpnopenvpn
/100userssetup
/101machinessamba-server
PORTS PACKAGE ACCOUNTS
200nullmailnullmailer
201qmaildqmail
/201qmailqmail
202qmailpqmail
203qmailqqmail
204qmailrqmail
205qmailsqmail
206aliasqmail
207tftpdtftp
208lighttpdlighttpd
209ntopntop
RESERVED ACCOUNTS
400/400rsbadminsetup
401/401rsbdatasetup
402/402rsbtpmgrsetup
403/403builderannvix-ports
USER ACCOUNTS
/65533nobodylsb
65534/65534nobody/nogroupsetup




Sponsors: Cheap Flights - Phoenix Pools - Car Insurance - Credit Counseling