Use the following instructions to create any of
the three user-created types of login script (container,
profile, or user).
-
At the DOS Prompt, enter
NETADMIN
-
From the NetAdmin Options menu,
choose Manage Objects.
-
Select the object whose login script you want
to create.
-
If the object you want appears in the
list, select it and press <F10>.
-
If the object is not in the list,
browse the directory by selecting container objects and
pressing <Enter> until you see the object you
want. Select it and press <F10>.
-
Select ``View or Edit Properties of This Object''.
-
Select ``Login Script''.
If you are editing an existing login script
that already contains some commands, continue with
Step 6.
If this login script is empty, a message
appears asking if you want to copy a
login script from another object.
-
If you do not want to copy the
login script from another object, answer ``No'' and
continue with Step 6 .
-
To copy a login script from another object,
answer ``Yes'' and select the name of the
object whose script you want to copy. Then
continue with Step 6.
-
Enter the login script commands and information in
the login script text box.
For a description of all login script commands, see
``Login script commands and variables''
For login script examples, see
``Examples of login scripts''
-
To save the login script, press <F10>.
If the login script you created was a
container or a user login script, you are finished.
If the login script you created was for
a Profile object, continue with Step 8.
-
(Profile login scripts only) Press
<Esc> repeatedly until you return to the browser.
-
Select the User object that needs to use
the profile login script.
You can either type the object's complete name
and press <F10> or press <Ins> to browse through the Directory tree and
choose the name.
-
Select ``View or Edit Properties of This Object''.
-
Select ``Memberships''.
-
Select the ``Profile'' field and press <Ins>.
-
Enter the name of the Profile object in
the box that appears.
You can either type the object's complete name
and press <F10> or press
<Ins> to browse through the Directory tree and
select the name.
-
Press <F10> to save the changes.
Now you must add the User object as
a trustee of the Profile object.
-
Return to the Manage Objects menu.
-
Through the browser, select the Profile object.
Press <Ins> to browse through the Directory tree and
choose the name.
-
Select ``View or Edit the Trustees of This Object''.
-
Select ``Trustees''.
-
To add the User object as a trustee of this Profile object, press
<Ins>.
-
Enter the name of the User object that needs to be a trustee of this
Profile object.
You can either type the object's complete name and press
<F10> or press <Ins> to browse through the Directory tree and
choose the name.
-
Select ``All Properties Rights''.
-
To add the user as a trustee and
grant the default property right, press
<Enter>.
The User object is added as a trustee
of the Profile object and is given the
Read right to all of the Profile's properties.
Now you must assign the Browse object right
to the User object.
-
Enter the name of the User object.
You can either type the object's complete name
and press <F10> or press
<Ins> to browse through the Directory tree and
choose the name.
-
Choose ``Object Right''.
-
To grant the default object right, press
<Enter>.
The User object is given the Browse object
right. The User object now has all rights
necessary to use the Profile object's login script.
-
To exit NETADMIN, press
<Esc> until you get to the confirmation prompt
and select ``Yes''.
For more information about creating a Profile object, see