The sticky bit must be set on all public directories on AIX systems.
An XCCDF Rule
Description
<VulnDiscussion>Failing to set the sticky bit on public directories allows unauthorized users to delete files in the directory structure. The only authorized public directories are those temporary directories supplied with the system, or those designed to be temporary file repositories. The setting is normally reserved for directories used by the system, and by users for temporary file storage - such as /tmp - and for directories requiring global read/write access.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-215341r508663_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Set the sticky bit on all public directories, such as:
# chmod 1777 /tmp
(Replace /tmp with the public directory missing the sticky bit, if necessary.)