Firebird Docset → Firebird Commandline Utilities → GSEC - Firebird Password File Utility → Commandline Options |
Regardless of the mode that GSEC is run in, there are a number of options that can be supplied on the command line. These are :
-user <username>
Allows the username of the sysdba user to be specified if the database is to be modified, or a normal username if the database is to be displayed only. This need not be supplied if ISC_USER and ISC_PASSWORD environment variables exist and have the correct values.
-password <password>
Supplies the password for the username specified above. This need not be supplied if ISC_USER and ISC_PASSWORD environment variables exist and have the correct values.
-role <SQL role name>
Allows the specification of the role to be used by the connecting user.
-database <server:security database name>
You can specify the full pathname of a security database to GSEC and this will allow you to remotely administer the users for that server. The whole parameter should be enclosed in quotes if there are any spaces in the path to the security database.
-z
Displays the version number of the GSEC utility.
-help
Help displays the following screen of information :
gsec utility - maintains user password database command line usage: gsec [ <options> ... ] <command> [ <parameter> ... ] interactive usage: gsec [ <options> ... ] GSEC> <command> [ <parameter> ... ] available options: -user <database administrator name> -password <database administrator password> -role <database administrator SQL role name> -database <security database> -z available commands: adding a new user: add <name> [ <parameter> ... ] deleting a current user: delete <name> displaying all users: display displaying one user: display <name> modifying a user's parameters: modify <name> <parameter> [ <parameter> ... ] help: ? (interactive only) help displaying version number: z (interactive only) quit interactive session: quit (interactive only) available parameters: -pw <password> -uid <uid> -gid <uid> -fname <firstname> -mname <middlename> -lname <lastname>
Firebird Docset → Firebird Commandline Utilities → GSEC - Firebird Password File Utility → Commandline Options |