Hitachi

JP1 Version 12 JP1/Base User's Guide


8.3.5 Setting user mapping

You can execute a command to register, in a batch, user mapping information that was written in a definition file, into common definition information. You can also add, modify, or delete specific user mapping information.

Organization of this subsection

(1) Setting user mapping information in one operation

You can set user mapping information in one operation from the user mapping definition file (jp1BsUmap.conf). For details on the user mapping definition file, see User mapping definition file in 16. Definition Files.

After editing the user mapping definition file (jp1BsUmap.conf), execute the jbsmkumap command, which deletes all the mapping information registered in the common definition information, and replaces it with the information written in a user mapping definition file (jp1BsUmap.conf). To check the defined mapping relationships, execute the jbsgetumap command.

For details on the jbsmkumap and jbsgetumap commands, see jbsmkumap and jbsgetumap in 15. Commands.

(2) Registering specific user mapping information

You can execute the jbssetumap command to add or modify specific user mapping information. You can either specify user mapping information directly with an option for the jbssetumap command or use a definition file containing user mapping information.

If you specify user-mapping information to register it in the common definition information, execute the following command:

jbssetumap {-u JP1-user-name| -ua}
           {-sh server-host-name| -sha}
           {-o OS-user-name [,OS-user-name]}
           [-no]

If you create a definition file and register user-mapping information in the file, execute the following command:

jbssetumap -f definition-file-name

You can store the definition file in any location. When you store the file, the file format must be the same as the user mapping definition file (jp1BsUmap.conf). For details on the format of the user mapping definition file, see User mapping definition file in 16. Definition Files. For details on the jbssetumap command, see jbssetumap in 15. Commands.

(3) Deleting specific user mapping information

To delete specific user mapping information from the common definition information, use the jbsrmumap command.

Execute the command as follows:

jbsrmumap -u JP1-user-name

For details on the jbsrmumap command, see jbsrmumap in 15. Commands.