diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2001-12-13 20:16:49 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2001-12-13 20:16:49 +0000 |
commit | a37e294bfb52a06afd6eb6645870cf1c540b877e (patch) | |
tree | 36ba9d9b5ffc6d45680f435ed5a7932be0645989 /sbin/init/init.8 | |
parent | 341511d89cf2709a82733b614acd805624150322 (diff) |
o) start new sentence on a new line;
o) wrap long lines;
o) fix bogus .Xr usage;
o) we don't like blank lines;
o) always close .Bl tags;
o) OpenBSD -> .Ox;
o) don't like .Pp before .Ss;
millert@ ok;
Diffstat (limited to 'sbin/init/init.8')
-rw-r--r-- | sbin/init/init.8 | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/sbin/init/init.8 b/sbin/init/init.8 index a0dd333a96f..4de70749109 100644 --- a/sbin/init/init.8 +++ b/sbin/init/init.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: init.8,v 1.29 2001/04/05 18:54:03 deraadt Exp $ +.\" $OpenBSD: init.8,v 1.30 2001/12/13 20:16:48 mpech Exp $ .\" $NetBSD: init.8,v 1.6 1995/03/18 14:56:31 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -116,14 +116,14 @@ processes for the terminal ports found in the file reads this file, and executes the command found in the second field. This command is usually .Xr getty 8 ; -.Xr getty +.Em getty opens and initializes the tty line and executes the -.Xr login +.Em login program. The -.Xr login +.Em login program, when a valid user logs in, executes a shell for that user. When this shell dies, either because the user logged out @@ -134,18 +134,18 @@ program wakes up, deletes the user from the .Xr utmp 5 file of current users and records the logout in the -.Xr wtmp +.Em wtmp file. The cycle is then restarted by .Nm executing a new -.Xr getty +.Em getty for the line. .Pp Line status (on, off, secure, getty, or window information) may be changed in the -.Xr ttys +.Em ttys file without a reboot by sending the signal .Dv SIGHUP to @@ -155,21 +155,21 @@ with the command On receipt of this signal, .Nm re-reads the -.Xr ttys +.Em ttys file. When a line is turned off in -.Xr ttys , +.Em ttys , .Nm will send a .Dv SIGHUP signal to the controlling process for the session associated with the line. For any lines that were previously turned off in the -.Xr ttys +.Em ttys file and are now on, .Nm executes a new -.Xr getty +.Em getty to enable a new login. If the getty or window field for a line is changed, the change takes effect at the end of the current @@ -177,14 +177,14 @@ login session (e.g., the next time .Nm starts a process on the line). If a line is commented out or deleted from -.Xr ttys , +.Em ttys , .Nm will not do anything at all to that line. However, it will complain that the relationship between lines in the -.Xr ttys +.Em ttys file and records in the -.Xr utmp +.Em utmp file is out of sync, so this practice is not recommended. .Pp @@ -241,11 +241,13 @@ When starting the .Xr rc 8 files, the login class .Dq daemon -is used. When starting a window system or +is used. +When starting a window system or .Xr getty 8 , the login class .Dq default -is used. No resource changes are made when entering single user mode. +is used. +No resource changes are made when entering single user mode. .Sh DIAGNOSTICS .Bl -diag .It "getty repeating too quickly on port %s, sleeping" @@ -268,7 +270,7 @@ a persistent device error condition. system console device .It Pa /dev/tty* terminal ports found in -.Xr ttys +.Em ttys .It Pa /var/run/utmp record of users currently logged in .It Pa /var/log/wtmp |