commit a511979e8afa75a594d39dcd88a69816fcc0369f
Author: Arkadiusz Miƛkiewicz <ar...@maven.pl>
Date:   Wed Jul 12 10:12:00 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 af7322d..665fda5 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -642,7 +642,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/a511979e8afa75a594d39dcd88a69816fcc0369f

_______________________________________________
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