mfsql -u system -p manager -c myconfigfile.cfg
(This command creates the default schema of authorization ID system with the password manager.)
The following prompt appears:
SQL (/? for help) ==>
GRANT DBA TO tsmith IDENTIFIED BY password123;
CONNECT | Lets grantees connect to the database when the password is correct |
RESOURCE | Lets grantees create objects/tables in the database |
DBA | Implies both CONNECT and RESOURCE and lets grantees read or modify any table in the database (we suggest that you use caution when granting this privilege — anyone with DBA privileges has complete control over a database) |
For example, you might issue the following commands:
GRANT CONNECT,RESOURCE TO jsmith IDENTIFIED BY password1; GRANT CONNECT TO sjones IDENTIFIED BY password2;
/q