mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
6bd20f39d5
commit
6026617ea3
|
|
@ -60,7 +60,7 @@ INITSCRIPT_NAME = "proftpd"
|
|||
INITSCRIPT_PARAM = "defaults 85 15"
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
GROUPADD_PARAM_${PN} = "${FTPGROUP}"
|
||||
GROUPADD_PARAM_${PN} = "--system ${FTPGROUP}"
|
||||
USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} ${FTPUSER}"
|
||||
|
||||
FILES_${PN} += "/home/${FTPUSER}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user