diff options
author | Chong.Lu@windriver.com <Chong.Lu@windriver.com> | 2014-04-14 15:16:38 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-04-20 11:28:39 +0200 |
commit | 76b0893ddb713cb575e92cac456ed3081840dd47 (patch) | |
tree | 8aa4d660e52eed430b1a12fc11e9a76b9fcc5800 /meta-oe/recipes-support/mysql | |
parent | 9a91c137a53db160637cf7278c36b5750a4fd965 (diff) | |
download | meta-openembedded-76b0893ddb713cb575e92cac456ed3081840dd47.tar.gz |
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 <liezhi.yang@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mysql')
-rw-r--r-- | meta-oe/recipes-support/mysql/mariadb_5.1.67.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 100b3a7d7..37a0f0cd9 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" | |||
35 | INITSCRIPT_PARAMS = "start 45 5 . stop 45 0 6 1 ." | 35 | INITSCRIPT_PARAMS = "start 45 5 . stop 45 0 6 1 ." |
36 | 36 | ||
37 | USERADD_PACKAGES = "${PN}-server" | 37 | USERADD_PACKAGES = "${PN}-server" |
38 | USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g nogroup mysql" | 38 | USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g nogroup --shell /bin/false mysql" |
39 | 39 | ||
40 | 40 | ||
41 | export ac_cv_path_PS="/bin/ps" | 41 | export ac_cv_path_PS="/bin/ps" |