diff --git a/system-user-nobody.conf b/system-user-nobody.conf index 3b0ce83..2d81734 100644 --- a/system-user-nobody.conf +++ b/system-user-nobody.conf @@ -1,4 +1,4 @@ # Type Name ID GECOS [HOME] g nogroup 65533 g nobody 65534 -u nobody 65534 "nobody" /var/lib/nobody +u nobody 65534 "nobody" /var/lib/nobody /bin/bash diff --git a/system-users.changes b/system-users.changes index f4afb01..be4d0c5 100644 --- a/system-users.changes +++ b/system-users.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 8 12:48:06 UTC 2021 - Thorsten Kukuk + +- Set shell for nobody in sysusers.d config + ------------------------------------------------------------------- Tue Jun 8 14:17:24 UTC 2021 - Franck Bui diff --git a/system-users.spec b/system-users.spec index 228d494..1806d98 100644 --- a/system-users.spec +++ b/system-users.spec @@ -346,9 +346,6 @@ install -m 644 %{SOURCE25} %{buildroot}%{_sysusersdir}/system-user-ntp.conf %pre -n system-user-nobody -f nobody.pre -%post -n system-user-nobody -test -x /usr/sbin/usermod && /usr/sbin/usermod -s /bin/bash nobody ||: - %pre -n system-user-upsd -f upsd.pre %pre -n system-user-uuidd -f uuidd.pre