Supervising the Network

5-67
Customizing the User Environment
Examples of Login Scripts
Profile Login Script
If you have groups of users with identical login script needs, you can create
a Profile object, then create a login script for it. Then you can assign each
user to be a member of that Profile object.
IF MEMBER OF “MANAGERS” THEN
MAP *3:=VOL1:PROJECTS\REPORTS
END
If the user belongs to the Group object
MANAGERS, the login script maps the third
network drive to the REPORTS directory.
IF MEMBER OF “TESTERS” THEN
MAP *4:=INPUT:STATUS\UPDATES
END
If the user belongs to the Group object
TESTERS, the login script maps the fourth
network drive to the UPDATES directory.
COMSPEC=S2:COMMAND.COM Sets COMSPEC to the DOS command
processor, located in the DOS directory (in
the second search drive).
SET PROMPT=“$P$G” Sets the prompt to display the users current
directory path followed by the “>” symbol.
MAP DISPLAY ON Allows MAP commands to display.
MAP Displays a list of all drive mappings.
WRITE Displays a blank line between the list of
mappings and following lines.
WRITE “Good %GREETING_TIME,
%LAST_NAME.”
Displays a greeting to the user. Example:
“Good morning, SMITH.”
WRITE “Your password expires in
%PASSWORD_EXPIRES days.”
Displays a message indicating the number of
days before the users password expires.
FIRE 3 Makes the phaser sound occur three times to
tell the user that the login process is complete.
Table 5-8 Sample Container Login Script
Login script command Purpose