From 7f0f180eca272787a9b4152fc414c36ffde03826 Mon Sep 17 00:00:00 2001 From: hht8 Date: Fri, 26 Feb 2021 10:05:33 +0800 Subject: [PATCH] Fix login shell to /sbin/nologin --- firebird.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/firebird.spec b/firebird.spec index feb21ef..e9e94a8 100644 --- a/firebird.spec +++ b/firebird.spec @@ -1,6 +1,6 @@ Name: firebird Version: 3.0.3.32900 -Release: 6 +Release: 7 Summary: SQL relational database management system License: Interbase URL: http://www.firebirdsql.org/ @@ -113,7 +113,7 @@ cp .%{_datadir}/firebird/misc/firebird-superserver.service .%{_unitdir}/firebird %pre getent group firebird || /usr/sbin/groupadd -r firebird -getent passwd firebird >/dev/null || /usr/sbin/useradd -d / -g firebird -s /bin/nologin -r firebird +getent passwd firebird >/dev/null || /usr/sbin/useradd -d / -g firebird -s /sbin/nologin -r firebird oldLine=$(grep "^gds_db" /etc/services) @@ -184,6 +184,9 @@ systemd-tmpfiles --create %{_tmpfilesdir}/firebird.conf %exclude %{_docdir}/firebird/IPLicense.txt %changelog +* Thu Feb 25 2021 huanghaitao - 3.0.3.32900-7 +- Fix login shell to /sbin/nologin + * Mon Jan 13 2020 openEuler Buildteam - 3.0.3.32900-6 - Type:bugfix - Id:NA