From eb27dda81d5dbc119a72eecf0928b4349b16d49a Mon Sep 17 00:00:00 2001 From: yar Date: Fri, 6 Jun 2003 08:54:29 +0000 Subject: 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 MFC after: 1 week --- etc/inetd.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc/inetd.conf') 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 -- cgit v1.1