diff options
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasqsec_hotplug_acl.json | 2 | ||||
-rw-r--r-- | package/utils/busybox/Makefile | 2 | ||||
-rwxr-xr-x | package/utils/busybox/files/sysntpd | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasqsec_hotplug_acl.json b/package/network/services/dnsmasq/files/dnsmasqsec_hotplug_acl.json index a5eac3943d..861ecbe034 100644 --- a/package/network/services/dnsmasq/files/dnsmasqsec_hotplug_acl.json +++ b/package/network/services/dnsmasq/files/dnsmasqsec_hotplug_acl.json @@ -1,5 +1,5 @@ { - "user": "ntpd", + "user": "ntp", "access": { "service": { "methods": [ "signal" ] diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index 6d9a0088e5..25db4ff387 100644 --- a/package/utils/busybox/Makefile +++ b/package/utils/busybox/Makefile @@ -50,7 +50,7 @@ define Package/busybox/Default TITLE:=Core utilities for embedded Linux URL:=http://busybox.net/ DEPENDS:=+BUSYBOX_CONFIG_PAM:libpam +BUSYBOX_CONFIG_NTPD:jsonfilter - USERID:=ntpd=123:ntpd=123 + USERID:=ntp=123:ntp=123 endef define Package/busybox diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd index cbc760a48e..db5fc6c034 100755 --- a/package/utils/busybox/files/sysntpd +++ b/package/utils/busybox/files/sysntpd @@ -58,8 +58,8 @@ start_ntpd_instance() { [ -x /sbin/ujail ] && { procd_add_jail ntpd procd_set_param capabilities /etc/capabilities/ntpd.json - procd_set_param user ntpd - procd_set_param group ntpd + procd_set_param user ntp + procd_set_param group ntp procd_set_param no_new_privs 1 } procd_close_instance |