From 76b0893ddb713cb575e92cac456ed3081840dd47 Mon Sep 17 00:00:00 2001 From: "Chong.Lu@windriver.com" Date: Mon, 14 Apr 2014 15:16:38 +0800 Subject: mariadb: use /bin/false as the login shell Use /bin/false as the login shell, just like what Ubuntu does, otherwise there might be secure issue. Signed-off-by: Robert Yang Signed-off-by: Chong Lu Signed-off-by: Martin Jansa --- meta-oe/recipes-support/mysql/mariadb_5.1.67.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/recipes-support/mysql') diff --git a/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc b/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc index 100b3a7d7f..37a0f0cd9b 100644 --- a/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc +++ b/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc @@ -35,7 +35,7 @@ INITSCRIPT_NAME = "mysqld" INITSCRIPT_PARAMS = "start 45 5 . stop 45 0 6 1 ." USERADD_PACKAGES = "${PN}-server" -USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g nogroup mysql" +USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g nogroup --shell /bin/false mysql" export ac_cv_path_PS="/bin/ps" -- cgit 1.2.3-korg