-ok ok-file-pathok-file-path: Location and name of the authorization file; you can specify a file with any name and location.
G2_OK
-ok option to identify the location and name of the G2 authorization file. The default name of the authorization file is g2.ok. If the file
NOCMD.OK is stored in the root directory, G2 checks whether the authorization file name specified by ok-file-path is listed in NOCMD.OK. G2 loads the file only if it is listed there. (The root directory is the directory / on UNIX platforms, the directory \ on Windows platforms, or the directory [000000] on VMS platforms.) If you omit the
-ok option, the new G2 process looks for the authorization file in the directory from which you launched G2.
-ok option and the G2_OK environment variable are specified, the -ok option takes precedence. If both the
-v5ok and -ok options are specified in the command line, the -v5ok option takes precedence. If both the
G2V5_OK and G2_OK environment variables are specified, G2V5_OK takes precedence.
/usr/jane/my.ok as the authorization file:
g2 -ok /usr/jane/my.ok