GSEC
From Free net encyclopedia
Gsec is the text-mode utility that InterBase offers to manage security on the server. This utility changes the security database, admin.ib (version 7+) isc4.gdb (older versions), to specify user names and passwords to access the InterBase server. This application is a replica of what you can do by means of IBConsole (version 6+) or Server Manager (older versions) in relation to security on the server.
The security database is hosted on the InterBase installation directory. When a connection with one of the server's databases is made, the InterBase engine verifies the username and password with those stored in the database. A connection can also be made to the security database as it is a normal database.
Only administrators can execute Gsec:
- On UNIX, one should enter as root or define the environment variables ISC_USER and ISC_PASSWORD for the SYSDBA.
- In Windows NT, one should enter as administrator, or define the same environment variables as in Unix.
- In Windows 95/98, where there are no administrators, one should define the same environment variables as in Unix.
Gsec can be used interactively using the command:
Gsec –user sysdba –pa masterkey
The user prompt then changes to GSEC>, indicating it is now in interactive mode. To exit to the system prompt type QUIT.
Gsec can also be used on a client machine to administer remote server security. For this, the -database option must be used to signal the program that database admin.ib or isc4.gdb will be on a remote server, like this:
Gsec –database marina:d:\aplicaciones\interbase corp\interbase\bin\isc4.gdb