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

74
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: All templates configured for the SRP compartment.
service
Specifies the name of the service to delete.
If you specify multiple services, srp processes each service for each template
in the order specified.
Default: All services configured for the template.
instance
Unique string identifier used to identify an instance of a template usage for
templates that can be applied multiple times. This is valid for the custom
template only and is ignored for all other templates.
Valid Input: A text string with alphanumeric, dash (-) , or underscore (_)
characters. The maximum length is 20 characters.
Default: None.
CAUTION: If you do not specify the -template and/or -service arguments, srp deletes all
templates and/or services for the compartment. For example, the command srp -delete mySRP
deletes the entire mySRP SRP compartment.
13.3 Replacing Configuration Data
Use the following command to replace template or service data from an SRP compartment:
srp -r[eplace] compartment_name [-t template[,template]...] [-s
service[,service]...] [i[d] instance]
Where:
compartment_name
Specifies 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: All templates configured for the SRP compartment.
service
Specifies the name of the service data to replace.
If you specify multiple services, srp processes each service for each
template in the order specified.
Default: All services configured for the template.
instance
Unique string identifier used to identify an instance of a template usage for
templates that can be applied multiple times. This is valid for the custom
template only and is ignored for all other templates.
Valid Input: A text string with alphanumeric, dash (-) , or underscore (_)
characters. The maximum length is 20 characters.
Default: None.
The srp -replace command deletes the data for the specified services, prompts for new input
data, and adds the replacement data.