blob: d5b2ffd6e044fae8054e4936a5f9cb3c39f5a7d9 [file] [log] [blame]
Dmitry Teselkin11ef3732018-09-03 15:32:07 +03001# CIS 6.1.4 Ensure permissions on /etc/group are configured
2#
3# Description
4# ===========
5# The /etc/group file contains a list of all the valid groups defined in the
6# system. The command below allows read/write access for root and read access
7# for everyone else.
8#
9# Rationale
10# =========
11# The /etc/group file needs to be protected from unauthorized changes by
12# non-privileged users, but needs to be readable as this information is used
13# with many non-privileged programs.
14#
15# Audit
16# =====
17# Run the following command and verify Uid and Gid are both 0/root and
18# Access is 644 :
19#
20# # stat /etc/group
21# Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root)
22#
23# Remediation
24# ===========
25# Run the following command to set permissions on /etc/group :
26#
27# # chown root:root /etc/group
28# # chmod 644 /etc/group
29#
30parameters:
31 linux:
32 system:
33 file:
34 /etc/group:
35 user: 'root'
36 group: 'root'
37 mode: '0644'
38