TELINIT(C) XENIX System V TELINIT(C)
Name
telinit, mkinittab - Alternative method of turning terminals
on and off.
Syntax
telinit state
mkinittab [ttysfile]...
Description
telinit directs the actions of init(M). It is an
alternative to using enable(C) and disable(C) to allow and
disallow logins on terminals.
telinit generates a new /etc/ttys file from the /etc/inittab
file. Only those lines from inittab(F) which apply in state
are converted to their ttys(M) equivalent. init is then
signaled to allow or disallow logins on terminals according
to /etc/ttys.
The recognized state arguments are:
0-6 Generate /etc/ttys using the lines in /etc/inittab
which apply to the specified state.
q, Q Do not generate a new /etc/ttys file, but signal init
to examine the existing /etc/ttys file.
s, S Signal init to enter System Maintenance (single-user)
mode.
Only the superuser can run telinit. Users currently logged
onto terminals that are disabled are abruptly killed.
Logins are not allowed on terminals not listed in /etc/ttys.
mkinittab writes on the standard output an inittab-format
file generated from the specified ttysfiles. Each ttysfile
must be in ttys format. If no ttysfile is specified, the
standard input is read.
Files
/etc/ttys
/etc/inittab
See Also
disable(C), enable(C), getty(M), init(M), inittab(F),
login(M), ttys(M)
Notes
inittab is provided for users more familiar with the telinit
approach to terminal administration, as opposed to the
standard XENIX enable and disable approach. It is intended
Page 1 (printed 8/7/87)
TELINIT(C) XENIX System V TELINIT(C)
that a full integration of these two approaches will be
provided in a future version of XENIX.
Page 2 (printed 8/7/87)