Subject | Re: [firebird-support] Problems with creating new users (no permission for INSERT access to TABLE PLG$VIEW_USERS) |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2018-12-18T13:56:13Z |
18.12.2018 14:44, 'Bryan Cole' bryan.cole@... [firebird-support] wrote:
SQL> grant RDB$ADMIN to user test;
SQL> commit;
SQL> CREATE USER test1 PASSWORD 'test';
SQL> show users;
Users in the database
0 SYSDBA 1 #TEST
0 TEST1
--
WBR, SD.
> I understand I'm doing it wrong. I don't understand what I need to do different. I've read all the documentation (really!).SQL> CREATE USER test PASSWORD 'test' GRANT ADMIN ROLE;
>
> If you could give me a working example, that would be awesome.
>isql -u sysdba -p masterkey localhost:employee
SQL> grant RDB$ADMIN to user test;
SQL> commit;
>isql -u test -p test -role RDB$ADMIN localhost:employeeDatabase: localhost:employee, User: TEST, Role: RDB$ADMIN
SQL> CREATE USER test1 PASSWORD 'test';
SQL> show users;
Users in the database
0 SYSDBA 1 #TEST
0 TEST1
--
WBR, SD.