Supervising the Network
5-64
Customizing the User Environment
Examples of Login Scripts
Examples of Login Scripts
The following examples of login scripts may help you plan your own
container, profile, and user login scripts. Each example login script is shown
in a table.
The left column of each table shows the commands in the login script. The
right column explains the command’s purpose.
For instructions on creating login scripts, see “Creating or Modifying a
Login Script Using NetWare Administrator” or “Creating or Modifying a
Login Script Using NETADMIN” in this chapter.
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 LOGIN
utility. Instead, you can create container, profile, or user login scripts.
Table 5-7 lists the content of the default login script.
Table 5-7 Default Login Script
Login Script Command 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 user’s home
directory if LOGIN_NAME is the same as
the user’s home directory. If the user has no
home directory, the first drive is still
mapped to SYS:.