commit 4be25ba9ec13ac01573047c6f2abf760a2c17ca7
Author: Arkadiusz Miƛkiewicz <ar...@maven.pl>
Date:   Wed Jul 12 10:11:38 2023 +0200

    Don't use /bin/sh for service account

 mysql.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mysql.spec b/mysql.spec
index d853f7e..48ceb15 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -647,7 +647,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %pre
 %groupadd -g 89 mysql
-%useradd -u 89 -d %{_mysqlhome} -s /bin/sh -g mysql -c "MySQL Server" mysql
+%useradd -u 89 -d %{_mysqlhome} -s /bin/false -g mysql -c "MySQL Server" mysql
 
 %post
 /sbin/ldconfig
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/4be25ba9ec13ac01573047c6f2abf760a2c17ca7

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to