From a511979e8afa75a594d39dcd88a69816fcc0369f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 12 Jul 2023 10:12:00 +0200 Subject: [PATCH] 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 -- 2.44.0