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 cannot modify the default login script because it is coded into the LOGIN utility. Instead, you can create container, profile, or user login scripts.
The following list gives the content of the default login script:
Prevents map commands from displaying on the screen.
Prevents mapping errors from displaying on the screen.
1:=SYS:
Maps the first drive to volume SYS:.
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:.
1:=SYS:SYSTEM
If the login name is ADMIN, the first drive is mapped to SYS:SYSTEM instead of the user's home directory.
If the user logs in from an OS/2 workstation, drive P: is mapped to SYS:PUBLIC.
This mapping is used by OS/2 workstations, as explained in NetWare Client for OS/2 User Guide.
If the user is not using an OS/2 workstation, this drive mapping is not included in the default login script.
If the user is using a DOS or Windows workstation, the first search drive is mapped to SYS:PUBLIC, where DOS-based NetWare utilities are stored.
Then the second search drive is mapped to the directory where DOS is stored. (The two MAP commands are joined by a semicolon.)
If the user logs in from an OS/2 workstation, these drive mappings are not included in the default login script.
Allows MAP commands to display.
Displays a list of all drive mappings on the user's screen.