Using gsec Commands

From InterBase
Jump to: navigation, search

Go Up to Using gsec to Manage Security


The following table summarizes gsec commands. The initial part of each command is required. The part in brackets is optional.

Command Description

di[splay]

Displays all rows of the InterBase security database (admin.ib by default)

di[splay] name

Displays information only for user <name>

a[dd] name -pw password
 [option argument]
 [option argument ...]

Adds user <name> to the security database with password <string>. Each option and corresponding argument specifies other data associated with the user, as shown in Options for gsec

mo[dify] name [options]

Like add, except that <name> already exists in the security database

de[lete] name

Deletes user <name> from the security database

alias_add path name

Adds a database alias. The path is the location of the database, and <name> is the name given for the alias

alias_del name

Deletes database alias <name> from the security database

alias_dis

Displays all database alias

alias_dis name

Displays information only for alias <name>

h[elp] or ?

Displays gsec commands and syntax

q[uit]

Quits the interactive session

Topics