NetWare 4.1/9000 Concepts

1-87
NetWare Glossary
L
Examples of login scripts
The following examples of login scripts may help you plan your own
container, profile, and user login scripts. Each example script is shown in a
table. The left column shows the commands in the script. The right column
explains the command.
Container login script. The container login script should contain as much
information as possible that will apply to all users.
Object
properties
property name You can use any property of NDS objects as a
variable. Use the property’s name just as you do
any other identifier variable. If the property name
includes a space, enclose the name in quotation
marks.
Table 1-6 Sample container login script
Login script commands Purpose
MAP DISPLAY OFF Prevents map commands from
displaying on the screen.
MAP ERRORS OFF Prevents mapping errors from
displaying on the screen.
MAP *1:=SYS: Maps the first drive to volume SYS:.
MAP *1:=SYS:%LOGIN_NAME Maps the first drive to the users home
directory. If the user has no home
directory, the first drive is still mapped
to SYS:.
IF “%1”=”ADMIN” THEN MAP *1:=SYS:SYSTEM If the login name is ADMIN, it maps
the first drive to SYS:SYSTEM
instead of to the users home directory.
Table 1-5 Identifier variables
Category Identifier variable Function