zac for Macintosh (1)


zac - The command line management interface for the Novell ZENworks Adaptive Agent that is installed and running on Macintosh managed devices.


zac command options


The zac utility performs command line management functions on the ZENworks managed device, including installing and removing software bundles, applying policies, and registering and unregistering the device.

Guide to Usage

This section contains a guide to general command formatting and conventions.

Most commands have a long form and a short form:

  • Long form: add-reg-key
  • Short form: ark

When both forms are available, the command is listed as follows:

add-reg-key (ark) options

When using the command, enter only the long form or the short form:

zac add-reg-key options

zac ark options

If an option includes a space, enclose it in quotation marks:

zac ark "option 1"

Mandatory and Optional arguments

Arguments enclosed inside parentheses ( ) are mandatory and those enclosed by square brackets [ ] are optional.

Ellipsis (...)

An ellipsis indicates that a command accepts multiple entries of the last argument type. The arguments must be separated by space or commas, depending on the command. For example:

zman server-add-bundle [options] (server) (bundle) [...]

The ellipsis indicates that server-add-bundle can accept multiple bundles. In the command level help, the multiple entry argument help is given as [(bundle) (bundle) ... (bundle)] for more clarity.

Bundle Commands

bundle-install (bin)

Installs the specified bundles based on the display name that match the specified regular expression or string, or the bundle GUID.

Use the bundle-list command to get a list of the available bundles and their display names.

An example to install a bundle:

zac bin MacBundle

bundle-launch (bln)

Launches the specified bundle. The actions in the Launch Action set are executed. If you try to launch a bundle that is not installed, the bundle is first installed and then launched.

Use the bundle-list command to get a list of the available bundles and their display names.

An example to launch a bundle based on the display name:

zac bln MacBundle

bundle-list (bl)

Displays the list of bundles assigned to the device and the logged-in user.

The output of this command is displayed in columns and provide the details of every bundle assigned or available for the managed device. The Display Name, Version, and Bundle Type columns represent the bundle display name, the version number of the bundle or sandbox if the bundle is a sandbox version, and the bundle type, respectively.

The Status column displays the following states:

Available: Displays this state if the bundle is installed.

Not Installed: Displays this state if the particular bundle version is not installed.

Downloaded: Displays this state if the contents are downloaded but the action in the InstallAction set have not been executed.

An example to list all the bundles:

zac bl

bundle-lock-add (bla) [options] [bundlename] [...]

Locks the specified bundles that match the specified regular expression or string from being upgraded or removed.

Bundle locks are applicable only for Install action set.

Accepts the following options:

-li, --lock-install - Locks the bundle and prevents the installation of the bundle that is specifiedin the lock.

-t, --type - Specify the bundle type to be locked. The available types are mac and patch. If no type is specified, the type, bundle, is selected.

bundle-lock-list (bll)

Lists the bundle locks. The bundle locks are sorted by ID number.

An example to list the locked bundles:

zac bll

bundle-lock-remove (blr)

Removes the bundle lock that you specify by its number. You can find the number for each lock by using the bundle-lock-list command.

An example to remove all bundle locks:

zac blr --remove-all

bundle-props (bp)

Returns property information for a bundle.

An example to get the bundle properties of a specified bundle:

zac bp MacBundle

bundle-refresh (br)

Refreshes information about the specified bundle.

An example to refresh a bundle:

zac br MacBundle

bundle-search (bse)

Searches for bundles matching the specified java regular expression or string.

bundle-uninstall (bu)

Uninstalls the specified bundle. The actions that support the Undo action are executed while uninstalling the bundle. After the bundle uninstall is complete, the bundle state is displayed as Not Installed.

Use the bundle-list command to get a list of the installed bundles and their display names.

An example to uninstall a bundle:

zac bu MacBundle

bundle-verify (bv)

Reinstalls the bundle and executes the Verify action sets to ensure that no files have been removed or corrupted. Use the bundle-list command to get a list of the installed bundles and their display names.

An example to verify a bundle:

zac bv MacBundle

Core Commands

add-reg-key (ark)

This command registers a device by using the specified registration key.

Example: zac add-reg-key

agent-properties (agp)

This command provides information about the Adaptive Agent.

Example: zac agent-properties

cache-clear (cc)

Clears the cache on this device.

Example: zac cc

cert-info (ci)

Lists public key certificate information for each known ZCM server or adds a trusted root certificate to the machine store.


To list the certificate for each known ZENworks user:

zac ci

To add a trusted root certificate to the devices trusted store:

zac ci c:\certs\mytrustcacert.der -u myuser -p mypassword

config-location (cl)

Displays the current location.


zac config-location

file-system-guid (fsg)

Removes and restores the workstation GUID in the file system in preparation for taking an image.


zac fsg

get-pref (get)

Displays the preferences that are currently set.

Example to display all preferences that have names beginning with abc:

zac get-pref abc

get-settings (gs)

Returns the effective settings associated with the given key.

Example to list the Remote Management settings:

zac gs RemoteManagement

logger (log)

This command changes the logger configuration.

Example to reset the log file:

zac logger resetlog

reestablish-trust (retr)

This command re-establishes trust with the current zone.

Reestablishes trust with the current Management Zone. The username and password used must be of the Zone Administrator.


zac retr -u myuser -p mypassword

The -u and -p parameters are optional. If you don’t use the -u and -p parameters, you are prompted to enter a username and password.

refresh (ref)

This command triggers a refresh of the specified type.

register (reg)

This command registers a device to a specified zone.


zac reg -k key1 https://123.456.78.90

reregister (rereg)

This command registers a device in the current zone and assigns it to the GUID of an existing device object. The currently associated device object is deleted.

To reregister, specify a username and password:

zac reregister -u myuser -p mypassword eaa6a76814d650439c648d597280d5d4

set-pref (set)

Sets the value for a preference.

Example to set the value of preference abc to 123:

zac set-pref abc 123

set-proxy (sp)

Sets the proxy that the ZENworks Agent will use.


zac sp 123.456.78.90 administrator novell

unregister (unr)

This command unregisters a device from the current zone.


zac unr -u administrator -p novell

zone-config (zc)

This command displays the Zone Configuration server or lists the current zone configuration.

zac zc

Inventory Commands

inventory (inv) [scannow]

Runs an inventory scan.

An example to run an inventory scan:

zac inv scannow

Local User Management Commands

User-add (ua)

Adds a local ZMD user.

An example to add a ZMD user:

zac ua <UserName>

user-delete (ud)

Deletes a local ZMD user.

An example to delete a ZMD user:

zac ud <UserName>

user-edit (ue)

Edits the local ZMD user privileges.

An example to edit the ZMD user privileges:

zac ue <UserName> [+/-Privilege]

user-list (ul)

Displays local ZMD users and their privileges.

user-privilege-export (upe)

Exports user privileges to the specified file.


zac upe <FileName>

user-privilege-import (upi)

Imports user privileges from the specified file.


zac upi <FileName>

Patch Management Commands

patch-scan (ps)

Scans the device for missing patches.

An example to run a patch scan:

zac ps

Satellite Roles Commands

satellite-cachecfg (satcfg)

Reads Satellite roles from cache.

An example to read Satellite roles from cache:

zac satcfg

satellite-clearcache (satcc)

Clears Satellite configuration information from cache.

An example to clear Satellite configuration information from cache:

zac satcc

satellite-refreshcfg (satrc)

Refreshes Satellite roles.

An example to refresh Satellite roles:

zac satrc

satellite-roles (satr)

Reports on current Satellite roles and their state.

An example to report on current Satellite roles and their state:

zac satr

Status Commands


Lists port and tags for registered handlers.

An example to list port and tags for registered handlers:

zac zhs

This command is applicable only if the agent is promoted as a satellite.


Copyright 2008-2012, Novell, Inc. All rights reserved.