]> git.pld-linux.org Git - packages/mysql.git/commitdiff
Don't use /bin/sh for service account
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 12 Jul 2023 08:12:00 +0000 (10:12 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 12 Jul 2023 08:12:00 +0000 (10:12 +0200)
mysql.spec

index af7322d7d890efeb521222cbfe54ba6aee12f001..665fda5fb64f48a46e9d59897d476db8a6d5673b 100644 (file)
@@ -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
This page took 0.092586 seconds and 4 git commands to generate.