authentication
Enables database authentication. When
enabled and applied on the database host, this policy enforces authenticated access to the
database. This command also configures the username and password required to access the
database.
Supported in the
following platforms:
- Service Platforms —
NX9500, NX9600, VX9000
Syntax
authentication
authentication username <USER-NAME> password <PASSWORD>
Parameters
authentication
authentication |
Enables database authentication on this database-policy.
When executed without the associated keywords, the command enables authentication on
the database host using the policy. Execute the command along with the username and
password inputs to configure the user credentials required for access the
database. |
|
authentication username <USER-NAME> password <PASSWORD>
authentication username <USER-NAME> password
<PASSWORD> |
Configures the username and password required to access the
database. Note, username and password specified here should be
the same as those already created on the database host. For more
information, see service (common commands).
- username
<USER-NAME> – Configures the database username
- password <PASSWORD> – Configures the password for
the username specified above
Users using these credentials are allowed database
access. In case of a split NSight/EGuest deployment, ensure
that the database-client-policy running on the NSight/EGuest
server has the same user details configured.
For
information on creating database-client-policy, see database-client-policy global-config.
For more information on enabling
database authentication, see Example: Enabling Database Authentication.
|
|
Examples
nx9500-6C874D(config-database-policy-test)#authentication
nx9500-6C874D(config-database-policy-test)#no shutdown
nx9500-6C874D(config-database-policy-test)#authentication username user1 password uesr@123
nx9500-6C874D(config-database-policy-test)#show context
database-policy test
authentication
authentication username user1 password 2 f20/dTjYiMnR/tqbGFaO5gAAAAjL/xo8clisk1TZjimo128t
nx9500-6C874D(config-database-policy-test)#
Related Commands
no |
Disables database authentication, and removes the
username and password configuration. |
|