commit e7f5c2422b4c10c27cf6f44d80648456e7e0c347
Author: Arkadiusz MiĆkiewicz <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit