Ensure chrony is running as user _chrony
Scanned 9/3/2026
Install to Claude Code
npx -y skills add CyberStrikeus/CyberStrike --skill cis-ubuntu1804-v220-2-1-2-2 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cis Ubuntu1804 V220 2 1 2 2?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-ubuntu1804-v220-2-1-2-2)More formats (shields.io, HTML) on the badges page.
---
name: cis-ubuntu1804-v220-2-1-2-2
description: "Ensure chrony is running as user _chrony"
category: cis-networking
version: "2.2.0"
author: cyberstrike-official
tags: [cis, ubuntu, linux, ubuntu-18.04, services, chrony]
cis_id: "2.1.2.2"
cis_benchmark: "CIS Ubuntu Linux 18.04 LTS Benchmark v2.2.0"
tech_stack: [ubuntu, linux]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---
# 2.1.2.2 Ensure chrony is running as user \_chrony (Automated)
## Profile
- Level 1 - Server
- Level 1 - Workstation
## Description
The chrony package is installed with a dedicated user account `_chrony`. This account is granted the access required by the chronyd service.
## Rationale
The chronyd service should run with only the required privileges.
## Audit Procedure
### Command Line
IF chrony is in use on the system, run the following command to verify the chronyd service is being run as the `_chrony` user:
```bash
# ps -ef | awk '/[c]hronyd/ && $1!="_chrony") { print $1 }'
```
Nothing should be returned.
## Expected Result
No output (empty result).
## Remediation
### Command Line
Add or edit the `user` line to `/etc/chrony/chrony.conf` or a file ending in `.conf` in `/etc/chrony/conf.d/`:
```
user _chrony
```
OR
If another time synchronization service is in use on the system, run the following command to remove chrony from the system:
```bash
# apt purge chrony
```
## Default Value
user \_chrony
## References
1. NIST SP 800-53 Rev. 5: AU-8
## CIS Controls
- v8: 8.4 - Standardize Time Synchronization
- v7: 6.1 - Utilize Three Synchronized Time Sources
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!