Technical data
Customizing the Operating System
5.2 Modifying Site-Specific Startup Command Procedures
The maximum number of interactive users influences the service rating that the
LAT software assigns to a service node. The LAT software uses a ratio of current
users to maximum users in calculating a rating. An artificially high user limit
results in a high service rating, indicating—erroneously—that the service node is
more able to provide services. For information about LAT software, see Section
26.1.
Example
$ STARTUP$INTERACTIVE_LOGINS == 200
5.3 Modifying Login Command Procedures to Customize User
Environments
In addition to modifying site-specific startup command procedures, you can add
commands to login command procedures to perform operations each time a
user logs in.
Note that although the examples in this section are for DCL (.COM) command
procedures, you can substitute other file types to denote other interfaces such as
POSIX.
Command Procedure Description
SYS$MANAGER:SYLOGIN.COM A file to which you can add common commands
to execute whenever any user logs in. If
SYS$MANAGER:SYLOGIN.COM exists and
the logical name SYS$SYLOGIN points to this
file, SYLOGIN.COM automatically executes when
any user logs in.
SYS$LOGIN:LOGIN.COM A file to which you or users can add commands
that are to be executed only when individual
users log in to their accounts. If a file named
LOGIN.COM exists in a user’s SYS$LOGIN
directory, it automatically executes when the user
logs in.
Caution
If you introduce an error in login procedures, you can accidentally lock
yourself out of the system. Section 4.4.2 describes a boot procedure you
can use in such an emergency.
SYLOGIN.COM Procedure
As system manager, you create and maintain SYLOGIN.COM. This file is
supplied on your distribution kit as a template, and contains commands that
you can modify and add to as the needs of your site dictate.
The template for SYSTARTUP_VMS.COM includes the following command line
that assigns the logical name SYS$SYLOGIN to SYLOGIN.COM:
$ DEFINE/SYSTEM/EXEC/NOLOG SYS$SYLOGIN SYS$MANAGER:SYLOGIN.COM
Note
If SYLOGIN.COM exits with an error, the user’s login command
procedure is not executed. If this occurs while the user is logging
Customizing the Operating System 5–17










