Guardian Programmer's Guide

Table Of Contents
Writing a Command-Interpreter Monitor ($CMON)
Guardian Programmer’s Guide 421922-014
23 - 13
Controlling Illegal Logon
Controlling Illegal Logon
After the user has failed two consecutive times to log on to the system, the TACL
process sends an Illegal^logon^msg message to $CMON on each subsequent failed
logon attempt. The $CMON process replies with some message text to be displayed.
$CMON cannot reject the Illegal^logon^msg message.
The Illegal^logon^msg message has the following structure:
After processing the Illegal^logon^msg message, the $CMON process sends an
Illegal^logon^reply structure back to the TACL process. The format of this message is
as follows:
Format of command-interpreter message -53 (Illegal^logon^msg message):
STRUCT ILLEGAL^LOGON^MSG;
BEGIN
INT MSGCODE; ![0] value -53
INT USERID; ![1] user ID of user trying to
! log on
INT CIPRI; ![2] initial priority of command
! interpreter
INT CIINFILE[0:11]; ![3] name of command file of
! TACL process
INT CIOUTFILE[0:11]; ![15] name of list file for the
! TACL process
INT LOGONSTRING[0:n]; ![27] the attempted LOGON command
! string; maximum 132 bytes
END;
Format of Illegal^logon^reply structure:
STRUCT ILLEGAL^LOGON^REPLY;
BEGIN
INT REPLYCODE; ![0] ignored by TACL process
STRING REPLYTEXT[0:n]; ![1] optional display text;
! maximum length is 132 bytes
END;