Node:Privileged gnatsd commands, Previous:gnatsd.user_access, Up:Access Control
gnatsd
commandsEvery gnatsd
command has a minimum access level attached to
it. If your access level is too low for a command, you get this
response:
LOCK 12 422 You are not authorized to perform this operation (LOCK).
The commands CHDB
, USER
and QUIT
are
unrestricted.
The DBLS
command requires at least listdb
access.
A user must have at least edit
access for these commands:
LKDB
UNDB
LOCK PR user pid
UNLK PR
EDIT PR
APPN PR field, REPL PR field
The DELETE
PR command is special in that it requires
admin
access.
All other commands require view
access.
edit-pr
and query-pr
accept the command line arguments
-v|--user
and -w|--passwd
. See The GNATS User Tools.