mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
chrony: fix /sbin/nologin path in useradd cmdline
/sbin/nologin instead of /bin/nologin Signed-off-by: Andreas Fenkart <afenkart@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
a23f229207
commit
b7ec477640
@@ -50,7 +50,7 @@ inherit update-rc.d systemd pkgconfig
|
||||
# Add chronyd user if privdrop packageconfig is selected
|
||||
inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)}
|
||||
USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}"
|
||||
USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
|
||||
USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /sbin/nologin chronyd;', '', d)}"
|
||||
|
||||
# Configuration options:
|
||||
# - Security-related:
|
||||
|
||||
Reference in New Issue
Block a user