ttylock(ADM)
ttylock, ttyunlock --
lock or unlock a tty
Syntax
/etc/ttylock tty
/etc/ttyunlock tty
Description
ttylock applies an administrative lock to a terminal
device, preventing users from logging in on that tty. Attempts
to log in fail with the message:
Terminal is disabled -- see Account Administrator
ttyunlock unlocks a tty.
The tty argument should omit the /dev path
(for example tty01, not /dev/tty01).
Exit values
Upon completion,
these utilities exit with one of the following values:
0-
The action was successful.
>0-
An error occurred.
Files
/etc/auth/system/ttys-
Terminal Control database
See also
ttyupd(ADM),
ttys(F)
``Administering user accounts'' in the System Administration Guide
Standards conformance
ttylock is not part of any currently supported standard;
it is an extension of AT&T System V provided by The Santa
Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003