User's Reference > Administration > Administration from Reality > Command Reference > I > INHIBIT-LOGONS

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

INHIBIT-LOGONS command (m605006+inhibitlogons.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

INHIBIT-LOGONS

Prevents all users, except the database owner (depending on option) and, on a UNIX system, the super-user, from logging on to the database.

Syntax

INHIBIT-LOGONS {(option}

Options

A prevents all users, including the database owner, from logging on. The UNIX super-user can still log on.

Restriction

SYSMAN and SYSPROG accounts only.

Comments

The database owner is the system user-id under which the database was created.

Caution

If general users are allowed to logon under the database owner's system user-id, INHIBIT-LOGONS will not be effective, unless you use the A option.

If INHIBIT-LOGONS (A  is executed, the only way the inhibit condition can be reversed is either by the super-user logging on to the database and using ENABLE-LOGONS, or by the super-user using the unlockdbase command from UNIX.

In the UNIX environment, disabling of logon is achieved by maintaining a LOCK.FILE file in the top UNIX directory containing the database.  A user must have UNIX read permission on this file to be able to log in. INHIBIT-LOGONS sets the read permissions to owner only or, with the A option, to no access permissions.

The lockdbase command performs the same function from the host system environment.

RealityV15.1 (MoTW) Revision 7Comment on this topic