Granting the RDB$ADMIN
Role in the Security Database
Since nobody — not even SYSDBA — can connect to the security database remotely, the GRANT
and REVOKE
statements are of no use for this task.Instead, the RDB$ADMIN
role is granted and revoked using the SQL statements for user management:
CREATE USER new_user PASSWORD 'password' GRANT ADMIN ROLE; ALTER USER existing_user GRANT ADMIN ROLE; ALTER USER existing_user REVOKE ADMIN ROLE;
Note
|
|
Parameter | Description |
---|---|
new_user |
Name for the new user |
existing_user |
Name of an existing user |
password |
User password |
The grantor must be logged in as an administrator.