DISABLE LOGONS - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-15
dita:mapPath
boh1556732696163.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantageā„¢

Purpose

The DISABLE LOGONS command prevents users from logging on to the Teradata 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 Database 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 Teradata Database, type:

disa logo