UMX User Manual
UMX User Manual
UMX Overview 1
Concepts You Need to Know About 2
How to Display UMX Information 3
How to Create UMC Objects 4
How to Update UMC Objects 5
How to Retrieve Information about
6
UMC Objects
How to Display Lists of UMC or
7
User Management Component 1.9.1 Windows Objects
04/2018
A5E39179300-AD
Guidelines
This manual contains notes of varying importance that should be read with care; i.e.:
Important:
Highlights key information on handling the product, the product itself or to a particular part of the documentation.
Note: Provides supplementary information regarding handling the product, the product itself or a specific part of
the documentation.
Trademarks
The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes
could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Security information
Siemens provides products and solutions with industrial security functions that support the secure operation of
plants, systems, machines and networks. In order to protect plants, systems, machines and networks against
cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions only form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks. Systems,
machines and components should only be connected to the enterprise network or the internet if and to the extent
necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into account. For more
information about industrial security, please visit http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly
recommends to apply product updates as soon as available and to always use the latest product versions. Use of
product versions that are no longer supported, and failure to apply latest updates may increase customer’s
exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under http://www.
siemens.com/industrialsecurity.
This utility is distributed with UMC and it is installed in the subdirectory \BIN of the 64 and 32 bit
installation folder. It must be executed from a command prompt within this directory.
In addition, the execution of a umx command can be performed interactively, see interactive
command.
Important:
As umx is a command line utility, if you want to insert a parameter with blank spaces you
have to enclose it between double quotes.
The execution of a umx command can be performed according to two login modes:
• current user: the user that performs the UMC command is the Windows user which has
launched the windows command prompt;
• specified user: the user that performs the UMC command is explicitly inserted in the command
line; -x switch has to be inserted as first parameter when launching the command; username
and password have to be inserted as second and third parameter.
Regardless of the login mode which is used the execution of commands is limited according to the
function rights of the user, for example:
• if the User Manager user owns the UM_ADMIN function right, they can execute all the umx
commands;
• users who own the UM_VIEW function right can only execute commands which access the
database with read only access rights;
• users who own the UM_VIEW function right plus the User Manager function right that is
required for the specific of the action can execute the relative action.
The following diagram presents the UMC object model whose understanding helps in using the umx
utility.
• UM User
• User Manager Group
• User Manager Role
• User Manager Function Rights
Custom attributes can be associated with UM users. Example of custom attributes are common user
properties such as phone number, department, and so on.
To apply Secure Application Data Support (SADS), access to encrypted application data can be
granted to authorized users to allow them to decrypt it using specific Subject Keys.
UM User Types
UM User Passwords
Users created within UMC have also an associated password. Empty passwords are not allowed.
Users imported from Windows authenticate against Windows and do not have a UMC password.
Imported Windows local users authenticate only locally against Windows on the machine where they
are present. They can be used only for configuration purposes, for instance to be associated with a
Windows service running on the machine.
Offline Users
When you create a UMC user you can flag the user as offline. UMC provisioning service checks if the
offline user exists in Active Directory:
• if the user is present, user data are synchronized and the user becomes online,
• otherwise the user remains offline.
Important:
Users created as offline are enabled by design: they can therefore perform the actions
allowed by their function rights.
The user name of offline users must follow the AD pattern <domainName>\<ADuserName>. They do
not have a UMC password, as they cannot authenticate until they become online. The User Security
Identifier (SID, see Microsoft Documentation on Security Identifiers for more details) property is set to a
default value (S-1-0-0) that is synchronized with the actual AD value by the UMC provisioning service.
Users are also flagged offline if they are deleted from AD. In this case users are permanently deleted
from UMC database after an amount of time that can be configured (default is12 hours). See the
additional provisioning configuration in the User Management Component Installation Manual for more
details.
To apply Secure Application Data Support (SADS), access to encrypted application data can be
granted to authorized groups to allow them to decrypt it using specific Subject Keys.
UM Group Types
Offline Groups
When creating a UMC group, you can flag the group as offline. UMC provisioning service checks if the
offline group exists in Active Directory:
• if the group is present, group data are synchronized, the AD users members of the groups are
imported into UMC and the group becomes online,
• otherwise the group remains offline.
The group name of offline users must follow the AD pattern <ADdomainName>\<ADgroupName>.
The following roles are automatically created by the system while configuring UMC:
• Administrator: built-in "root" role, can perform any operation. The user that has this role is a
root user that can perform any operation. This role cannot be associated with any group. It can
be associated with a user if the user performing the association has in turn the Administrator
role. The Administrator role cannot be deleted. Only users having the Administrator role can
modify other users having this role.
• UMC Admin: can manage users, groups and all the other UMC entities.
• UMC Viewer: can access the user management configuration without making modifications.
Name Description
UM_ADMIN Allows you to display the UMC database data and to configure the UMC
database, that is to create users, groups and so on, to import and export data
via file, to register UMC station clients. This function right allows you to execute
all umx commands.
UM_VIEW Allows you to display the UMC database data related to users, groups, roles
and account policies.
UM_RESETPWD The user can reset the password of another user. The user must also have
associated the UM_VIEW function right.
UM_UNLOCKUSR The user can unlock any other user. The user must also have associated the
UM_VIEW function right.
UM_ATTACH The user can attach a machine to a UM domain, the machine is promoted to the
UM agent role.
UM_JOIN The user can promote a machine to a UM server role. If the machine is not yet
attached to the UM domain, it is attached. This function right incorporates the
UM_ATTACH function right.
UM_RESETJOIN The user can downgrade a machine from the UM ring server or UM server role
to the UM agent role.
Name Description
UM_IMPORT The user can import the UM Configuration via package. The user must also
have associated the UM_VIEW function right.
UM_EXPORT The user can export the UM Configuration into a package. The user must also
have associated the UM_VIEW function right.
UM_BACKUP The user can back up the UM Configuration (Full backup). This function right is
not used, as the functionality controlled by it has not yet been implemented.
UM_EXPORTCK The user can export Claim Key. This function right is not used, as the
functionality controlled by it has not yet been implemented.
UM_EXPORTDK The user can export Domain Key. This function right is not used, as the
functionality controlled by it has not yet been implemented.
UM_RA Login from Remote Authentication. This function right is not used, as the
functionality controlled by it has not yet been implemented.
UM_RINGMNG The user can promote a machine to a UM ring server role. If the machine is not
yet attached to the UM domain, it is attached.
UM_VIEWELG The user can display event logging data. The user must also have associated
the UM_VIEW function right.
• Help
3.1 Help
This command displays the first level of help or the details of the different commands depending on the
input parameters.
Syntax
umx -h [command]
Parameters
• command can be one of the command categories displayed launching umx -h; examples are
create, update, etc.
• Create User
• Create Group
• Create Role
Syntax
Create users
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• name is the string representing the user name, only alphanumeric characters are allowed.
• fullName is the string representing the user full name, for instance the pair Name and Surname.
• password is the password associated to the user. Empty passwords are not allowed. The
password specified for the user via this command is not forced to comply with password
policies.
• paramMustPwd allows the values 0 or 1. If set to 1, the user is forced to change the password
at first login, if set to 0 the user is not forced to change the password at first login. Default value
is 0.
• paramCanPwd allows the values 0 or 1. If set to 1 the user can change the password, if set to 0
the user cannot change the password. Default value is 0.
• paramLock allows the values 0 or 1. If set to 1 the user is locked and cannot perform any action.
If set to 0 the user is unlocked and can perform the actions according to the associated function
rights. The user can be locked by the system when attempting to login several times with a
wrong password, the number of allowed attempts is established by the security policies. Default
value is 0.
• paramEnabled allows the values 0 or 1. If set to 0 the user cannot perform any action, if set to 1
the user is enabled and can perform the actions according to the associated function rights.
Default value is 0.
Parameter Behavior
The following table presents the different behaviors of the application depending on the values of the
paramMustPwd and paramCanPwd parameters.
Switches
Switch Description
-off If specified, the user is created as an offline user. For more details on offline users see User
Manager User.
Examples
The command above creates the user myUser with full name Peter Brown, password default123. The
user have to change the password at first login, is unlocked and enabled.
The command above creates the offline user DOM\userOFF, with all the flags set to 0.
umx –c –u userOn –p a
The command above creates the offline user userOn, password a and with all the flags set to 0.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• name is the string representing the group name, only alphanumeric characters are allowed.
• description is the string containing a short description of the group. This field is optional if the
group is created offline.
Switches
Switch Description
-off If specified the group is created as an offline group. For more details on offline groups see
User Manager Group.
In addition a database constraint on the role identifiers exists. In case you get an error message that
no more role identifiers are available, to create new roles, you have first to purge the existing one with
the corresponding umconf command. See the UMCONF User Manual for more details.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• name is the string representing the role name, only alphanumeric characters are allowed.
• description is the string containing a short description of the role.
Switches
Switch Description
• Update User
• Update Group
• Update User Alias
• Update User Attribute
When editing user which have been imported into UMC from active directory or windows, see
Limitations on imported users.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
• expirationDate is the account expiration date in Unix time format.
• alertOnExDays is the number of days from which a warning appears to the user notifying him/
her about the user expiration.
• pwdDays is the number of days for which the password is valid, max 1828 days.
• alertOnPwdExDays is the number of days from which a warning appears to the user notifying
him/her about the password expiration.
• autologoffMinutes is the number of minutes that must elapse before a user is automatically
logged off from the system (session-based).
• warningOnAutologoffMinutes is the number of minutes that must elapse before a warning
appears to a user to inform that he/she will be logged off from the system (session-based).
• language is the user language and has the format <langcode>-<countrycode> (for example en-
GB) where:
– langcode is the language code according to the ISO 639 standard; we accept both two-
letter codes (ISO 639-1) and three-letter codes (ISO 639-2);
– countrycode is the country code according to the ISO 3166 standard.
• dataLanguage is the language the language in which are displayed the user data, see above for
the language.
• fullname is the user Full Name (include in doublequotes if it contains spaces, e.g. -fu "Full
Name")
• comment is the user comment (include in doublequotes if it contains spaces, e.g. -co "This User
is Used Only For Test")
• emailAddress is the user email address
• paramOverrideLock allows the values 0 or 1. If set to 1 the user cannot be locked. If set to 0 the
user can be locked. For instance, the user can be locked by the system when attempting to
login several times with a wrong password, the number of allowed attempts is established by
the security global account policies. In case of value set to 1, even though the user attempts to
login several times with a wrong password, he/she is not locked.
Switches
Switch Description
-s After the "-u" switch the user name must be entered instead of the numeric user Id.
User which have been imported from Active direct and Windows local users can be updated from the
UMX but the following limitations apply:
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• group represents the group ID or name, if the switch –s is present, represents the user internal
identifier if the switch –s is not present, the identifier is a positive number univocally identifying
the record;
• description is the string containing a short description of the group.
Switches
Switch Description
-s After the "-u" switch the user name must be entered instead of the numeric user Id.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• aliasName is a string representing the alias name;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
to retrieve the user identifier see List Entity Details.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• attributeName is a string representing the attribute name;
• attributeNewValue is the attribute value;
• userId is a positive number representing the internal identifier of the record representing the UM
user to which the given attribute and its value are associated; to retrieve the user identifier see
List Entity Details.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
• group represents the group name if the switch –s is present, represents the group internal
identifier if the switch –s is not present, the identifier is a positive number univocally identifying
the record;
• role represents the role name if the switch –s is present, represents the role internal identifier if
the switch –s is not present, the identifier is a positive number univocally identifying the record;
optional switch -v shows groups and users which have been assigned to the specified role
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
-v Displays extended information on role (list of users and groups assigned to the role)
Important:
When using the -v switch to display the role details, listing users can take several
minutes; this is due to the lack of a direct link between the role entity and the user entity.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• time is the date in Unix time format of the day for which you wish to the event log records. The
string now represents the current date. As an example, the Unix time 1460939793 corresponds
to ISO 8601: 2016-04-18T00:36:33Z.
Switches
Switch Description
-f Forces the dump of all the records of the specified day to a file with name <unixtime>.dat
which is saved in the location from which UMX is being launched.
Example
in the last example umx create a file with name 1460279589.dat with all records about Sun, 10 Apr
2016 09:13:09 GMT
• List Entities
• Count Entities
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• searchStringUsers filters the Active Directory users to be listed, the "*" wildcard can be used,
the search field is the user name.
• searchStringGroups filters the Active Directory groups to be listed, the "*" wildcard can be used,
the search field is the group name.
Switches
Switch Description
-du Displays the list of Active Directory users belonging to the domain to which the local
machine is joined filtered by the search string. The first field displayed is used to import
purposes. The domain name has to be specified with -d domainName switch.
-dg Displays the list of Active Directory groups belonging to the domain to which the local
machine is joined filtered by the search string. The first field displayed is used to import
purposes. The domain name has to be specified with -d domainName switch.
-a Displays the list of UM account policies. Note that the user associated to the provisioning
service is stored as an account policy and is displayed in this list.
Example
The command above displays the list of Active Directory users belonging to the domain to which the
local machine is joined whose user name starts with the string "ross".
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
Switches
Switch Description
• Delete Entity
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
• group represents the group name if the switch –s is present; it represents the group internal
identifier if the switch –s is not present. The identifier is a positive number univocally identifying
the record;
• role represents the role name if the switch –s is present, represents the role internal identifier if
the switch –s is not present, the identifier is a positive number univocally identifying the record;
Switches
Switch Description
-a All the UM users, groups and roles are deleted except for the UM user launching the
command, the UM administrator and the Administrator role.
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Binding Commands
Unbinding Commands
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• attributeName is a string representing the attribute name;
• attributeValue is the attribute value;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
to retrieve the user identifier see List Entity Details.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• attributeName is a string representing the attribute name;
• size is the attribute size in bytes;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
to retrieve the user identifier see List Entity Details .
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• namePrefix is the prefix used for the name of the set of attributes;
• number is the number of attributes to add;
• size is the attribute size in bytes;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
to retrieve the user identifier see List Entity Details .
Example
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• aliasName is a string representing the alias name;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
to retrieve the user identifier see List Entity Details.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
• group represents the group name if the switch –s is present; it represents the group internal
identifier if the switch –s is not present. The identifier is a positive number univocally identifying
the record;
• role represents the role name if the switch –s is present, represents the role internal identifier if
the switch –s is not present, the identifier is a positive number univocally identifying the record;
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• group represents the group name if the switch –s is present; it represents the group internal
identifier if the switch –s is not present. The identifier is a positive number univocally identifying
the record;
• role represents the role name if the switch –s is present, represents the role internal identifier if
the switch –s is not present, the identifier is a positive number univocally identifying the record;
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• functionRightName is the name of a UM function right. For the list of the UM function rights see
User Manager Function Rights.
• role represents the role name if the switch –s is present, represents the role internal identifier if
the switch –s is not present, the identifier is a positive number univocally identifying the record;
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
• group represents the group name if the switch –s is present; it represents the group internal
identifier if the switch –s is not present. The identifier is a positive number univocally identifying
the record;
• role represents the role name if the switch –s is present, represents the role internal identifier if
the switch –s is not present, the identifier is a positive number univocally identifying the record;
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• group represents the group name if the switch –s is present; it represents the group internal
identifier if the switch –s is not present. The identifier is a positive number univocally identifying
the record;
• role represents the role name if the switch –s is present, represents the role internal identifier if
the switch –s is not present, the identifier is a positive number univocally identifying the record;
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• attributeName is a string representing the attribute name;
• userId is a positive number representing the internal identifier of the record representing the UM
user to which the given attribute and its value are associated; to retrieve the user identifier see
List Entity Details .
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userId is a positive number representing the internal identifier of the record representing the UM
user to which the given attribute and its value are associated; to retrieve the user identifier, see
List Entity Details.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• functionRightName is the name of a UM function right. For the list of UM function rights see
User Manager Function Rights .
• role represents the role name if the switch –s is present, represents the role internal identifier if
the switch –s is not present, the identifier is a positive number univocally identifying the record;
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Import Commands
Export Commands
The format of the file to import users/groups is csv (Comma Separated Values). The first row of the csv
file must contain the column names, the following lines must contain the corresponding values
semicolon separated.
CAUTION:
The order of the column of the file must be as they are listed.
The table below lists the record names and descriptions for the import of users. The insertion of a user
whose group does not exist fails. As a consequence, before importing the users, you have to import
their groups.
Name Description
Name Description
Groups List of group names to which the user belongs separated by ",". Example: group1,
group2,group3. If the group does not exist binding is not performed; no error is returned.
Initials Initials.
Comment Comment.
Name Description
Alarm An integer representing the alert in days before the password expiration.
Password
Expiration
Days
CAUTION:
Note that Active Directory (AD) users cannot be imported into UMC via csv file. In case
you perform this operation, the newly-created UM users are not linked to AD. To import
AD users you have to use the UMC Web UI or the appropriate umx command.
The table below lists the record names and descriptions for the import of groups.
Name Description
Syntax
Parameters
Switches
Switch Description
The command can only be used to import a local machine user on a UM Server or UM Ring Server, if
you need to import a Windows Local User on an Agent, see, Importing a Windows Local User on an
Agent in the UMC Installation Manual. To import Active Directory users you have to use the UMC Web
UI or the appropriate umx command.
This command allows one also to import built-in Windows local users. In the following table we report
the user name parameter corresponding to the built-in Windows local user.
CAUTION:
Imported Windows local users should be used only for configuration purposes, for
instance to be associated to a Windows service running on the machine. Their
authentication is demanded to the underlying operating system.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userName is the string representing the user name;
• role represents the role name, it must exist in UMC.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• searchString filters the Active Directory users to be listed, the "*" wildcard can be used, the
search is perfomed in the following Active Directory fields: user name (sAMAccountName), user
full name (displayName), and common name (cn).
• domainName is the domain from which the user(s) will be imported.
• role is the existing role that will be assigned to the imported user(s).
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• searchString filters the Active Directory groups to be listed, the "*" wildcard can be used, the
search field is the group name (cn).
• domainName is the name (without extension) of the domain to which the group belongs.
Switches
Switch Description
UMC package is a UMC proprietary format, zipped and encrypted. You will be prompted to insert a
password for the decryption that has to be the same of the one used in the export package command.
Prerequisites
• The user performing the command must have the function right UM_ADMIN or both the function
right UM_VIEW and UM_IMPORT.
• UMC has been configured. If UMC is only installed and not configured, to import a package you
have to use the corresponding umconf command. For more details see the UMCONF User
Manual.
• This command can be run only on the priority ring server.
Merge Behavior
In the engineering station you can create users, groups, roles and functional rights. When importing
the configuration package on the target system, the data in the target system are updated or
overwritten according to the imported data. The engineering data in the package overwrites all the
engineering data of the target system, except:
• Users: The users on the source machine are added to the target machine along with all of their
attributes and properties. When a user is present on both the source and the target machine
(same name), the details of the user on the target machine are overwritten but their password is
maintained.
• Groups:The groups present on the source machine are added to the target machine along with
all of their roles and members. When a group is present on both the source and the target
machine (same name), the details of the groups, including its members and roles are
overwritten with the values present in the source.
• Roles:The roles present on the source machine are added to those present on the target
machine with all the their functional rights. When a role is present on both the source and target
machine the (same name), the functional rights and configurations of the role is overwritten with
the values present in the source.
• Windows Local users: If Windows local users are imported via AD into an engineering station
and then they are imported via package into a target system, their username changes from
<engineeringStationName>\<localUserName>, to <targetMachineName>\<localUserName>.
• Offline users and groups: can be created in the engineering station. After the import package
operation in the target system, when the UMC provisioning service runs, if a user/group is found
in AD with the same name, object data are aligned and the object becomes online. For the
groups, all the AD users belonging to the group are imported into UMC.
The following image presents an example of the import of the UMC configuration of an engineering
station into a target system.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• file is the path and name of the file to be imported, for instance C:\temp\myPackage;
• password is the archive password.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• filename is the name of the csv file, for instance myFile.csv
Switches
Switch Description
For more information on the import/export package usage see the Standalone Engineering Station
Scenario in the User Management Component Installation Manual.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• file is the path and name of the exported file, for instance C:\temp\myPackage. The directory
where the file will be located has to be previously created in the file system.
• password is the encryption password for the archive.
Switches
Switch Description
• All the data of the engineering station are overwritten or deleted. The only exceptions are user
passwords: if a user exists both in the production machine and in the engineering station, the
password of the engineering station is maintained.
• The Administrator user of the engineering station is maintained.
UMC package is a UMC proprietary format, zipped and encrypted. You will be prompted to insert a
password for the decryption that has to be the same of the one used in the export package command.
The user performing the command must have the function right UM_IMPORT.
For more information on the import/export/update package usage see the Standalone Engineering
Station Scenario in the User Management Component Installation Manual.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• file is the path and name of the file to be imported, for instance C:\temp\myPackage;
• password is the archive password. If not provided, the user will be prompted to insert the
password.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userName is the string representing the user name
• newPassword the new password
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userName is the string representing the user name.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userName is the string representing the user name.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userName is the string representing the user name.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
Switches
Switch Description
Note: In order to retrieve the status of UMC you must specify a user who is a Windows
user with Administrative rights or elevated user if User Account Control (UAC) is enabled.
Info Description
UMC Health The status of UMC server. Example: All UMC servers are running.
Status
UMC The status of UMC Secure Communication Services. Example: All UMC
Communication communication are running.
Status
Info Description
Claim Key (Not for the agent) A claim key is present or not present.
Ticket Key (Not for the agent) A ticket key is present or not present.
UMC databases (Not for the agent) UMC databases are present or not present.
Discovery (Not for the agent) Details on the connection between server and client. Example:
status Discovery status is connected
The possible values are:
• connected;
• standalone (not used);
• no configuration found;
• not initialized;
• generic error.
Ring master The name of the ring master. Example: Now Ring master is : vm-umc1, this field
also specifies if the ring server is in safe mode: vm-umc1 in safe mode.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
Switches
Switch Description
Examples
Example #1: the following example shows the output of the health check performed on the ring server.
Example #2: the following example shows the output of the health check performed on the agent.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
Switches
Switch Description
• Manage Passwords
• Associate UMC User to Provisioning Service
• Restore account policy default values
• Set Default PKI Rule
• Reset Default PKI Rule
• Manage Secure Application Data Support (SADS)
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• minLen is the minum number of characters allowed in passwords. If you set this value to 0, this
check is disabled. Empty passwords are not allowed.
• maxLen is the maximum number of characters allowed in passwords. If you set this value to 0,
this check is disabled. Empty passwords are not allowed.
Switches
Switch Description
12.2 Modify Account Policies - Associate UMC User with Provisioning Service
This command associates a UMC user identified by the parameter name with the UM service
UPService.exe. This user must have a role with the associated function right UM_ADSYNC. This role
is not automatically created and has to be created before associating this user. This user is stored as
an account policy. It is mandatory to restart the UM service UPService.exe after executing the
command.
Important:
This configuration is not mandatory. The UMC user associated by default with the
provisioning service is the UMC administrator. We strongly recommend to perform this
configuration to harden your system following the least privilege principle.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
Switches
Switch Description
Syntax
Parameters
• issuerName is the name of the issuer of the certificate, by now this value is not used;
• authModeValue represents the different types of allowed authentication modes:
– 2: Authentication using filter on Subject;
– 3: Alias Authentication using filter on Subject
– 4: Authenticate using CN;
– 5: Alias Authentication using CN;
– 10: Authentication using filter on Alternate Subject;
– 11: Alias Authentication using filter on Alternate Subject.
Syntax
Syntax
Switches
Switch Description
-setakp Enables Secure Application Data Support for users and groups.
-resetakp Disables Secure Application Data Support for users and groups.
• Interactive Mode
• Enable Notifications
Syntax
umx -interactive
When umx is launched in interactive mode, a write lock on the database is performed.
Thus, no other process/application can modify the database entities. Read only access is
allowed.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
Switches
Switch Description
• Test Authentication
• Generate Ticket
• Change User Password
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userName represents the user name of the user to be authenticated;
• password represents the user password.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userName represents the user name;
• password represents the user password;
• duration represents the ticket duration in seconds.
Switches
Switch Description
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• userName is the string representing the user name;
• oldPassword the old password;
• newPassword the new password.
Switches
Switch Description
• Enable Encryption
• Encrypt Keys
• Decrypt Keys
SADS capabilities at application level can be enabled via umx or Web UI by modifying an account
policy. For what concerns the subject level, this can only be done via umx.
Syntax
umx [-x commandUserName commandUserPassword] -SK -e {-u user |-g group} [-s]
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
to retrieve the user identifier see List Entity Details.
• group represents the group name if the switch –s is present, represents the group internal
identifier if the switch –s is not present, the identifier is a positive number univocally identifying
the record.
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• Key is the application key to be used to encrypt application data.
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
to retrieve the user identifier see List Entity Details.
• group represents the group name if the switch –s is present, represents the group internal
identifier if the switch –s is not present, the identifier is a positive number univocally identifying
the record.
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
Syntax
Parameters
• commandUserName is the string representing the name of the user that is executing the
command;
• commandUserPassword is the string representing the password of the user that is executing the
command;
• EncryptedKey is the key to be decrypted for the user or group according to their data access
control confguration;
• user represents the user name if the switch –s is present, represents the user internal identifier
if the switch –s is not present, the identifier is a positive number univocally identifying the record;
to retrieve the user identifier see List Entity Details;
• group represents the group name if the switch –s is present, represents the group internal
identifier if the switch –s is not present, the identifier is a positive number univocally identifying
the record.
Switches
Switch Description
-s If the switch –s is present, objects are identified by their name. If the switch –s is not
present, objects are identified by their internal identifier. The identifier is a positive number
univocally identifying the record.
0 Success
In all the other cases, the command returns the last error code (decimal format) returned by the UMC
APIs invoked during the command execution. See UMC APIs Error Codes for more details.
Example #1
Consider the following script to display the information of the user identified by 66 where no user has
assigned the identifier 66 in the UMC database:
umx -i -u 66
echo %errorlevel%
No deletion is performed and umx returns the decimal number 273 that corresponds to the following
error code in UMC APIs Error Codes.
SL_OBJ_DOES_NOT_EXIST 0x111 273 The UMC object does not exist or has not yet been
saved into the UMC database.
Generic Errors
Authentication Errors
SL_INVALID_LOCK_OPTION 0x108 264 The lock option has not been defined.
SL_INVALID_PROPERTY 0x109 265 The property has not been defined for
the object.
File Errors
SL_RESOURCE_NOT_FOUND 0x150 336 The user does not have the correct
function right to perform the
requested operation. This error has
the same meaning as the
SL_MISSING_FUNCTION_RIGHT
error.
SL_MISSING_FUNCTION_RIGHT 0x152 338 The user does not have the correct
function right to perform the
requested operation. This error has
the same meaning as the
SL_RESOURCE_NOT_FOUND
error.
Package Errors
Database Errors