Security hardening
Deployment options: Netezza Performance Server for Cloud Pak for Data System
If you are on version 11.2.1.X, you can apply STIG hardening to Netezza Performance Server by using the stig_nps.py
tool.
Note: Only the
root user can run this tool.stig_nps.py command syntax
The stig_nps.py script manages security compliance on the Netezza Performance Server container.
/nzlocal/stig/scripts/stig_nps.py [-h] [--help]
[--restoreAll]
[--restoreSingleFile <restore_file_path>]
[--stigAll]
[--stigSingleFile <stig_file_path>]
[--status]
Optional arguments:
- -h|--help
- Displays help for the command.
- --restoreAll
- Performs restore on all files.
- --restoreSingleFile <restore_file_path>
- Restores a single file with its full path provided.
- --stigAll
- Performs STIG on all files.
- --stigSingleFile <stig_file_path>
- Performs STIG on a file with a given full path.
- --status
- Displays the status of each STIG file.
Procedure
Note: If you are on Netezza Performance Server 11.2.1.X, you
can apply STIG hardening.
- Apply STIG hardening on the underlying Cloud Pak for Data System platform. Follow the steps that are described in STIG compliance.
- Stop Netezza Performance Server:
nzstop - As
root, apply STIG hardening.- Full STIG hardening:
/nzlocal/stig/scripts/stig_nps.py --stigAll - The /etc/issue file STIG
hardening:
/nzlocal/stig/scripts/stig_nps.py --stigSingleFile /etc/issue
- Full STIG hardening:
- Check the STIG setting
status:
Example:/nzlocal/stig/scripts/stig_nps.py --statusTemplate | NPS Container ------------------------------------------------------------ /etc/pam.d/postlogin-ac | Passed /etc/sysctl.d/99-stig.sysctl.conf | Passed /etc/default/useradd | Passed /etc/pam.d/password-auth-ac | Passed /etc/security/pwquality.conf | Passed /etc/login.defs | Passed /etc/issue | Passed /etc/profile.d/tmout.sh | Passed /etc/security/limits.conf | Passed /etc/ssh/sshd_config | Passed /etc/pam.d/system-auth-ac | Passed - Redeploy the container on other control and connector nodes. Follow the steps that are described in Redeploying the container.