Supervising the Network
5-21
Customizing the User Environment
Login Script Commands and Variables
Using ATTACH
Replace server with the name of the NetWare server to which you want to
attach.
Replace username with the login name. If you do not include the username,
the user is prompted for a login name when the ATTACH command is
executed from the login script.
You can replace password with the correct password for that user and server.
If the username and password are the same as the primary login username
and password, you can omit the password and not be prompted for it.
Use caution when including passwords in a login script, however. It is more
secure to eliminate the password. Then, at the point in the login script where
the ATTACH command is executed, the user is prompted for the password.
Example
To attach user MRICHARD (whose password is “GOLFING”) to a server
named REPORTS (which is a bindery-based server running NetWare 3), add
the following line to the login script:
ATTACH REPORTS/MRICHARD;GOLFING
BREAK
Use BREAK ON to allow the user to terminate execution of the login script.
The default is BREAK OFF.
Command Format
BREAK ON|OFF
Using BREAK
If BREAK ON is included in a login script, you can press <Ctrl>+<C> or
<Ctrl>+<Break> to abort the normal execution of your login script.
Including BREAK ON in a login script does not affect the DOS
<Ctrl>+<Break> check. For more details, see “DOS BREAK” in this
chapter.
When the BREAK option is ON, type-ahead keyboard input is not saved in
the buffer.