3.3 Setting Up Login Scripts

A login script is a list of commands that executes when a user logs in. It is typically used to connect the user to network resources like files and printers. Login scripts execute on the user’s workstation in the following order:

  1. Container login script

  2. Profile login script

  3. User login script

During login, if the system doesn't find any of these login scripts, it skips to the next one in the list. If none are found, the system executes a default script that maps a search drive to the SYS:PUBLIC folder on the user’s default server. The default server is set on the Environment property page of the user object.

In This Section

3.3.1 Creating a Login Script

  1. Right-click the object that you want to create the login script on > click Properties.

    To Have the Login Script Apply To

    Create It On

    One user only

    The User object

    One or more users that haven't been created yet

    A Template object

    All the users in a container

    The container object

    A set of users in one or more containers

    A Profile object

  2. On the Login Script page, enter the login script commands you want.

    See Novell Client for Windows > Login Script Commands and Variables for details.

  3. Click OK.

  4. If you created the login script on a profile object, assign the profile to the users you want as explained below.

3.3.2 Assigning a Profile to a User

  1. Right-click the User or Template object that you want to assign the profile to > click Properties.

    Use a Template object if you haven't created the User object yet.

  2. On the Login Script page, click the browse button next to the Profile field > select the profile object > click OK.

  3. Click OK.

  4. Ensure that the user effectively has the Browse right to the Profile object and the Read right to the Login Script property of the profile object.

    See Section 4.4, Viewing Effective Rights for details.