JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.

If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.

If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.

CodeSonar® 9.2p0 CONFIDENTIAL CodeSecure Inc

Task: Start the hub service as the local system (Windows only)

On Windows systems, by default, the CodeSonar hub runs as a service "owned" by the user who originally created the hub.

This page provides instructions for switching ownership to the local system account (SYSTEM).



Overview

On Windows systems, by default, the CodeSonar hub runs as a service "owned" by the user who originally created the hub.

In some cases you may prefer that the service belongs to the local system acount (SYSTEM) rather than a particular user. In particular, the local system account does not need to run with a given username and password. This means that if the hub creator leaves the company, or their password changes, no changes to the hub are required. It also means that the hub can be administered by anyone with administrator rights on the system.

Note that there are also downsides to this approach.

This page provides instructions for switching ownership of the CodeSonar hub service to the SYSTEM account. There are two main parts to this process.

Part 1: Give the SYSTEM account full permissions on the hub directory

In order to run the hub service, the SYSTEM account will need full permissions on the hub directory. To make sure it has these permissions, do the following.

  1. Use the Windows Explorer to locate your hub directory.
  2. Right-click on the directory icon and select Properties from the menu that opens.
    The <hubdirname> Properties dialog will open.
    Check the cited <hubdirname> in the dialog header to make sure you are setting permissions for the correct directory.
  3. Switch to the Security tab, then click the the Edit button.
    The Permissions for <hubdirname> dialog will open.
  4. Check: SYSTEM does already appear in the list of Group or user names?
  5. Select SYSTEM, then use the checkboxes in the Permissions for SYSTEM field to allow Full Control of the directory and click OK.
    You will be returned to the <hubdirname> Properties dialog.
  6. In the the <hubdirname> Properties dialog, check to make sure that there is now an entry for SYSTEM in the Group or user names field, and that selecting this entry shows that SYSTEM has full permissions.
    Once you are satisfied, click OK.

Part 2: Set the hub service to start as the SYSTEM account

Once you have ensured that the SYSTEM account has full control over the hub directory, you can make it the "owner" of the hub service.

  1. Open the Services Control Panel:
  2. Locate the hub service in the table of services.
  3. Right-click on the hub service name, and select Properties from the menu that opens.

    Screenshot fragment: selecting Properties from the pop-up menu

    A properties dialog for the hub service will open.

  4. Select the Log On tab of the dialog.
  5. Select Local System Account.

    Screenshot fragment: selecting Local System Account from Log On Tab

  6. Click OK.

The hub service will now run under the local system account (SYSTEM).

Links

 

To report problems with this documentation, please visit https://support.codesecure.com/.