如何检查用户的 DB2 SYSADM 或 SYSCTRL 授权 [英] How to check DB2 SYSADM or SYSCTRL authorization for a user

查看:18
本文介绍了如何检查用户的 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 授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆