17.10 - DISABLE LOGONS - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Configuration
Publication ID
B035-1102-171K
Language
English (United States)

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