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
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).
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
Normal termination
Termination following a warning
User information does not exist
Parameter error
An error other than the above 1 or 2
Command Location
[Windows]
<Systemwalker Runbook Automation installation directory>\bin |
[Linux]
/opt/FJSVswrbam/bin |
Privilege Required/Execution Environment
[Windows]
This command requires administrator privileges. When using Windows Server 2008 or later operating system, run as an administrator.
This command can be executed on a Management Server.
[Linux]
This can only be executed by a system administrator (superuser).
This command can be executed on a Management Server.
Note
swrba_uaexport and swrba_uaimport cannot run at the same time. For this reason, an error will occur if one command is executed while the other command is already under execution.
Execute this command when Systemwalker Runbook Automation is running.
If this command is used before Systemwalker Runbook Automation has started ups, it will fail because of the following error:
Error: Failed to output the user account information. Detail=com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers |
If the user information has not been registered because swrba_uaimport is not executed, then the information will not be output.