Use 95 GID/UID as it's reserved for FreeRADIUS

Since 95 is reserved GID/UID for FreeRADIUS, we can safely use it.
https://pagure.io/setup/blob/07f8debf03dfb0e5ed36051c13c86c8cd00cd241/f/uidgid#_107

Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
Antonio Torres 2022-06-29 12:51:37 +02:00
parent a688847dcf
commit fdb219a9d2
No known key found for this signature in database
GPG Key ID: 359FAF777296F653
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Summary: High-performance and highly configurable free RADIUS server
Name: freeradius
Version: 3.0.25
Release: 7%{?dist}
Release: 8%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.freeradius.org/
@ -896,6 +896,10 @@ EOF
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
%changelog
* Wed Jun 29 2022 Antonio Torres <antorres@redhat.com> - 3.0.25-8
- Use GID / UID 95 as it's reserved for FreeRADIUS (https://pagure.io/setup/blob/07f8debf03dfb0e5ed36051c13c86c8cd00cd241/f/uidgid#_107)
Related: #2095741
* Fri Jun 24 2022 Antonio Torres <antorres@redhat.com> - 3.0.25-7
- Dynamically allocate users using sysusers.d format
Related: #2095741

View File

@ -1,2 +1,3 @@
#Type Name ID GECOS Home directory Shell
u radiusd - "radiusd user" /var/lib/radiusd /sbin/nologin
u radiusd 95 "radiusd user" /var/lib/radiusd /sbin/nologin
g radiusd 95 - - -