Customizing the user environment

Creating or modifying a login script using NETADMIN

Use the following instructions to create any of the three user-created types of login script (container, profile, or user).

The following list describes the prerequisites:

Carry out the following steps:

  1. At the DOS Prompt, enter

    NETADMIN

  2. From the NetAdmin Options menu, choose Manage Objects.

  3. Select the object whose login script you want to create.

  4. Select ``View or Edit Properties of This Object''.

  5. 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.

  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''

  7. 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.

  8. (Profile login scripts only) Press <Esc> repeatedly until you return to the browser.

  9. 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.

  10. Select ``View or Edit Properties of This Object''.

  11. Select ``Memberships''.

  12. Select the ``Profile'' field and press <Ins>.

  13. 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.

  14. Press <F10> to save the changes.

    Now you must add the User object as a trustee of the Profile object.

  15. Return to the Manage Objects menu.

  16. Through the browser, select the Profile object.

    Press <Ins> to browse through the Directory tree and choose the name.

  17. Select ``View or Edit the Trustees of This Object''.

  18. Select ``Trustees''.

  19. To add the User object as a trustee of this Profile object, press <Ins>.

  20. 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.

  21. Select ``All Properties Rights''.

  22. 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.

  23. 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.

  24. Choose ``Object Right''.

  25. 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.

  26. To exit NETADMIN, press <Esc> until you get to the confirmation prompt and select ``Yes''.
For more information about creating a Profile object, see ``Managing profile objects''. For examples of login scripts, see ``Examples of login scripts''. Login script commands and variables are described in ``Login script commands and variables''.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999