git: b4cfdbfed2c8 - main - manpages: Remove telnetd references

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Thu, 29 Sep 2022 16:56:53 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=b4cfdbfed2c847fc60b7df8e0159cf529ee16b03

commit b4cfdbfed2c847fc60b7df8e0159cf529ee16b03
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2022-09-29 16:55:17 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2022-09-29 16:56:41 +0000

    manpages: Remove telnetd references
    
    Mostly remove from the SEE ALSO section, adding a mention of the port
    where not removed. Elsewhere, remove as appropriate and change from .Xr
    to .Nm where a mention of telnetd continues to make sense (or removing
    it would require significant reworking of the surrounding text).
    
    Reviewed by:    imp, delphij, emaste
    Differential Revision:  https://reviews.freebsd.org/D36785
---
 contrib/telnet/telnet/telnet.1               |  4 ++--
 libexec/getty/gettytab.5                     |  5 ++---
 share/man/man5/src.conf.5                    |  5 ++---
 share/man/man7/security.7                    | 12 ++++++------
 tools/build/options/WITHOUT_KERBEROS_SUPPORT |  3 +--
 usr.bin/login/login.1                        |  4 ++--
 usr.sbin/dconschat/dconschat.8               |  4 ++--
 usr.sbin/inetd/inetd.8                       |  4 ++--
 8 files changed, 19 insertions(+), 22 deletions(-)

diff --git a/contrib/telnet/telnet/telnet.1 b/contrib/telnet/telnet/telnet.1
index 015401030f23..053fb1c863c0 100644
--- a/contrib/telnet/telnet/telnet.1
+++ b/contrib/telnet/telnet/telnet.1
@@ -28,7 +28,7 @@
 .\"	@(#)telnet.1	8.6 (Berkeley) 6/1/94
 .\" $FreeBSD$
 .\"
-.Dd June 21, 2021
+.Dd September 29, 2022
 .Dt TELNET 1
 .Os
 .Sh NAME
@@ -1465,7 +1465,7 @@ user customized telnet startup values
 .Xr rsh 1 ,
 .Xr hosts 5 ,
 .Xr nologin 5 ,
-.Xr telnetd 8
+.Xr telnetd 8 Pq Pa ports/net/freebsd-telnetd
 .Sh HISTORY
 The
 .Nm
diff --git a/libexec/getty/gettytab.5 b/libexec/getty/gettytab.5
index 9131dda3ed81..b71ea34da537 100644
--- a/libexec/getty/gettytab.5
+++ b/libexec/getty/gettytab.5
@@ -28,7 +28,7 @@
 .\"     from: @(#)gettytab.5	8.4 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\" "
-.Dd February 26, 2018
+.Dd September 29, 2022
 .Dt GETTYTAB 5
 .Os
 .Sh NAME
@@ -492,8 +492,7 @@ which all of the connection data has been sent by the modem.
 .Xr gethostname 3 ,
 .Xr uname 3 ,
 .Xr termcap 5 ,
-.Xr getty 8 ,
-.Xr telnetd 8
+.Xr getty 8
 .Sh HISTORY
 The
 .Nm
diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
index 557ee637af13..e8d6d71fec46 100644
--- a/share/man/man5/src.conf.5
+++ b/share/man/man5/src.conf.5
@@ -1,6 +1,6 @@
 .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
 .\" $FreeBSD$
-.Dd September 9, 2022
+.Dd September 29, 2022
 .Dt SRC.CONF 5
 .Os
 .Sh NAME
@@ -843,9 +843,8 @@ is set explicitly)
 Build some programs without Kerberos support, like
 .Xr ssh 1 ,
 .Xr telnet 1 ,
-.Xr sshd 8 ,
 and
-.Xr telnetd 8 .
+.Xr sshd 8 .
 .It Va WITH_KERNEL_RETPOLINE
 Enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
 build.
diff --git a/share/man/man7/security.7 b/share/man/man7/security.7
index 49701bbe80f1..f87833ece112 100644
--- a/share/man/man7/security.7
+++ b/share/man/man7/security.7
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 14, 2022
+.Dd September 29, 2022
 .Dt SECURITY 7
 .Os
 .Sh NAME
@@ -97,9 +97,9 @@ It may not be able to take your machine down, but it can fill up your Internet
 pipe.
 .Pp
 A user account compromise is even more common than a DoS attack.
-Many
-sysadmins still run standard
-.Xr telnetd 8
+Some
+sysadmins still run
+.Nm telnetd
 and
 .Xr ftpd 8
 servers on their machines.
@@ -338,8 +338,8 @@ virtually every server ever run as root, including basic system servers.
 If you are running a machine through which people only log in via
 .Xr sshd 8
 and never log in via
-.Xr telnetd 8
-then turn off those services!
+.Nm telnetd
+then turn off this service!
 .Pp
 .Fx
 now defaults to running
diff --git a/tools/build/options/WITHOUT_KERBEROS_SUPPORT b/tools/build/options/WITHOUT_KERBEROS_SUPPORT
index 1a50b28678bc..07516bb272e8 100644
--- a/tools/build/options/WITHOUT_KERBEROS_SUPPORT
+++ b/tools/build/options/WITHOUT_KERBEROS_SUPPORT
@@ -2,6 +2,5 @@
 Build some programs without Kerberos support, like
 .Xr ssh 1 ,
 .Xr telnet 1 ,
-.Xr sshd 8 ,
 and
-.Xr telnetd 8 .
+.Xr sshd 8 .
diff --git a/usr.bin/login/login.1 b/usr.bin/login/login.1
index bd92837b8b87..ddb3b30f1b58 100644
--- a/usr.bin/login/login.1
+++ b/usr.bin/login/login.1
@@ -28,7 +28,7 @@
 .\"	@(#)login.1	8.2 (Berkeley) 5/5/94
 .\" $FreeBSD$
 .\"
-.Dd July 20, 2019
+.Dd September 29, 2022
 .Dt LOGIN 1
 .Os
 .Sh NAME
@@ -63,7 +63,7 @@ logged in user is logging in as themselves.
 .It Fl h
 Specify the host from which the connection was received.
 It is used by various daemons such as
-.Xr telnetd 8 .
+.Nm telnetd .
 This option may only be used by the super-user.
 .It Fl p
 By default,
diff --git a/usr.sbin/dconschat/dconschat.8 b/usr.sbin/dconschat/dconschat.8
index 98e79752bf58..2455080c5e12 100644
--- a/usr.sbin/dconschat/dconschat.8
+++ b/usr.sbin/dconschat/dconschat.8
@@ -25,7 +25,7 @@
 .\" $FreeBSD$
 .\"
 .\"
-.Dd February 11, 2003
+.Dd September 29, 2022
 .Dt DCONSCHAT 8
 .Os
 .Sh NAME
@@ -104,7 +104,7 @@ device, the
 acts as a slave device and
 .Nm
 acts as a master device with
-.Xr telnetd 8 .
+.Nm telnetd .
 .Pp
 Typed characters are normally transmitted directly to
 .Xr dcons 4 .
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8
index 6e6af3ec68cb..19f6d0614619 100644
--- a/usr.sbin/inetd/inetd.8
+++ b/usr.sbin/inetd/inetd.8
@@ -28,7 +28,7 @@
 .\"     from: @(#)inetd.8	8.3 (Berkeley) 4/13/94
 .\" $FreeBSD$
 .\"
-.Dd December 6, 2021
+.Dd September 29, 2022
 .Dt INETD 8
 .Os
 .Sh NAME
@@ -964,7 +964,7 @@ database.
 .Xr prometheus_sysctl_exporter 8 ,
 .Xr smbd 8 Pq Pa ports/net/samba412 ,
 .Xr talkd 8 ,
-.Xr telnetd 8 ,
+.Xr telnetd 8 Pq Pa ports/net/freebsd-telnetd ,
 .Xr tftpd 8 ,
 .Xr uucpd 8 Pq Pa ports/net/freebsd-uucp
 .Rs