[packages/percona-server] Don't use /bin/sh for service account
arekm
arekm at pld-linux.org
Wed Jul 12 11:21:38 CEST 2023
commit e3be5d3ee9848f137620e1cebc77065e472b0c01
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jul 12 10:13:38 2023 +0200
Don't use /bin/sh for service account
percona-server.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/percona-server.spec b/percona-server.spec
index e67a960..fea9265 100644
--- a/percona-server.spec
+++ b/percona-server.spec
@@ -693,7 +693,7 @@ rm -rf $RPM_BUILD_ROOT
%pre
%groupadd -g 89 mysql
-%useradd -u 89 -d %{_perconahome} -s /bin/sh -g mysql -c "Percona Server" mysql
+%useradd -u 89 -d %{_perconahome} -s /bin/false -g mysql -c "Percona Server" mysql
%post
/sbin/ldconfig
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/e3be5d3ee9848f137620e1cebc77065e472b0c01
More information about the pld-cvs-commit
mailing list