HP-UX Secure Resource Partitions (SRP) A.02.01 Administrator's Guide

72
13 Managing SRP Data
This chapter describes how to add, update, delete, list, and manage SRP data. For complete syntax
information, see srp(1m). This chapter addresses the following topics:
13.1 Creating an SRP Compartment or Adding Data to a Compartment
13.2 Deleting Configuration Data
13.4 Displaying Help Text and Input Parameters
13.5 Listing Information About SRP Compartments
13.6 Displaying status of SRP Compartments
13.7 Listing SRP Configuration Data
13.8 Using srp in Batch Mode
13.9 Backing Up and Recovering Configuration Data
13.1 Creating an SRP Compartment or Adding Data to a Compartment
The srp -add command creates an SRP base compartment, or adds service data for a template to a
compartment. To add service data for an application template (any template other than the base
template), the compartment must already exist. If you do not specify a template, srp uses the base
template. If you do not specify services, srp prompts you with a list of default services valid for the
template.
Use the following command to add a template or service to an SRP compartment:
srp -a[dd] compartment_name [-t template[,template]...] [-s
service[,service]...] [i[d] instance] [variable=value]...
Where:
compartment_name
Specifies the compartment name. If you are using the base template and
this compartment does not already exist, srp
creates the compartment for
you. If you are using an application template, this must be the name of an
existing SRP compartment.
template
Specifies the template name. If you specify multiple templates, srp
processes each template in the order specified.
Valid Input: base, apache, tomcat, custom, oracledb, sshd.
Default:
base
.
service
Specifies the name of the service to configure.
If you do not specify any services in the command line, srp prompts you
for the services you want to apply and displays a list of the default
services that are valid with the template being processed.
Table 11.1
lists the services valid for each template.
Table 11.1 Valid Services
Template Valid Services
base
admin
cmpt
init
ipfilter
ipsec
login