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

95 can be used as GID/UID as it's already reserved for us: https://pagure.io/setup/blob/07f8debf03dfb0e5ed36051c13c86c8cd00cd241/f/uidgid#_107

Resolves: #2095403
Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
Antonio Torres 2022-06-29 14:00:45 +02:00
parent a45a010a91
commit d0f786d63c
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.21
Release: 33%{?dist}
Release: 34%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.freeradius.org/
@ -858,6 +858,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.21-34
- Use GID / UID 95 as it's reserved for FreeRADIUS (https://pagure.io/setup/blob/07f8debf03dfb0e5ed36051c13c86c8cd00cd241/f/uidgid#_107)
Resolves: #2095403
* Fri Jun 24 2022 Antonio Torres <antorres@redhat.com> - 3.0.21-33
- Dynamically allocate users using sysusers.d format
Resolves: #2095403

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