Skip to content

The Photon operating system must be configured so the "/etc/skel" default scripts are protected from unauthorized modification.

An XCCDF Rule

Description

If the skeleton files are not protected, unauthorized personnel could change user startup parameters and possibly jeopardize user files.

ID
SV-256559r991589_rule
Version
PHTN-30-000090
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

At the command line, run the following commands:

# chmod 750 /etc/skel/.bash_logout
# chmod 644 /etc/skel/.bash_profile
# chmod 750 /etc/skel/.bashrc
# chown root:root /etc/skel/.bash_logout