Re: User/Group ID assignment

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

 



On 10/22/2013 01:25 PM, Mateusz Marzantowicz wrote:
> Are there any guidelines regarding user and group id number assignment
> on Fedora?
> 
> I'd like to add user/group for daemon, related to installed package, in
> order to avoid running it as root. What numbers are already reserved and
> where can I find up to date table with that numbers?
> 
> I see in my /etc/passwd that regular user accounts are assigned numbers
> starting from 1000 (was it 500 on older systems?), 0-200 and 201-999 are
> used by system accounts and packages like httpd, wireshark, etc.

UIDs >= 1000 are reserved for users, < 1000 for system.  System UIDs can
be allocated statically or dynamically.  Static UID allocation can be
found in [1], to add a new UID you need to file a RFE against setup
package.  Dynamic UID allocation is done from 999 downwards.  You don't
need to reserve anything, but UIDs can very between systems.

[1] /usr/share/doc/setup/uidgid

-- 
Mikolaj Izdebski
IRC: mizdebsk
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux