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

78
service
Specifies the names of the services to delete.
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.
15.3 Replacing Configuration Data
Use the following command to replace template or service data from an SRP compartment:
srp -r[eplace] srp_name [-t template[,template]...] [-s
service[,service]...] [i[d] instance]
Where:
srp_name
Specifies the name of an existing SRP compartment.
template
Specifies the template names.
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.
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 prompts for new data for the specified services and replaces the
entire data set for the service with the replacement data. If you do not supply new values for an
option or variable, the srp default value will be used (not the currently configured value).
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.
15.4 Displaying Help Text and Input Parameters
Use the following command to display srp help text and information about input parameters:
srp -h[elp] [-v[erbose] [-t template[,template]...] [-s
service[,service]...]
Where: