This section includes the following topics:
About Windows Services authentication
The functionality described in this section supplies the ability to perform a wide authentication update for Precise Windows services.
Services List command
The following CLI Utility command retrieves a list of Precise Windows services names from a specified server.
Windows infra\bin\psin_cli.bat
-action services-list
-server <server_name>
-proxy-alias <node_alias>
UNIX ./infra/bin/psin_cli.sh
-action services-list
-server <server_name>
-proxy-alias <node_alias>
Table 1 Elements for the Services List
Element | Description |
---|---|
action | Always services-list. Mandatory: Yes |
server | The server to retrieve the services names from. Values: String Mandatory: Yes |
proxy-alias | Alias of the node. Values: string Mandatory: Yes, only in a federation installation |
Services Authentication Update command
The following CLI Utility command updates the authentication of the Precise WIndows services. The services to be updated are set according to given services names. If you would like to update all services, set the "all" value.
Windows infra\bin\psin_cli.bat
-i3-user <user_name>
{-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
-action services-authentication-update
-services <"service_name1 service_name2"|all>
-authentication-mode <user|localsystem>
{-authentication-user <user_name>}
{-authentication-encrypted-password <encrypted_password> | -authentication-clear-password
<clear_password>}
{-authentication-domain <domain>}
-server <server_name>
-proxy-alias <node_alias>
UNIX ./infra/bin/psin_cli.sh
-i3-user <user_name>
{-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
-action services-authentication-update
-services <"service_name1 service_name2"|all>
-authentication-mode <user|localsystem>
{-authentication-user <user_name>}
{-authentication-encrypted-password <encrypted_password> | -authentication-clear-password
<clear_password>}
{-authentication-domain <domain>}
-server <server_name>
-proxy-alias <node_alias>
Table 2 Elements for the Services Authentication Update
Element | Description |
---|---|
i3-user | See Authenticate to CLI Utility on page 8. |
i3-encrypted-password | See Authenticate to CLI Utility on page 8. |
action | Always services-authentication-update. Mandatory: Yes |
services | Service names separated by spaces and bounded by quotes ("") or "all" if you want to update all the services. Values: String Mandatory: Yes |
authentication-mode | Authentication type. Values: user or localsystem Mandatory: Yes |
authentication-user | Authentication user. Values: String Mandatory: Yes, only if authentication-mode value is user. |
authentication-encrypted-password | Authentication password. Values: The encrypted password used for authentication of the user specified in -authentication-user argument. For more information, see Encrypt command on page 146. Mandatory: Yes, only if authentication-mode value is user. Alternatively the authentication-clear-password can be used, allowing you to specify a clear password instead of an encrypted string. |
authentication-domain | Authentication domain. Values: String Mandatory: Yes, only if authentication-mode value is user. |
server | The server to retrieve the services names from. Values: String Mandatory: Yes |
proxy-alias | Alias of the node. Values: string Mandatory: Yes, only in a federation installation |