turn off terminals and printers
disable tty ...
disable [ -c | -W ] [ -r
[ reason ] ] printers
For terminals, this program manipulates the
file and signals init
to disallow logins on a particular terminal.
Do not use this command to disable /dev/console, as this
may corrupt the /etc/inittab file.
For printers, disable stops print requests from being sent
to the named printer. The following options can be used:
Cancels any requests that are currently printing.
This option cannot be used with the -W option.
Disables the specified printers when the print requests currently
printing have finished. This option cannot be used with the
-r [ reason ]
Associates a reason with disabling the printer. The
reason applies to all printers listed up to the next
-r option. If the -r option is not present or
the -r option is given without a reason, then a
default reason is used. reason is reported by
In this example, a printer named linepr is disabled
because of a paper jam:
disable -r"paper jam" linepr
The behavior of this utility is affected by assignment of the
printerstat authorization, which is usually reserved for
system administrators. See
``Using a secure system''
in the DocView Security topic
for more details.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005