diff --git a/etc/inetd.conf b/etc/inetd.conf index a4d3953d7276..2a06f4d55217 100644 --- a/etc/inetd.conf +++ b/etc/inetd.conf @@ -2,12 +2,14 @@ # # Internet server configuration database # -# define *both* IPv4 and IPv6 entries for dual-stack support. +# Define *both* IPv4 and IPv6 entries for dual-stack support. +# To disable a service, comment it out by prefixing the line with '#'. +# To enable a service, remove the '#' at the beginning of the line. # -ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l -ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l -telnet stream tcp nowait root /usr/libexec/telnetd telnetd -telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd +#ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l +#ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l +#telnet stream tcp nowait root /usr/libexec/telnetd telnetd +#telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd #shell stream tcp nowait root /usr/libexec/rshd rshd #shell stream tcp6 nowait root /usr/libexec/rshd rshd #login stream tcp nowait root /usr/libexec/rlogind rlogind @@ -17,10 +19,13 @@ telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd #exec stream tcp nowait root /usr/libexec/rexecd rexecd #uucpd stream tcp nowait root /usr/libexec/uucpd uucpd #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. -comsat dgram udp wait tty:tty /usr/libexec/comsat comsat -ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd +#comsat dgram udp wait tty:tty /usr/libexec/comsat comsat +# +# ntalk is required for the 'talk' utility to work correctly +#ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd #tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot #bootps dgram udp wait root /usr/libexec/bootpd bootpd #