[packages/mariadb] Don't use /bin/sh for service account
arekm
arekm at pld-linux.org
Wed Jul 12 11:21:14 CEST 2023
commit e7f5c2422b4c10c27cf6f44d80648456e7e0c347
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jul 12 10:13:11 2023 +0200
Don't use /bin/sh for service account
mariadb.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mariadb.spec b/mariadb.spec
index 2926167..eb52fd4 100644
--- a/mariadb.spec
+++ b/mariadb.spec
@@ -689,7 +689,7 @@ rm -rf $RPM_BUILD_ROOT
%pre
%groupadd -g 89 mysql
-%useradd -u 89 -d %{_mysqlhome} -s /bin/sh -g mysql -c "MariaDB Server" mysql
+%useradd -u 89 -d %{_mysqlhome} -s /bin/false -g mysql -c "MariaDB Server" mysql
%post
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mariadb.git/commitdiff/e7f5c2422b4c10c27cf6f44d80648456e7e0c347
More information about the pld-cvs-commit
mailing list