5.6 Walkthrough: Create a User Account

Although ZENworks Orchestrator has some pre-assembled jobs, such as the cpuInfo discovery job that you learned about earlier, most jobs must be developed by a job developer and run and be managed by a user (also called a job manager). Without an authorized individual who can log in to the ZENworks Orchestrator system to manage the use of a job, the product does not realize its potential.

This section of the walkthrough introduces the basics of creating a user account:

5.6.1 Open the Users Monitor

Now that the Orchestrator Server has run discovery jobs and you have deployed a sample job, you can begin to create user accounts. To do so, open the console and click Users to open the Users Monitor in the Workspace panel of the console.

Figure 5-4 Users Monitor of the ZENworks Orchestrator Console

In this monitor, you can see the users that are connected to the server and what they are doing in the grid.

If a user logs in but has not been registered (that is, no account is created for that user), the authentication to the server is retried every 90 seconds. If this is the case, the User Registration icon has a “flag up” status, meaning that a user is waiting to register. If the icon has a “flag down” status, either no user accounts have been created or all active users are logged in, so none are waiting to register.

You can use the console to register a user automatically (see Section 5.6.2, Automatically Register a User) or to register a user manually (see Section 5.6.3, Manually Register a User). If you choose to, you can also select which users can log in to create accounts (see Section 5.3.4, Select a Resource for Manual Registration).

The Users Monitor has many features to help you manage users when they are registered, including the jobs and joblets assigned to individual users. For more detailed information about the Users Monitor, see “Using the ZENworks Orchestrator Console” in the Novell ZENworks Orchestrator 1.2 Administration Guide.

5.6.2 Automatically Register a User

If your network environment does not require a high level of security (such as in a development and testing environment) and you want a quick way to create a user account, you can do so at the console.

  1. In the Explorer panel of the ZENworks Orchestrator Console, select the grid object representing the Orchestrator Server to open the Info/Configuration page of the grid object.

  2. In the Object Registration section of the page, select the Auto Register Users check box.

  3. Use the zos command line interface to log in to the server.

    1. From a system terminal, enter the following command:

      zos login user=user
      

      If you are attempting to log in to a machine other than the local host, you can alter the command to the following:

      zos login user=user Orchestrator_server_name
      
    2. Enter the password for the user credentials. For this walkthrough, you can simply press Enter to enter an empty password.

    3. When prompted for a decision regarding whether you want to accept the server certificate, enter yes.

When a user with credentials attempts to log in the to Orchestrator Server, a user account is created for that user, but the user is not currently running jobs, as indicated by its object icon in the Explorer panel or in the Information view of each User group to which it belongs. The icon is not dimmed when that user has jobs running or a when a custom application (built with the Orchestrator SDK) is logged in.

5.6.3 Manually Register a User

If you want a higher level of security for authorized users, you can manually create a user account in the console before the user logs in. When a user is created in the ZENworks Orchestrator Console, that user is ready to run jobs.

  1. (Optional) Create a new user from the Explorer panel in the console.

    1. In the Explorer panel in the console, right-click Users > click New User to display the Create a new User dialog box.

    2. Specify the name of the new user you want to create in the New User Name field, then click OK.

      The user account is created, but is not currently running jobs, as indicated by its object icon in the Explorer panel or in the Information view of each User group to which it belongs.

  2. (Optional) Create a new user from the Main Menu in the console.

    1. In the console, click Actions > Create User to display an expanded version of the Create a new Resource dialog box.

      This dialog box includes a method for designating the user as a member of the administrators user group. In this walkthrough, we will create the user as a member of the all group, which does not place the user in the administrators group.

    2. Specify the new username in the New User Name field, click Create, then click Close.

      The user account is created, but is not currently running jobs, as indicated by its object icon in the Explorer panel, or in the Information view of each User group to which it belongs.

5.6.4 Log In a User for Manual Registration

If you do not select the Auto Register Users check box on the grid object’s Info/Configuration page, you have the option of explicitly accepting or denying the login attempts of a user, thus preventing that user from creating an account.

  1. Make sure that the Auto Register Users check box on the grid object’s Info/Configuration page is not selected (see Step 2).

  2. Use the zos command line interface to log in to the server.

    1. From a system terminal, enter the following command:

      zos login user=user
      

      If you are attempting to log in to a machine other than the local host, you can alter the command to the following:

      zos login user=user Orchestrator_server_name
      
    2. Enter the password for the user credentials. For this walkthrough, you can simply press Enter to enter an empty password.

    3. When prompted for a decision regarding whether you want to accept the server certificate, enter yes.

  3. In the Users Monitor, click the User Registration icon to open the User Registration Monitor dialog box.

    This dialog box lets you preview the users who are trying to log in to the server. The top row of radio buttons is a mass selector for all listed users, allowing you the choice to accept, deny, or ignore automatic registration for all listed agents.

    If you want to choose the users that can be allowed to auto register, you can identify the user by name and select how you want to handle that agent’s request for registration the next time it tries to log in.

  4. For this example, select the Accept radio button adjacent to the user you want to register, then click OK.

    The user account is created, but is not currently running jobs, as indicated by its object icon in the Explorer panel, or in the Information view of each User group to which it belongs.