Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

1.4.3 swrba_uaexport (User Information Export Command)

Description

This command exports user account information of servers that have already been registered from CMDB. The extracted user account information is output to the specified file or displayed to standard output.

The extracted information can be edited and re-imported, and the user account information can then be updated/added.

Of the user account information that can be obtained using this command, the default value will be output for password. When the password is changed, enter the new password so that it can be imported. If the default value is being used for password in the user account information, then the password is not changed.

Synopsis

swrba_uaexport [-f output file name] [-e output file character code]

Options

-f Output file name

Specifies a name of the file to which the user account information is to be output.

If this option is omitted, the user account information will be output to standard output.

The output format is CSV format.

For more information about CSV file format, refer to 1.4.2 swrba_uaimport (User Information Import Command).

--e Input file character code

Specifies the input file character code. The following character codes can be specified:

  • UTF-8

  • SJIS

  • EUC

If this option is omitted, the character code of the input file will be as follows:

[Windows]

SJIS

[Linux]

The character code specified in the LANG environment variable

If the LANG environment variable has not been set, or LANG variable has been set other than ja_JP.euc or ja_JP.UTF-8 or ja_JP.SJIS or ja_JP.WINDOWS-31J, then UTF-8 will be used.

Return Values

0:

Normal termination

1:

Termination following a warning

  • User information does not exist

2:

Parameter error

3:

An error other than the above 1 or 2

Command Location

[Windows]

<Systemwalker Runbook Automation installation directory>\bin
Note: The default location is C:\Fujitsu\Systemwalker\SWRBAM

[Linux]

/opt/FJSVswrbam/bin


Privilege Required/Execution Environment

[Windows]

[Linux]

Note