oracle 如何授予“授予创建会话”权限?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19650747/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to grant "grant create session" privilege?
提问by Thomas Carlton
How to grant the privilege of giving the privilege of creating a session to a user or role in Oracle?
oracle中如何授予用户或角色创建会话权限的权限?
回答by Justin Cave
You would use the WITH ADMIN OPTION
option in the GRANT
statement
您将WITH ADMIN OPTION
在GRANT
语句中使用该选项
GRANT CREATE SESSION TO <<username>> WITH ADMIN OPTION
回答by Sabe
You can grant system privileges with or without the admin option. The default being without admin option.
您可以使用或不使用 admin 选项授予系统权限。默认是没有管理选项。
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
具有ADMIN OPTION
可以授予和撤销其他用户权限的受让人
回答by Leptonator
grant CREATE SESSION
授予创建会话
Ref.. http://ss64.com/ora/grant.html
参考.. http://ss64.com/ora/grant.html
HTH,
哈,
Kent
肯特