Synopsis
mpmkpwbat [-c] [-u username] -f filename
Description
This command extracts the password information of the Operation Manager user registered to Systemwalker Operation Manager to a file.
Options
-c
Specify to include password information of a user with password omitted or deleted in the extraction target information. When password information is extracted and executed as a script with this option, the password information of the same Operation Manager user name registered in the destination will be deleted. If this option is omitted, password information of a user with password omitted is not extracted.
-u username
Specify to extract only the password information of the specified user. If this option is omitted, password information of all users is extracted.
-f filename
Specify a file name in the extraction destination. Specifying an existing file name causes information to be overwritten to the existing file.
Executing this file as a script, you can change password information of the Operation Manager user on the server, in which this command is to be executed, to password information of the Operation Manager user registered in the source server. Only the system administrator (superuser) can execute this file as a script.
Return Values
Return value | Meaning |
---|---|
0 | Normal termination |
Value other than 0 | Abnormal termination |
Reference
mpsetusermode, mpusermode
Command Location
Solaris | Systemwalker installation directory/FJSVfwseo/bin |
Privilege Required
System administrator (superuser) privileges are required.
Cautions
Password information is encrypted when it is extracted.
The file extracted with this command contains password information of user. You should take great care to handle this file.
Examples
The following example extracts the password information of the Operation Manager user registered to Systemwalker Operation Manager to file "users.sh":
mpmkpwbat -f users.sh
The following example extracts the password information of the Operation Manager user "swuser1" registered to Systemwalker Operation Manager to file "swuser1.sh":
mpmkpwbat -u swuser1 -f swuser1.sh
Execution Results/Output Format
Normal termination | No message is output. |
Abnormal termination | An error message is output. |