trespass command
This command sets and displays the status and message for the CMM trespass feature that can display a warning message to users when they log in.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or trespass command errors for a list of error messages that are specific to the trespass command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display status of CMM trespass feature | Displays status of the trespass feature for the CMM. Possible return values are:
Note The | trespass | Primary CMM:
|
Enable / disable CMM trespass feature | Enables or disables trespass feature for CMM. | trespass -twe state where state is on or off . This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set CMM trespass message | Sets message that is displayed to users who log in to the CMM when the trespass feature is enabled. Note Setting a new | trespass -tw "warning_message" where "warning_message" is up to 1600 characters in length and enclosed in double-quotation marks. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set CMM trespass feature to default values | Sets trespass feature to default values:
| trespass -twd This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Example:
trespass -twe on
trespass -tw "Authorized Access only"
trespass
The following example shows the information that is returned from these commands:
system:mm[1]> trespass -twe on
OK
system:mm[1]> trespass -tw "Authorized Access only"
-tw OK
system:mm[1]> trespass
-twe on
-tw Authorized Access only
system:mm[1]>