Best Practices for Deploying HP-UX Secure Resource Partitions (SRP) for SAP Whitepaper

24
Appendix Useful commands
Report the current compartment
getprocxsec c
Report the compartment a process is running in
getprocxsec c <pid>
Add custom template to compartment
srp add <compartment> -t custom
Replace custom template in compartment
srp r <compartment> -t custom
Start SRP compartment
srp start <compartment>
Stop SRP compartment
srp stop <compartment>
List the IPFilter configuration
/etc/opt/ipf/ipf.conf
or
srp l <compartment> -v s ipfilter
Login to SRP compartment
ssh l <user> <SRP-IP Address>
Add the sshd template to an existing SRP compartment with the service cmpt and provision
srp add <compartment> -template sshd s compt,provision
Setup SRP
srp_setup
Show base template parameters
srp help template base
Create a base SRP compartment
srp add <compartment>
List the configuration data
srp list <compartment>
List the configuration data for sshd
srp list <compartment> -v t sshd
Replace the PRM configuration values
srp replace <compartment> -s prm
Delete SRP compartment
srp delete <compartment> -batch