Starting ntpd as non-root
Hal Murray
halmurray at sonic.net
Tue Mar 18 17:32:21 UTC 2025
James said:
> I do not; a quick search suggests that SHM needed root.
"needed root" doesn't make sense in the context of that discussion. Linux
has a fine grained capabilities facility. See man capabilities(7). There
is one for SHM.
CAP_IPC_LOCK
. Lock memory (mlock(2), mlockall(2), mmap(2), shmctl(2));
. Allocate memory using huge pages (memfd_create(2),
mmap(2),
shmctl(2)).
> Was it in February 2018 between you, Achim, and Gary? [1]
I found that discussion and didn't find the message I was looking for.
--
These are my opinions. I hate spam.
More information about the devel
mailing list