How to grant “grant create session” privilege?

前端 未结 3 1954
南旧
南旧 2021-02-12 11:41

How to grant the privilege of giving the privilege of creating a session to a user or role in Oracle?

3条回答
  •  粉色の甜心
    2021-02-12 12:21

    You can grant system privileges with or without the admin option. The default being without admin option.

    GRANT CREATE SESSION TO username
    

    or with admin option:

    GRANT CREATE SESSION TO username WITH ADMIN OPTION
    

    The Grantee with the ADMIN OPTION can grant and revoke privileges to other users

提交回复
热议问题