Re: User/Group ID assignment

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

 



On 22.10.2013 13:32, Mikolaj Izdebski wrote:
> 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
> 

Thanks, that is the list I was looking for. Is there any mechanism to
assign first available id from "less than 999" pool or should I manually
find the right number? I understand that dynamic assignment is done by
package manager, but I don't want to rebuild and reinstall rpm package
for now on.


Mateusz Marzantowicz
-- 
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