!8 Fix login shell to /sbin/nologin
From: @hht8 Reviewed-by: @zhuchunyi Signed-off-by: @zhuchunyi
This commit is contained in:
commit
3e59901e0b
@ -1,6 +1,6 @@
|
|||||||
Name: firebird
|
Name: firebird
|
||||||
Version: 3.0.3.32900
|
Version: 3.0.3.32900
|
||||||
Release: 6
|
Release: 7
|
||||||
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
|
||||||
|
* Thu Feb 25 2021 huanghaitao <huanghaitao8@huawei.com> - 3.0.3.32900-7
|
||||||
|
- Fix login shell to /sbin/nologin
|
||||||
|
|
||||||
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.0.3.32900-6
|
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.0.3.32900-6
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user