5 kx # See "man 8 inetd" for more information.
5 kx #
5 kx # If you make changes to this file, either reboot your machine or send the
5 kx # inetd a HUP signal:
5 kx # Do a "ps x" as root and look up the pid of inetd. Then do a
5 kx # "kill -HUP <pid of inetd>".
5 kx # The inetd will re-read this file whenever it gets that signal.
5 kx #
5 kx # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
5 kx #
5 kx # The first 4 services are really only used for debugging purposes, so
5 kx # we comment them out since they can otherwise be used for some nasty
5 kx # denial-of-service attacks. If you need them, uncomment them.
5 kx # echo stream tcp nowait root internal
5 kx # echo dgram udp wait root internal
5 kx # discard stream tcp nowait root internal
5 kx # discard dgram udp wait root internal
5 kx # daytime stream tcp nowait root internal
5 kx # daytime dgram udp wait root internal
5 kx # chargen stream tcp nowait root internal
5 kx # chargen dgram udp wait root internal
5 kx # time stream tcp nowait root internal
5 kx # time dgram udp wait root internal
5 kx #
5 kx # These are standard services:
5 kx #
5 kx # Very Secure File Transfer Protocol (FTP) server.
5 kx # ftp stream tcp nowait root /usr/sbin/tcpd vsftpd
5 kx #
5 kx # Professional File Transfer Protocol (FTP) server.
5 kx # ftp stream tcp nowait root /usr/sbin/tcpd proftpd
5 kx #
5 kx # Telnet server:
5 kx # telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
5 kx #
5 kx # The comsat daemon notifies the user of new mail when biff is set to y:
5 kx # comsat dgram udp wait root /usr/sbin/tcpd in.comsat
5 kx #
5 kx # Shell, login, exec and talk are BSD protocols
5 kx #
5 kx # shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
5 kx # login stream tcp nowait root /usr/sbin/tcpd in.rlogind
5 kx # exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
5 kx # talk dgram udp wait root /usr/sbin/tcpd in.talkd
5 kx # ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
5 kx #
5 kx # To use the talk daemons from KDE, comment the talk and ntalk lines above
5 kx # and uncomment the ones below:
5 kx # talk dgram udp wait root /usr/sbin/tcpd /usr/bin/kotalkd
5 kx # ntalk dgram udp wait root /usr/sbin/tcpd /usr/bin/ktalkd
5 kx #
5 kx # Kerberos authenticated services
5 kx #
5 kx # klogin stream tcp nowait root /usr/sbin/tcpd rlogind -k
5 kx # eklogin stream tcp nowait root /usr/sbin/tcpd rlogind -k -x
5 kx # kshell stream tcp nowait root /usr/sbin/tcpd rshd -k
5 kx #
5 kx # Services run ONLY on the Kerberos server
5 kx #
5 kx # krbupdate stream tcp nowait root /usr/sbin/tcpd registerd
5 kx # kpasswd stream tcp nowait root /usr/sbin/tcpd kpasswdd
5 kx #
5 kx # POP and IMAP mail servers
5 kx #
5 kx # Post Office Protocol version 3 (POP3) server:
5 kx # pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popa3d
5 kx # Internet Message Access Protocol (IMAP) server:
5 kx # imap2 stream tcp nowait root /usr/sbin/tcpd imapd
5 kx #
5 kx # The Internet Unix to Unix copy (UUCP) service:
5 kx # uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
5 kx #
5 kx # Tftp service is provided primarily for booting. Most sites
5 kx # run this only on machines acting as "boot servers."
5 kx # tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize
5 kx #
5 kx # Internet Bootstrap Protocol (BOOTP) server:
5 kx # bootps dgram udp wait root /usr/sbin/bootpd bootpd
5 kx #
5 kx # Finger, systat and netstat give out user information which may be
5 kx # valuable to potential "system crackers." Many sites choose to disable
5 kx # some or all of these services to improve security.
5 kx # Try "telnet localhost systat" and "telnet localhost netstat" to see that
5 kx # information yourself!
5 kx # finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -u
5 kx # systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx
5 kx # netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a
5 kx #
5 kx # Ident service is used for net authentication
5 kx # auth stream tcp wait root /usr/sbin/in.identd in.identd
5 kx #
5 kx # These are to start Samba, an smb server that can export filesystems to
5 kx # Pathworks, Lanmanager for DOS, Windows for Workgroups, Windows95, Lanmanager
5 kx # for Windows, Lanmanager for OS/2, Windows NT, etc.
5 kx # If you're running smbd and nmbd as daemons in /etc/rc.d/rc.samba, then you
5 kx # shouldn't uncomment these lines.
5 kx # netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
5 kx # netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd
5 kx #
5 kx # Sun-RPC based services.
5 kx # <service name/version><sock_type><rpc/prot><flags><user><server><args>
5 kx # rstatd/1-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rstatd
5 kx # rusersd/2-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rusersd
5 kx # walld/1 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rwalld
5 kx #
5 kx # End of inetd.conf.