Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-ubuntu1604-v200-2-1-1-4명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | cis-ubuntu1604-v200-2-1-1-4 |
| description | Ensure ntp is configured |
| category | cis-networking |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","ubuntu","linux","ubuntu-16.04","services"] |
| cis_id | 2.1.1.4 |
| cis_benchmark | CIS Ubuntu Linux 16.04 LTS Benchmark v2.0.0 |
| tech_stack | ["ubuntu","linux"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
ntp is a daemon which implements the Network Time Protocol (NTP). It is designed to synchronize system clocks across a variety of systems and use a source that is highly accurate. More information on NTP can be found at http://www.ntp.org. ntp can be configured to be a client and/or a server.
Notes:
If ntp is in use on the system proper configuration is vital to ensuring time synchronization is working properly.
Verify that only one time synchronization method is in use on the system:
Run the following command to verify chrony is not in use on the system:
dpkg -s chrony | grep -E '(Status:|not installed)'
Run the following command to verify that systemd-timesyncd is not in use on the system:
systemctl is-enabled systemd-timesyncd
Verify that ntp is configured:
Run the following command and verify output matches:
grep "^restrict" /etc/ntp.conf
Run the following command and verify remote server is configured properly:
grep -E "^(server|pool)" /etc/ntp.conf
Verify that ntp is configured to run as the ntp user by running the following command and verifying output matches:
grep "RUNASUSER=ntp" /etc/init.d/ntp
dpkg-query: package 'chrony' is not installed and no information is availablemasked/etc/ntp.conf should contain: restrict -4 default kod nomodify notrap nopeer noquery and restrict -6 default kod nomodify notrap nopeer noquery-4 in the first line is optional and options after default can appear in any order. Additional restriction lines may existserver <remote-server>/etc/init.d/ntp should contain: RUNASUSER=ntpRemove and/or disable additional time synchronization methods:
Run the following command to remove chrony:
apt purge chrony
Run the following command to stop and mask systemd-timesyncd:
systemctl --now mask systemd-timesyncd
Configure ntp:
Add or edit restrict lines in /etc/ntp.conf to match the following:
restrict -4 default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
Add or edit server or pool lines to /etc/ntp.conf as appropriate:
server <remote-server>
Configure ntp to run as the ntp user by adding or editing the /etc/init.d/ntp file:
RUNASUSER=ntp
ntp is not configured by default.