SQL adaptation guide For Genero db 3.6x, 3.8x / Database concepts |
Prior to version 11.70.xC2, Informix® database users must be created at the operating system level and be members of the 'informix' group. Starting with 11.70.xC2, Informix supports database-only users with the CREATE USER instruction, as in most other db servers. Any database user must have sufficient privileges to connect and use resources of the database; user rights are defined with the GRANT command.
Genero db users must be registered in the database. They are created by the database administrator (SYSTEM) with the following command:
CREATE USER username IDENTIFIED BY password
or for Operating System authentication:
CREATE USER username IDENTIFIED EXTERNALLY
For migration and testing purposes only, you can specify the user name and password in the FGLPROFILE.
For a live system, it is recommended that you use the CONNECT TO statement and supply the user name and password, or create database users IDENTIFIED EXTERNALLY.
CREATE USER "harry" IDENTIFIED EXTERNALLY [DEFAULT SCHEMA stores];
CREATE USER harry IDENTIFIED EXTERNALLY [DEFAULT SCHEMA stores];
In this case, Genero db would internally map the lower case name to the OS user, and would use OS authentication when connecting to the database.
A few additional changes are required to make OS authentication work: