Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# pmadm -a -p mbmon -s a -i root -v `ttyadm -V` -m "`ttyadm -i 'Terminal disabled' -l contty -m ldterm,ttcompat -S y -d /dev/term/a -s /usr/bin/login`"
In this example, the input wraps automatically to the next line. Do not use a Return key or line feed.
Specifies the add port monitor status flag.
Specifies the pmtag mbmon as the port monitor tag.
Specifies the svctag a as the port monitor service tag.
Specifies the identity to be assigned to svctag when the service runs.
Specifies the version number of the port monitor.
Specifies the ttymon-specific configuration data formatted by ttyadm.
The preceding pmadm command contains an embedded ttyadm command. The options in this embedded command are as follows:
Specifies the bidirectional port flag.
Specifies the inactive (disabled) response message.
Specifies which TTY label in the /etc/ttydefs file to use.
Specifies the STREAMS modules to push before invoking this service.
Specifies the full path name to the device to use for the TTY port.
Specifies the full path name of the service to invoke when a connection request is received. If arguments are required, enclose the command and its arguments in quotation marks (“).