mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 22:05:06 -05:00
Linux capabilities support
Attached is a patch adding a linux capabilities support to chronyd. It adds -u option which can be used to specify the user which chronyd should switch to.
This commit is contained in:
committed by
Richard P. Curnow
parent
8336f14680
commit
be42b4eeea
@@ -1089,6 +1089,9 @@ to work well, it relies on @code{chronyd} having been able to determine
|
||||
accurate statistics for the difference between the real time clock and
|
||||
system clock last time the computer was on.
|
||||
|
||||
@item -u <user>
|
||||
When this option is used, chronyd will drop root privileges to the specified
|
||||
user. So far, it works only on Linux when compiled with capabilities support.
|
||||
@item -v
|
||||
This option displays @code{chronyd's} version number to the terminal and
|
||||
exits.
|
||||
|
||||
Reference in New Issue
Block a user