6.1.5 Ensure permissions on /etc/passwd.old are configured

Information

The /etc/passwd.old file contains backup user account information.

Rationale:

It is critical to ensure that the /etc/passwd.old file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.

Solution

Run the following command to set permissions on /etc/passwd.old:

# chown root:root /etc/passwd.old
# chmod u-x,go-wx /etc/passwd.old

See Also

https://workbench.cisecurity.org/files/3738

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: 3d28222720cecba24c7dd366a58732f128bc585fa13eed823f749b22845d7f80