Skip to content

If bash is used, AIX must display logout messages.

An XCCDF Rule

Description

<VulnDiscussion>If a user cannot explicitly end an operating system session, the session may remain open and be exploited by an attacker; this is referred to as a zombie session. Users need to be aware of whether or not the session has been terminated. Information resources to which users gain access via authentication include, for example, local workstations and remote services. Logoff messages can be displayed after authenticated sessions have been terminated. However, for some types of interactive sessions, including, for example, remote login, information systems typically send logoff messages as final messages prior to terminating sessions.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-215309r853476_rule
Severity
Low
References
Updated



Remediation - Manual Procedure

Create the ".bash_logout" file if it does not exist.

Add the following two lines to ".bash_logout" to display a logout message and sleep for "5" seconds:
echo "You are being disconnected."
sleep 5