diff options
author | Qiang Chen <qiang.chen@windriver.com> | 2013-11-19 15:50:37 -0600 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2013-11-25 21:52:39 -0500 |
commit | 6026617ea32b2c941a6de26f5c14efb9e291b100 (patch) | |
tree | 9ade05c682e1682b7191b54c3d12f10e8756673e /meta-networking/recipes-daemons/proftpd | |
parent | 6bd20f39d54d767aaaf0c5082fc5612eac90eb15 (diff) | |
download | meta-openembedded-6026617ea32b2c941a6de26f5c14efb9e291b100.tar.gz |
proftpd: Convert proftpd group to system scope
Proftpd is meant to be a system user, not a normal user of the
system so lets pass the correct parameters to the system.
Just add --system param when creating ftp group.
Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-daemons/proftpd')
-rw-r--r-- | meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb index 6571b9cb7..29c309703 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb | |||
@@ -60,7 +60,7 @@ INITSCRIPT_NAME = "proftpd" | |||
60 | INITSCRIPT_PARAM = "defaults 85 15" | 60 | INITSCRIPT_PARAM = "defaults 85 15" |
61 | 61 | ||
62 | USERADD_PACKAGES = "${PN}" | 62 | USERADD_PACKAGES = "${PN}" |
63 | GROUPADD_PARAM_${PN} = "${FTPGROUP}" | 63 | GROUPADD_PARAM_${PN} = "--system ${FTPGROUP}" |
64 | USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} ${FTPUSER}" | 64 | USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} ${FTPUSER}" |
65 | 65 | ||
66 | FILES_${PN} += "/home/${FTPUSER}" | 66 | FILES_${PN} += "/home/${FTPUSER}" |