Types of login scripts
When a user logs in, the LOGIN utility executes the appropriate
login scripts. Four types of login scripts are available, and they can be
used separately or together to tailor a custom environment for your users.
All four types of login scripts are optional. They are described here in
the order they are executed:
-
A container login script sets the general environments for all
users in that container. The LOGIN utility executes container
login scripts first. A user can use only one container login script.
NOTE:
The container login script replaces the system login script that was in
NetWare 3
.
-
A profile login script sets environments for several users at
the same time. The LOGIN utility executes a profile login
script after the container login script.
A user can be assigned only one profile login script, but can specify
other profile login scripts on the command line. Several users can use
the same profile login script.
-
A user login script sets environments specific to a single
user, such as printing options or a username for electronic mail.
The LOGIN utility executes the user login script after any
container and profile login scripts have executed. A user can have only
one user login script.
-
The default login script is precoded into the
LOGIN.EXE command and is not editable. It executes if a user
does not have his or her own user login script, even if a container or
profile login script exists.
The default login script is executed for all users (including user
``ADMIN'') unless you create a user login script. The default login
script contains only essential commands, such as drive mappings to the
NetWare utilities.
To see the commands in the default login script, see
``Default login script''.
If you do not want to create any user login scripts and you do not want
the default login script to execute for any users, you can disable the
default login script by including the NO_DEFAULT command in
the container or profile login script.
To use the login script from an Organization, Organizational Unit, or
Profile object, users must have the Browse right to the object and the
Read right to the object's Login Script property.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999