jbssetacl
- Organization of this page
Function
The jbssetacl command registers operating permissions for individual JP1 users.
Format
jbssetacl [-h logical-host-name] [-s authentication-server-name] -f definition-file-name [-no]
Required execution permission
In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)
In UNIX: Superuser or JP1/Base administrator permission
Command directory
- In Windows:
-
installation-folder\bin\
- In UNIX:
-
/opt/jp1base/bin/
Arguments
-h logical-host-name
When using JP1/Base in a cluster system, you register JP1 user operating permissions with the primary authentication server configured on the logical host specified with this option.
-s authentication-server-name
Specify the authentication server on which you want to register the JP1 user operating permissions. When you specify this option, the -h option is ignored, even if it is specified.
-f definition-file
Specify the name of the definition file containing JP1 user operating permissions. The file format is the same as that of the user permission level file (JP1_UserLevel). You can give the definition file any name and store it in any location. For details on the format of the user permission level file, see User permission level file in 16. Definition Files.
-no
This option causes the system to return an error without registering operating permissions if the specified JP1 user has already been assigned operating permissions.
Note
The -s option takes precedence if you specify both the -h and -s options. If you omit both options, the host name set in the environment variable JP1_HOSTNAME is assumed as the logical host. If you omit both options and nothing is set in JP1_HOSTNAME, the operating permissions are registered for the physical host.
Return values
0 |
Normal end |
2 |
Invalid arguments |
4 |
Insufficient system resource such as memory |
8 |
The authentication server has not started or is not responding |
16 |
An error occurred in processing of the authentication server. |
32 |
An error occurred during initialization of the communication functionality |
64 |
File format error |
128 |
Inconsistency in internal processing (a C++ exception) |
255 |
Other error |