Sample Login Scripts; Sample Container Login Script - Novell LOGIN SCRIPTS - 08-2008 Manual

Table of Contents

Advertisement

Sample Login Scripts

2
You can create login scripts from these sample login scripts using Novell
®
or NetWare
Administrator. Using a sample login script can help eliminate syntax errors, reducing
the time it takes you to create your login scripts.
This section includes the following information:
Section 2.1, "Sample Container Login Script," on page 21
Section 2.2, "Sample Profile Login Script," on page 22
Section 2.3, "Sample User Login Scripts," on page 22
Section 2.4, "Sample Default Login Script," on page 23
Section 2.5, "Samples of Login Script Commands," on page 24
For more information on how to create login scripts, see
Scripts," on page
12.
IMPORTANT: You must modify these sample login scripts to match the server names, directory
paths, and specifications of your own network.

2.1 Sample Container Login Script

The container login script should contain any information that applies to all users. By using some or
all of the commands included in the following sample container login script, you might find it easier
to plan and create your own container login scripts.
For more detailed information about each type of login script command, see
Commands and Variables" on page
MAP DISPLAY OFF
MAP ERRORS OFF
MAP *1:=%HOME_DIRECTORY
IF "%1"="ADMIN" THEN MAP *1:SYS:SYSTEM
IF OS="WINNT" THEN
MAP P:=SYS:PUBLIC
ELSE
MAP INS S1:=SYS:PUBLIC
MAP INS S2:=SYS:PUBLIC\%MACHINE\%OS\%OS_VERSION
END
IF OS="WINNT" THEN
MAP P:=SYS:USERS\%LOGIN_NAME\WINNT
MAP INS S16:=SYS:APPS\WINAPPS\WINNT
SET TEMP = "P:\USERS\%LOGIN_NAME\WINNT\TEMP"
END
IF OS="LINUX" THEN
WRITE "Running on Linux"
Section 1.4, "Creating or Modifying Login
29.
®
iManager, ConsoleOne
"Login Script
Sample Login Scripts
2
®
,
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Login scripts

Table of Contents