#DEL_# See "man 8 inetd" for more information. #DEL_# #DEL_# If you make changes to this file, either reboot your machine or send the #DEL_# inetd a HUP signal: #DEL_# Do a "ps x" as root and look up the pid of inetd. Then do a #DEL_# "kill -HUP ". #DEL_# The inetd will re-read this file whenever it gets that signal. #DEL_# #DEL_# #DEL_# #DEL_# The first 4 services are really only used for debugging purposes, so #DEL_# we comment them out since they can otherwise be used for some nasty #DEL_# denial-of-service attacks. If you need them, uncomment them. #DEL_# echo stream tcp nowait root internal #DEL_# echo dgram udp wait root internal #DEL_# discard stream tcp nowait root internal #DEL_# discard dgram udp wait root internal #DEL_# daytime stream tcp nowait root internal #DEL_# daytime dgram udp wait root internal #DEL_# chargen stream tcp nowait root internal #DEL_# chargen dgram udp wait root internal #DEL_time stream tcp nowait root internal #DEL_time dgram udp wait root internal #DEL_# #DEL_# These are standard services. #DEL_# ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -l -i -a telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd #DEL_# #DEL_# Use this one instead if you want to snoop on telnet users (try to use this #DEL_# for ethical purposes, ok folks?), and see 'man ttysnoop' and /etc/snooptab #DEL_# for further instructions: #DEL_# telnet stream tcp nowait root /usr/sbin/tcpd in.telnetsnoopd #DEL_# #DEL_# This is for BSD sendmail. NOTE: It's not a good idea to uncomment this #DEL_# one, since sendmail is already set up to run as a daemon in /etc/rc.d/rc.M. #DEL_# But, if you really want to run sendmail this way for some reason, you'll #DEL_# need to uncomment the smtp line below AND change the line in /etc/rc.d/rc.M #DEL_# to run sendmail like this: /usr/sbin/sendmail -q30m #DEL_# ...otherwise the queue will not be processed. #DEL_# smtp stream tcp nowait root /usr/sbin/tcpd sendmail -bs #DEL_# #DEL_# The comsat daemon notifies the user of new mail when biff is set to y: #DEL_comsat dgram udp wait root /usr/sbin/tcpd in.comsat #DEL_# #DEL_# Shell, login, exec and talk are BSD protocols. #DEL_# #DEL_shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L #DEL_login stream tcp nowait root /usr/sbin/tcpd in.rlogind #DEL_# exec stream tcp nowait root /usr/sbin/tcpd in.rexecd #DEL_# talk dgram udp wait root /usr/sbin/tcpd in.talkd #DEL_ntalk dgram udp wait root /usr/sbin/tcpd in.talkd #DEL_# #DEL_# Kerberos authenticated services #DEL_# #DEL_# klogin stream tcp nowait root /usr/sbin/tcpd rlogind -k #DEL_# eklogin stream tcp nowait root /usr/sbin/tcpd rlogind -k -x #DEL_# kshell stream tcp nowait root /usr/sbin/tcpd rshd -k #DEL_# #DEL_# Services run ONLY on the Kerberos server #DEL_# #DEL_# krbupdate stream tcp nowait root /usr/sbin/tcpd registerd #DEL_# kpasswd stream tcp nowait root /usr/sbin/tcpd kpasswdd #DEL_# #DEL_# Pop et al #DEL_# #DEL_# pop2 stream tcp nowait root /usr/sbin/tcpd in.pop2d pop3 stream tcp nowait root /usr/sbin/tcpd in.pop3d #DEL_# The ipop3d POP3 server is part of the Pine distribution. If you've #DEL_# installed the Pine package, you may wish to switch to ipop3d by #DEL_# commenting out the pop3 line above, and uncommenting the pop3 line below. #DEL_# pop3 stream tcp nowait root /usr/sbin/tcpd ipop3d #DEL_imap2 stream tcp nowait root /usr/sbin/tcpd imapd #DEL_# #DEL_# The Internet UUCP service. #DEL_# #DEL_# uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l #DEL_# #DEL_# Tftp service is provided primarily for booting. Most sites #DEL_# run this only on machines acting as "boot servers." #DEL_# #DEL_# tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd #DEL_# bootps dgram udp wait root /usr/sbin/in.bootpd in.bootpd #DEL_# #DEL_# Finger, systat and netstat give out user information which may be #DEL_# valuable to potential "system crackers." Many sites choose to disable #DEL_# some or all of these services to improve security. #DEL_# Try "telnet localhost systat" and "telnet localhost netstat" to see that #DEL_# information yourself! #DEL_# #DEL_finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -u #DEL_# systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx #DEL_# netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a #DEL_# #DEL_# Ident service is used for net authentication #DEL_auth stream tcp wait nobody /usr/sbin/in.identd in.identd -w -t120 -l #DEL_# #DEL_# These are to start Samba, an smb server that can export filesystems to #DEL_# Pathworks, Lanmanager for DOS, Windows for Workgroups, Windows95, Lanmanager #DEL_# for Windows, Lanmanager for OS/2, Windows NT, etc. #DEL_# If you're running smbd and nmbd from daemons in /etc/rc.d/rc.samba, then you #DEL_# shouldn't uncomment these lines. #DEL_# netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd #DEL_# netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd #DEL_# #DEL_# Sun-RPC based services. #DEL_# #DEL_# #DEL_# rstatd/1-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rstatd #DEL_# rusersd/2-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rusersd #DEL_# walld/1 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rwalld #DEL_# #DEL_# End of inetd.conf.