HomeFreeBSD

ntpd: Use the ntpd -u option in preference to the rc su plumbing

Description

ntpd: Use the ntpd -u option in preference to the rc su plumbing

Using the rc plumbing to setuid(2) is preferred as it allows the user
to use the -i option in ntpd_flags to chroot ntpd.

Chrooting ntpd by default will be a 2025 project.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D48191

(cherry picked from commit 521f66715afb312b356afafc68cbc044a436a753)

Details

Provenance
cyAuthored on Dec 12 2024, 8:03 PM
Reviewer
markj
Differential Revision
D48191: ntpd: Use the ntpd -u option in preference to the rc su plumbing
Parents
rG8feaeb95440b: net80211: crypto: ccmp: simplify and style(9)
Branches
Unknown
Tags
Unknown