Supervising the Network
5-6
Customizing the User Environment
About Login Scripts
In the previous figure, there are three users: ESAYERS, SWILLIAMS, and
MRICHARD. The following table shows which login scripts execute when
each of these users logs in.
Container login scripts only affect users in the Organization or
Organizational Unit that contains the login script.
For example, in Figure 5-1, although there are two levels of container
objects above users ESAYERS and SWILLIAMS, only the container login
script for the container they are in (OU=SALES_PV) executes.
If the SALES_PV Organizational Unit had no container login script defined,
no container login script would execute for ESAYERS and SWILLIAMS,
even though a container login script exists at a higher level.
Because user SWILLIAMS has no user login script defined, the default
login script executes after the container login script.
Since user MRICHARD belongs to the profile CLERKS, the CLERKS
profile login script executes before MRICHARD’s user login script. Users
can be assigned to only one Profile object, but other profile login scripts can
be specified at the command line, for example,
LOGIN username /p profile_object
When this user logs in Login scripts execute in this order
ESAYERS
1 Sales_PV’s container login
script
2 ESAYERS’ user login script
SWILLIAMS
1 Sales _PV’s container login
script
2 Default login script
MRICHARD
1 Accounting’s container login
script
2 CLERKS’ profile login script
3 MRICHARD’s user login script