tcpdump: simplify sysusers.d configuration fragment

This simplifies the sysusers.d configuration fragment in two
directions:
 * a single `u` entry is enough to create both the user and the
   group, with the same static UID and GID
 * the 'nologin' shell is already the default one, the field can
   be omitted
This commit is contained in:
Luca BRUNO 2022-08-03 15:43:06 +00:00
parent fe06734429
commit c931949d5a
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,2 @@
#Type Name ID GECOS Home directory Shell
g tcpdump 72
u tcpdump 72 "tcpdump" - /sbin/nologin
m tcpdump tcpdump
u tcpdump 72 "tcpdump" - -

View File

@ -2,7 +2,7 @@ Summary: A network traffic monitoring tool
Name: tcpdump
Epoch: 14
Version: 4.99.1
Release: 7%{?dist}
Release: 8%{?dist}
License: BSD with advertising
URL: http://www.tcpdump.org
Requires(pre): shadow-utils
@ -82,6 +82,9 @@ exit 0
%{_mandir}/man8/tcpdump.8*
%changelog
* Wed Aug 03 2022 Luca BRUNO <lucab@lucabruno.net> - 14:4.99.1-8
- Simplify sysusers.d configuration fragment
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14:4.99.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild