Become superuser.
Add a standard terminal service to the mbmon port monitor.
# 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 or line feed.
-a |
Specifies the add port monitor status flag. |
-p |
Specifies the pmtag mbmon as the port monitor tag. |
-s |
Specifies the svctag a as the port monitor service tag. |
-i |
Specifies the identity to be assigned to svctag when the service runs. |
-v |
Specifies the version number of the port monitor. |
-m |
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:
-b |
Specifies the bidirectional port flag. |
-i |
Specifies the inactive (disabled) response message. |
-l |
Specifies which TTY label in the /etc/ttydefs file to use. |
-m |
Specifies the STREAMS modules to push before invoking this service. |
-d |
Specifies the full path name to the device to use for the TTY port. |
-s |
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 (“). |