Fix login shell to /sbin/nologin
This commit is contained in:
parent
3b0debe092
commit
cbcd04a6f4
@ -1,6 +1,6 @@
|
|||||||
Name: firebird
|
Name: firebird
|
||||||
Version: 3.0.3.32900
|
Version: 3.0.3.32900
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: SQL relational database management system
|
Summary: SQL relational database management system
|
||||||
License: Interbase
|
License: Interbase
|
||||||
URL: http://www.firebirdsql.org/
|
URL: http://www.firebirdsql.org/
|
||||||
@ -113,7 +113,7 @@ cp .%{_datadir}/firebird/misc/firebird-superserver.service .%{_unitdir}/firebird
|
|||||||
%pre
|
%pre
|
||||||
|
|
||||||
getent group firebird || /usr/sbin/groupadd -r firebird
|
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)
|
oldLine=$(grep "^gds_db" /etc/services)
|
||||||
@ -184,6 +184,9 @@ systemd-tmpfiles --create %{_tmpfilesdir}/firebird.conf
|
|||||||
%exclude %{_docdir}/firebird/IPLicense.txt
|
%exclude %{_docdir}/firebird/IPLicense.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 03 2021 panchenbo <panchenbo@uniontech.com> - 3.0.3.32900-8
|
||||||
|
- Fix login shell to /sbin/nologin
|
||||||
|
|
||||||
* Tue Aug 18 2020 senlin<xiasenlin1@huawei.com> - 3.0.3.32900-7
|
* Tue Aug 18 2020 senlin<xiasenlin1@huawei.com> - 3.0.3.32900-7
|
||||||
- add release for update
|
- add release for update
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user