Manuals: Objy AMS | FDID alloc | Sel Apps | Glossary | Proceedings | Talks | Press

Search | Site Map .

BdbAuthCmd

BdbAuthCmd queries and changes persistent authorization information in a federation.

Syntax

BdbAuthCmd { -f <filename> | help | <command> [par1] [par2] ... }

where <command> is one of the following:

isauth - check if your process is authorized
dinit - initialize DOMAIN
ddelete - delete all the records inside DOMAIN
ucreate - create new USER record
udelete - delete existing USER record
gcreate - create new GROUP record
gdelete - delete existing GROUP record
uinclude - include USER into GROUP
uexclude - exclude USER from GROUP
setsysmgr - assign/deassign USER as a system manager in DOMAIN
setgrpmgr - assign/deassign USER as a GROUP manager
lsusers - list all registered USERs
lsmembers - list USERs - the members of a GROUP
lsgroups - list all registered GROUPs
lsmembership - list the GROUPs having a USER as a member
help - print this page, if you don't know yet how to do it

Executing a List of Commands

This feature is available with "-f <filename>" form of the input, where: <filename> is a text formatted file containing a list of commands to be executed.

The syntax of these commands is very much the same as for a command line form of the input, but with these exceptions:

From a practical point of view the first and secon rule mean that the following sample descriptions:

"This is a new group member"
"VIP user of our Federation"

should be replaced with:

This_is_a_new_group_member
VIP_user_of_our_Federation

Status Return

When commands are executed one-by-one in a command line, the result is returned to a shell, as 0 - when OK, or 1 - when a ERROR condition is met.

When the commands are executed from the file the result of each command's execution is printed onto a standard output as a message, such as:

"BdbAuthCmd:<line number>:{OK|ERROR}: <command sequence>"

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: December 13, 2001 Last Update: December 13, 2001