How to check DB2 SYSADM or SYSCTRL authorization for a user(如何检查用户的 DB2 SYSADM 或 SYSCTRL 授权)
问题描述
如何检查用户的 DB2 SYSADM 或 SYSCTRL 授权.
How to check DB2 SYSADM or SYSCTRL authorization for a user.
我需要通过 DB2 权限来验证用户/密码来创建/删除数据库.有什么具体的命令吗?
I need to verify user/password by means of DB2 authority to create/drop database. Is there any specific command for this?
我需要使用一个命令验证用户/密码,该命令告诉用户是否有权创建和删除数据库(意味着在触发数据库创建命令之前尝试验证).
I need to verify user/password with a command that tells whether the user has the authority to create and drop database (means attempt to validate before firing database Create command) or not.
推荐答案
db2 connect
db2 get authorizations
这篇关于如何检查用户的 DB2 SYSADM 或 SYSCTRL 授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何检查用户的 DB2 SYSADM 或 SYSCTRL 授权
基础教程推荐
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
