6.2.21 Ensure local interactive user is a member of the group owner.

Information

The operating system must be configured so that all files and directories contained in local interactive user home directories are group-owned by a group of which the home directory owner is a member.

If a local interactive user's files are group-owned by a group of which the user is not a member, unintended users may be able to access them.

Solution

Change the group of a local interactive user's files and directories to a group that the interactive user is a member of. To change the group owner of a local interactive user's files and directories, use the following command:

Note: The example will be for the user smithj who has a home directory of /home/smithj and is a member of the users group.

# chgrp users /home/smithj/<file>

See Also

https://workbench.cisecurity.org/benchmarks/8415

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 169d2d5991c0423a85ea78b3b99ef2b114a0162635bee0f7d99102e0d9ce1548