Rules Related To 'setup'

Component overview

Relevant packages:

Relevant groups:

None

Changelog:

No changes recorded.

Relevant rules:

Rule details

Verify Group Who Owns group File

file_groupowner_etc_group

Description

The /etc/group should be group-owned by the root group.

Rationale

The /etc/group file contains information regarding groups that are configured on the system. Protection of this file is important for system security.

Verify Group Who Owns gshadow File

file_groupowner_etc_gshadow

Description

The /etc/gshadow should be group-owned by the root group.

Rationale

The /etc/gshadow file contains group password hashes. Protection of this file is critical for system security.

Verify Group Ownership of Message of the Day Banner

file_groupowner_etc_motd

Description

The /etc/motd should be group-owned by the root group.

Rationale

Display of a standardized and approved use notification before granting access to the operating system ensures privacy and security notification verbiage used is consistent with applicable federal laws, Executive Orders, directives, policies, regulations, standards, and guidance.
Proper group ownership will ensure that only root user can modify the banner.

Verify Group Who Owns passwd File

file_groupowner_etc_passwd

Description

The /etc/passwd should be group-owned by the root group.

Rationale

The /etc/passwd file contains information about the users that are configured on the system. Protection of this file is critical for system security.

Verify Group Who Owns shadow File

file_groupowner_etc_shadow

Description

The /etc/shadow should be group-owned by the root group.

Rationale

The /etc/shadow file stores password hashes. Protection of this file is critical for system security.

Verify User Who Owns group File

file_owner_etc_group

Description

The /etc/group should be owned by the root user.

Rationale

The /etc/group file contains information regarding groups that are configured on the system. Protection of this file is important for system security.

Verify User Who Owns gshadow File

file_owner_etc_gshadow

Description

The /etc/gshadow should be owned by the root user.

Rationale

The /etc/gshadow file contains group password hashes. Protection of this file is critical for system security.

Verify ownership of Message of the Day Banner

file_owner_etc_motd

Description

The /etc/motd should be owned by the root user.

Rationale

Display of a standardized and approved use notification before granting access to the operating system ensures privacy and security notification verbiage used is consistent with applicable federal laws, Executive Orders, directives, policies, regulations, standards, and guidance.
Proper ownership will ensure that only root user can modify the banner.

Verify User Who Owns passwd File

file_owner_etc_passwd

Description

The /etc/passwd should be owned by the root user.

Rationale

The /etc/passwd file contains information about the users that are configured on the system. Protection of this file is critical for system security.

Verify User Who Owns shadow File

file_owner_etc_shadow

Description

The /etc/shadow should be owned by the root user.

Rationale

The /etc/shadow file contains the list of local system accounts and stores password hashes. Protection of this file is critical for system security. Failure to give ownership of this file to root provides the designated owner with access to sensitive information which could weaken the system security posture.

Verify Permissions on group File

file_permissions_etc_group

Description

The /etc/group shall have the 0644 permission mode.

Rationale

The /etc/group file contains information regarding groups that are configured on the system. Protection of this file is important for system security.

Verify Permissions on gshadow File

file_permissions_etc_gshadow

Description

The /etc/gshadow shall have the 0000 permission mode.

Rationale

The /etc/gshadow file contains group password hashes. Protection of this file is critical for system security.

Verify permissions on Message of the Day Banner

file_permissions_etc_motd

Description

The /etc/motd shall have the 0644 permission mode.

Rationale

Display of a standardized and approved use notification before granting access to the operating system ensures privacy and security notification verbiage used is consistent with applicable federal laws, Executive Orders, directives, policies, regulations, standards, and guidance.
Proper permissions will ensure that only root user can modify the banner.

Verify Permissions on passwd File

file_permissions_etc_passwd

Description

The /etc/passwd shall have the 0644 permission mode.

Rationale

If the /etc/passwd file is writable by a group-owner or the world the risk of its compromise is increased. The file contains the list of accounts on the system and associated information, and protection of this file is critical for system security.

Verify Permissions on shadow File

file_permissions_etc_shadow

Description

The /etc/shadow shall have the 0000 permission mode.

Rationale

The /etc/shadow file contains the list of local system accounts and stores password hashes. Protection of this file is critical for system security. Failure to give ownership of this file to root provides the designated owner with access to sensitive information which could weaken the system security posture.