diff options
author | steve <steve@FreeBSD.org> | 1998-05-04 02:37:29 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-05-04 02:37:29 +0000 |
commit | 869ef5d1be6f873153140a04951a273e92256975 (patch) | |
tree | 54df459ac9e628e41bdb3ef4de199367e69d30fd | |
parent | 69ae143f4709178fbde9ba3d4d6072bb47de09fd (diff) | |
download | FreeBSD-src-869ef5d1be6f873153140a04951a273e92256975.zip FreeBSD-src-869ef5d1be6f873153140a04951a273e92256975.tar.gz |
Clarify use of 'if' capability.
PR: 6499
Submitted by: Doug Barton <Studded@san.rr.com>
-rw-r--r-- | libexec/getty/gettytab.5 | 11 | ||||
-rw-r--r-- | libexec/telnetd/telnetd.8 | 27 |
2 files changed, 32 insertions, 6 deletions
diff --git a/libexec/getty/gettytab.5 b/libexec/getty/gettytab.5 index 4971ec7..f0ea26b 100644 --- a/libexec/getty/gettytab.5 +++ b/libexec/getty/gettytab.5 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)gettytab.5 8.4 (Berkeley) 4/19/94 -.\" $Id: gettytab.5,v 1.15 1997/08/23 16:22:30 steve Exp $ +.\" $Id: gettytab.5,v 1.16 1997/11/21 07:43:44 charnier Exp $ .\" " .Dd April 19, 1994 .Dt GETTYTAB 5 @@ -126,7 +126,7 @@ hangup line on last close .It "i1 num unused tty input flags to read login name" .It "i2 num unused tty input flags to leave terminal as" .It "ic str unused expect-send chat script for modem initialization" -.It "if str unused display named file before prompt" +.It "if str unused display named file before prompt, like /etc/issue" .It "ig bool false ignore garbage characters in login name" .It "im str" Ta Dv NULL Ta .No "initial (banner) message" @@ -270,10 +270,11 @@ of milliseconds of delay required (a la termcap). This delay is simulated by repeated use of the pad character .Em \&pc . .Pp -The initial message, and login message, -.Em \&im -and +The initial message, login message, and initial file; +.Em \&im , .Em \&lm +and +.Em \&if may include any of the following character sequences, which expand to information about the environment in which .Xr getty 8 diff --git a/libexec/telnetd/telnetd.8 b/libexec/telnetd/telnetd.8 index 9595151..c54056c 100644 --- a/libexec/telnetd/telnetd.8 +++ b/libexec/telnetd/telnetd.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)telnetd.8 8.3 (Berkeley) 3/1/94 -.\" $Id: telnetd.8,v 1.10 1997/12/03 07:16:04 charnier Exp $ +.\" $Id: telnetd.8,v 1.11 1998/01/07 07:56:15 charnier Exp $ .\" .Dd March 1, 1994 .Dt TELNETD 8 @@ -524,10 +524,34 @@ Only sent if is compiled with support for data encryption, and indicates a willingness to decrypt the data stream. +.Sh NOTES +By default +.Nm +will read the +.Em \&he , +.Em \&hn , +and +.Em \&im +capabilities from +.Pa /etc/gettytab +and use that information (if present) to determine +what to display before the login: prompt. You can +also use a System V style +.Pa /etc/issue +file by using the +.Em \&if +capability, which will override +.Em \&im . +The information specified in either +.Em \&im +or +.Em \&if +will be displayed to both console and remote logins. .Sh ENVIRONMENT .Sh FILES .Bl -tag -width /usr/ucb/bftp -compact .It Pa /etc/services +.It Pa /etc/gettytab .It Pa /etc/inittab (UNICOS systems only) .It Pa /etc/iptos @@ -537,6 +561,7 @@ the data stream. .El .Sh "SEE ALSO" .Xr bftp 1 , +.Xr gettytab 5 , .Xr login 1 , .Xr telnet 1 (if supported) |