Using DB2 CLP and CEWe could use CLP and CE to change password for databases and nodes that we connected or attached to.Change by connecting to databaseC:\> db2 connect to SAMPLE user TEST using OLDPWD new NEWPWD confirm NEWPWDC:\> db2 connect to SAM...
显示全部
Using DB2 CLP and CE
We could use CLP and CE to change password for databases and nodes that we connected or attached to.
Change by connecting to database
C:\> db2 connect to SAMPLE user TEST using OLDPWD new NEWPWD confirm NEWPWD
C:\> db2 connect to SAMPLE user TEST using OLDPWD change password
Change by attaching to node, this way works out for the limitation in Configuration Assistance
C:\> db2 attach to NODE user TEST using OLDPWD new NEWPWD confirm NEWPWD
C:\> db2 attach to NODE user TEST using OLDPWD change password、
这只是一种解决办法 不过很多时候 由于DB2是系统用户 而系统需要设定等保要求 so 是系统管理员在做这些策略操作 因此 需要联系系统管理员进行设定 一般需要定期更换密码
收起