Three Security Mechanisms of DB2 (1)

Source: Internet
Author: User
Tags db2 connect db2 connect to

The security mechanism of the database is one of the keys of the database system. This article will introduce you to the three main security mechanisms in the DB2 database for your reference, and hope to enlighten you.

DB2 has three main mechanisms that allow DBAs to implement database security plans: authentication, authorization, and privilege.

Five different permission levels in DB2 are SYSADM, SYSCTRL, SYSMAINT, DBADM, and LOAD.

Log on to the machine where DB2 is installed. Run the following command:

Db2 attach to db2inst1

Here, authentication is performed implicitly. The User ID used to log on to the machine. It is assumed that the operating system has verified the user identity.

Db2 connect to sample user tst1 using mypass

Db2 connect to sample user tst1 using mypass new chgpass confirm chgpass

Change Password

Type description

SERVER performs authentication on the SERVER.

SERVER_ENCRYPT authenticates on the server. Encrypt the password on the client before sending it to the server.

For CLIENT authentication on the CLIENT machine, refer to handling untrusted clients for exceptions ).

* KERBEROS authentication is performed by Kerberos security software.

* If KRB_SERVER_ENCRYPT is set to KERBEROS, authentication is performed by Kerberos security software. Otherwise, SERVER_ENCRYPT is used.

* These settings are only valid for Windows 2000 operating systems.

To view the authentication parameters in the configuration file:


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.