From d0f786d63c8e4dd3d156dd68ad77c2164fdaa7ef Mon Sep 17 00:00:00 2001 From: Antonio Torres Date: Wed, 29 Jun 2022 14:00:45 +0200 Subject: [PATCH] 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 --- freeradius.spec | 6 +++++- freeradius.sysusers | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/freeradius.spec b/freeradius.spec index e246ae0..12a9004 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -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 - 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 - 3.0.21-33 - Dynamically allocate users using sysusers.d format Resolves: #2095403 diff --git a/freeradius.sysusers b/freeradius.sysusers index e261886..c0d814e 100644 --- a/freeradius.sysusers +++ b/freeradius.sysusers @@ -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 - - - \ No newline at end of file