Installation
v5.12.0
Search this version
Installation
Installation
Containerized Deployment
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
CIS Level 2 Guidelines - Linux
Copy Markdown
Open in ChatGPT
Open in Claude
Support Ubuntu Pro 22.04, 24.04
For more details about the Center for Internet Security (CIS) please refer to the official documentation.
Instruction Steps
Install the UA (Ubuntu Advantage) client
Bash
sudo apt updatesudo apt install ubuntu-advantage-toolsSet up the Ubuntu Security Guide
Bash
sudo ua enable usgsudo apt install usgCheck SCAP Content Overview (Security Content Automation Protocol)
Bash
sudo oscap info /usr/share/ubuntu-scap-security-guides/1/benchmarks/ssg-ubuntu2204-ds.xmlAuditing an Ubuntu System for DISA-STIG Compliance
Bash
sudo usg audit cis_level2_serverThe report is generated in /var/lib/usg/
Applying the CIS rules to a Set of Systems
There are 2 ways to apply the CIS rules:
Method 1: Use the usg command directly (recommend)
Bash
sudo usg fix cis_level2_serverMethod 2: Use usg to generate a script and then run the script
Bash
sudo usg generate-fix cis_level2_server --output fix.shRun the fix.sh:
Bash
./fix.shType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
CIS Level 1 Guidelines - LinuxDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
