jbsmkpass (Windows only)
- Organization of this page
Function
The jbsmkpass command batch-registers password management information. Executing this command deletes all the password information registered in the common definition information, and batch-registers the password information set in a password definition file.
Format
jbsmkpass [-h logical-host-name] -f password-definition-file
Required execution permission
Administrators. (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)
Command directory
installation-folder\bin\
Arguments
-h logical-host-name
When using JP1/Base in a cluster system, specify the logical host for which you want to register the password management information. If you omit this option, the host name set in the environment variable JP1_HOSTNAME is assumed. If the environment variable JP1_HOSTNAME is not set, the physical host name is assumed.
-f password-definition-file
Specify the password definition file to import. The system performs a syntax check on the specified file and returns an error if any formatting mistakes are found. If the password information is correct, the file contents are batch-registered in the common definition information. For details on the format of the password definition file, see Password definition file (Windows only) in 16. Definition Files.
Notes
-
At command execution, all the password management information registered in the common definition information is deleted, and the password information written in the password definition file is batch-registered in its place. If you want to keep any of the previous password information, include that information in the password definition file.
-
In Windows, you need to grant specific Windows user permissions to the OS user who is to execute this command, and to the OS user specified in the user mapping, respectively. For details, see 8.1.5 Assigning user permissions to OS users before setting user mapping.
Return values
1 |
Normal end |
0 |
Abnormal end |