Skip to main content

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.

Table 1. trespass command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

FunctionWhat it doesCommandTarget (see paths in Command targets)
Display status of CMM trespass featureDisplays status of the trespass feature for the CMM. Possible return values are:
  • -twe (on or off)
  • -tw warning_message
Note
The warning_message is shown only when the trespass feature is enabled (-twe on).
trespass
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Enable / disable CMM trespass featureEnables 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:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Set CMM trespass messageSets message that is displayed to users who log in to the CMM when the trespass feature is enabled.
Note
Setting a new warning_message permanently replaces the default warning message.
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:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Set CMM trespass feature to default valuesSets trespass feature to default values:
  • -twe: off
  • -tw (warning message): WARNING! This computer system and network is PRIVATE AND PROPRIETARY and may only be accessed by authorized users. Unauthorized use of this computer system or network is strictly prohibited and may be subject to criminal prosecution, employee discipline up to and including discharge, or the termination of vendor/service contracts. The owner, or its agents , may monitor any activity or communication on the computer system or network. The owner, or its agents, may retrieve any information stored within the computer system or network. By accessing and using this computer system or network, you are consenting to such monitoring and information retrieval for law enforcement and other purposes. Users should have no expectation of privacy as to any communication on or information stored within the computer system or network, including information stored locally or remotely on a hard drive or other media in use with this computer system or network.
trespass -twd
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.

Example:

To enable the CMM trespass feature, while the primary CMM in bay 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
trespass -twe on
To set the trespass feature message to 'Authorized Access only', while the primary CMM in bay 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
trespass -tw "Authorized Access only"
To display the CMM trespass feature status, while the primary CMM in bay 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
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]>