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

76
15 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:
15.1 Creating an SRP Compartment or Adding Data to an SRP
15.2 Deleting Configuration Data
15.3 Replacing Configuration Data
15.4 Displaying Help Text and Input Parameters
15.5 Listing Configuration Information About SRP Compartments
15.6 Displaying status of SRP Compartments
15.7 Using srp in Batch Mode
15.1 Creating an SRP Compartment or Adding Data to an SRP
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 SRP 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] srp_name [-t template[,template]...] [-s service[,service]...]
[i[d] instance] [variable=value]...
Where:
srp_name
Specifies the SRP 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 names.
Valid Input: base, apache, tomcat, custom, oracledb, sshd.
Default:
base
.
service
Specifies the names of the services 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 15.1
lists the services valid for each template.
Table 15.1 Valid Services
Template Valid Services
base
admin
cmpt
init
ipfilter
ipsec
login
network
prm