GEN000000-HPUX0470 - The system and user default umask must be 0077 for all sessions initiated via PAM

Information

System is running in Trusted Mode.

Solution

For Trusted Mode:
Use the SAM/SMH interface (/etc/default/security file) to update attribute. See the below example:
UMASK=0077

For SMSE:
Note: There may be additional package/bundle updates that must be installed to support attributes in the /etc/default/security file.

Use the SAM/SMH interface (/etc/default/security file) and/or the userdbset command (/var/adm/userdb/* files) to update attribute. See the below example:
UMASK=0077

Note: Never use a text editor to modify any /var/adm/userdb database file. The database contains checksums and other binary data, and editors (vi included) do not follow the file locking conventions that are used to control access to the database.

If manually editing the /etc/default/security file, save any change(s) before exiting the editor.

See Also

https://iasecontent.disa.mil/stigs/zip/U_HPUX_11-31_V1R19_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3, CAT|II, CCI|CCI-000366, Rule-ID|SV-52483r1_rule, STIG-ID|GEN000000-HPUX0470, Vuln-ID|V-40494

Plugin: Unix

Control ID: 36570bcdd903da8be45af5bb3276228ade11026f6af483a5d936e39361040047