Doing the Same Task Using gsec
Warning
|
With Firebird 3.0, gsec was deprecated.It is recommended to use the SQL user management statements instead. |
An alternative is to use gsec with the -admin
parameter to store the RDB$ADMIN
attribute on the user’s record:
gsec -add new_user -pw password -admin yes gsec -mo existing_user -admin yes gsec -mo existing_user -admin no
Note
|
Depending on the administrative status of the current user, more parameters may be needed when invoking gsec, e.g. |