Sample User Login Script For Mapping Drives; Sample Default Login Script - Novell LOGIN SCRIPTS - 08-2008 Manual

Table of Contents

Advertisement

Therefore, you should consider whether any commands in the default login script are necessary for
setting the user's environment. If so, determine whether those commands should be placed into one
of the other login scripts (container, profile, or user).
MAP DISPLAY OFF
MAP ERRORS OFF
MAP *7:=VOL1:MARY\PROJECTS\RESEARCH
MAP *8:=VOL1:FORMS
REM Mary needs access to FORMS while she's on the
REM troubleshooting team.
SET WP="/u-mjr/b-5"
SET USER="mrichard"
#SEND /A=N
For more detailed information about each type of login script command, see
Commands and Variables" on page

2.3.1 Sample User Login Script for Mapping Drives

In addition to creating User login scripts in ConsoleOne, users can also add modify their own user
login scripts from the N menu in the system tray. This is very useful if users want to add commands
to their login scripts to map drives that they access frequently. For more information on editing user
login scripts from the N menu, see
on page
16.
The following sample shows how Takashi included his drive mappings in his User login script.
MAP F:=\\MKTG.TOKYO.DIGITALAIRLINE.COM\DATA
MAP G:=\\MKTG.TOKYO.DIGITALAIRLINE.COM\HOME\KYAMATO

2.4 Sample Default Login Script

The default login script executes the first time User object ADMIN logs in. It also executes for any
users who do not have user login scripts.
You can't modify the default login script because it is coded into the Novell LOGIN utility. Instead,
you can create container, profile, or user login scripts.
The following sample displays the contents of a default login script.
MAP DISPLAY OFF
MAP ERRORS OFF
MAP *1:=%FILE_SERVER\SYS:
MAP *1:=%FILE_SERVER\SYS:%LOGIN_NAME
IF "%LOGIN_NAME"="SUPERVIS" OR "%LOGIN_NAME"="ADMIN" THEN
MAP *1:=%FILE_SERVER\SYS:SYSTEM
MAP INS S1:=%FILE_SERVER\SYS:PUBLIC
MAP INS S2:=%FILE_SERVER\SYS:PUBLIC\%MACHINE\%OS\%OS_VERSION
MAP DISPLAY ON
MAP
For more detailed information about each type of login script command, see
Commands and Variables" on page
29.
Section 1.6, "Modifying User Login Scripts from the N Menu,"
29.
"Login Script
"Login Script
Sample Login Scripts
23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Login scripts

Table of Contents