summaryrefslogtreecommitdiffstats
path: root/etc/inetd.conf
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2003-06-06 08:54:29 +0000
committeryar <yar@FreeBSD.org>2003-06-06 08:54:29 +0000
commiteb27dda81d5dbc119a72eecf0928b4349b16d49a (patch)
tree2002ce58dbb1870996065e7907eb4c9befab3cc1 /etc/inetd.conf
parent81c0c117b3d75a99ffc1a063a1664381b977504e (diff)
downloadFreeBSD-src-eb27dda81d5dbc119a72eecf0928b4349b16d49a.zip
FreeBSD-src-eb27dda81d5dbc119a72eecf0928b4349b16d49a.tar.gz
Since FreeBSD has never had a stock NNTP server, move the nntp line
down to the section of optional mail/news services. Change the nntpd location to /usr/local/libexec since it's an optional software. Henceforth, nntpd will be advised to run as "news", which is a standard user in the system, instead of "usenet", which has never existed in the default master.passwd(5). Note: It's not "news:news" since inetd(8) runs a service at the specified user's login group by default. Add a blank comment line above the uucpd line so the section looks uniform. Partly pointed out by: Alexey Neyman <alex.neyman at auriga.ru> MFC after: 1 week
Diffstat (limited to 'etc/inetd.conf')
-rw-r--r--etc/inetd.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inetd.conf b/etc/inetd.conf
index f39322c..d3d53c1 100644
--- a/etc/inetd.conf
+++ b/etc/inetd.conf
@@ -17,7 +17,6 @@
#finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s
#finger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -s
#exec stream tcp nowait root /usr/libexec/rexecd rexecd
-#nntp stream tcp nowait usenet /usr/libexec/nntpd nntpd
#
# run comsat as root to be able to print partial mailbox contents w/ biff,
# or use the safer tty:tty to just print that new mail has been received.
@@ -85,7 +84,12 @@
#
#imap4 stream tcp nowait root /usr/local/libexec/imapd imapd
#
+# example entry for the optional nntp server
+#
+#nntp stream tcp nowait news /usr/local/libexec/nntpd nntpd
+#
# example entry for the optional uucpd server
+#
#uucpd stream tcp nowait root /usr/local/libexec/uucpd uucpd
#
# Return error for all "ident" requests
OpenPOWER on IntegriCloud