mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
radvd: add '--shell /sbin/nologin' to /etc/passwd
the default setting USERADD_PARAM of yocto: -s /bin/sh follow redhat policy: radvd/redhat/systemd/radvd.spec useradd ... -s /sbin/nologin ... Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
793098cf03
commit
1008d54e1f
|
|
@ -62,7 +62,7 @@ do_install:append () {
|
|||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
GROUPADD_PARAM:${PN} = "--system nogroup"
|
||||
USERADD_PARAM:${PN} = "--system --home ${localstatedir}/run/radvd/ -M -g nogroup radvd"
|
||||
USERADD_PARAM:${PN} = "--system --home ${localstatedir}/run/radvd/ -M -g nogroup --shell /sbin/nologin radvd"
|
||||
|
||||
pkg_postinst:${PN} () {
|
||||
if [ -z "$D" -a -x /etc/init.d/populate-volatile.sh ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user