Set Permissions on bootloader config
Scanned 9/3/2026
Install to Claude Code
npx -y skills add CyberStrikeus/CyberStrike --skill cis-ubuntu1204-v110-3-2 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cis Ubuntu1204 V110 3 2?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-ubuntu1204-v110-3-2)More formats (shields.io, HTML) on the badges page.
---
name: cis-ubuntu1204-v110-3-2
description: "Set Permissions on bootloader config"
category: cis-os-hardening
version: "1.1.0"
author: cyberstrike-official
tags: [cis, ubuntu, 12.04, linux, boot, grub, permissions, file-permissions]
cis_id: "3.2"
cis_benchmark: "CIS Ubuntu 12.04 LTS Server Benchmark v1.1.0"
tech_stack: [ubuntu, linux]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---
# 3.2 Set Permissions on bootloader config (Scored)
## Profile Applicability
- Level 1
## Description
Set permission on the your boot loaders config file to read and write for root only.
## Rationale
Setting the permissions to read and write for root only prevents non-root users from seeing the boot parameters or changing them. Non-root users who read the boot parameters may be able to identify weaknesses in security upon boot and be able to exploit them.
## Audit Procedure
### Using Command Line
Perform the following to determine if the `/boot/grub/grub.cfg` file permissions are correct:
```bash
stat -L -c "%a" /boot/grub/grub.cfg | egrep ".00"
```
## Expected Result
The command should return a permissions value ending in `00` (e.g., `400` or `600`). If the above command emits no output then the system is not configured as recommended.
## Remediation
### Using Command Line
Run the following to set the permissions for `/boot/grub/grub.cfg`:
```bash
chmod og-rwx /boot/grub/grub.cfg
```
## Default Value
By default, `/boot/grub/grub.cfg` may have permissions more permissive than recommended.
## References
- CIS Ubuntu 12.04 LTS Server Benchmark v1.1.0
## Profile
Level 1 - Scored
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!