jbssetadmingrp (UNIX only)
- Organization of this page
Function
The jbssetadmingrp command sets up an environment in which users with JP1/Base administrator permission can use JP1/Base. It also checks whether users in the JP1/Base administrator role are able to use JP1/Base.
Format
jbssetadmingrp {-s JP1-administrators-group [-f] | -v}
Required execution permission
Superuser permission
Command directory
/opt/jp1base/bin/
Arguments
-s JP1-administrators-group
Allows users in the JP1/Base administrator role to operate JP1/Base. When you specify this option, access permission for the files and directories provided by JP1/Base is assigned to the JP1 administrators group, allowing JP1/Base administrators to use JP1/Base. If you specify this option in an environment where use by JP1/Base administrator is already enabled, the existing JP1 administrators group is replaced with the one specified in this option.
Specify the JP1 administrator group as a character string of no more than 256 bytes.
To stop operation by JP1/Base administrators and temporarily allow only system administrators to use JP1/Base, specify the value below as the JP1 administrators group. You can restore the ability of the JP1 administrators group to use JP1/Base by executing the command again with the group name specified.
In SuSE Linux 15 or later: root
In Linux other than the above: sys
In HP-UX, Solaris: sys
In AIX: system
-f
Specify this option to suppress the confirmation message displayed when you allow JP1/Base administrators to use JP1/Base. If you omit this option, the confirmation message is displayed.
-v
Specify this option to output messages related to the status of the JP1/Base administrators.
Notes
-
Shut down JP1/Base before using this command with any option other than -v.
-
Do not change the ID assigned to the JP1 administrators group after you use this command to allow JP1/Base administrators to use JP1/Base.
Return values
0 |
Normal end |
1 |
Access permission change error |
2 |
Invalid argument |
3 |
Command executed while JP1/Base is running |
4 |
Insufficient system resource such as memory |
5 |
Invalid setting |
6 |
Execution permission error |
127 |
Internal error other than insufficient resources |