DISABLE LOGONS - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
xha1591998860283.ditamap
dita:ditavalPath
xha1591998860283.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantageā„¢

The DISABLE LOGONS command prevents users from logging on to the database on the network using the gateway for the selected host group.

Syntax

{ DISABLE | DISA } { LOGONS | LOGO }

Usage Notes

The default setting of the logon flag is enabled. However, after a Teradata system restart, all host groups that were disabled remain disabled.

Any application that attempts to log on after DISABLE LOGONS results in the following error message:

8033: Logon is disabled.

Sessions already logged on are not affected by the DISABLE LOGONS command.

Before using the DISABLE LOGONS command, you must select the host group from which the session is running using the SELECT HOST command. For information, see SELECT HOST.

For additional information, see ENABLE LOGONS.

Example: Disabling logons

To prevent network users from logging on through the gateway to the database, type:

disa logo