mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 11:25:08 -05:00
configure: add option to set default user
The default user is root by default, which disables root dropping by default. The user directive or the -u option can still be used to set the user.
This commit is contained in:
@@ -103,8 +103,9 @@ between the real time clock and system clock last time the
|
||||
computer was on.
|
||||
.TP
|
||||
\fB\-u\fR \fIuser\fR
|
||||
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.
|
||||
This option sets the name of the user to which will \fBchronyd\fR switch to
|
||||
drop root privileges if compiled with Linux capabilities support (default
|
||||
\fB@DEFAULT_USER@\fR).
|
||||
.TP
|
||||
.B \-q
|
||||
When run in this mode, chronyd will set the system clock once
|
||||
|
||||
Reference in New Issue
Block a user