1 # See "man 8 inetd" for more information.
3 # If you make changes to this file, either reboot your machine or send the
5 # Do a "ps x" as root and look up the pid of inetd. Then do a
6 # "kill -HUP <pid of inetd>".
7 # The inetd will re-read this file whenever it gets that signal.
9 # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
11 # The first 4 services are really only used for debugging purposes, so
12 # we comment them out since they can otherwise be used for some nasty
13 # denial-of-service attacks. If you need them, uncomment them.
14 # echo stream tcp nowait root internal
15 # echo dgram udp wait root internal
16 # discard stream tcp nowait root internal
17 # discard dgram udp wait root internal
18 # daytime stream tcp nowait root internal
19 # daytime dgram udp wait root internal
20 # chargen stream tcp nowait root internal
21 # chargen dgram udp wait root internal
22 time stream tcp nowait root internal
23 time dgram udp wait root internal
25 # These are standard services:
27 # Very Secure File Transfer Protocol (FTP) server.
28 #ftp stream tcp nowait root /usr/sbin/tcpd vsftpd
30 # Professional File Transfer Protocol (FTP) server.
31 #ftp stream tcp nowait root /usr/sbin/tcpd proftpd
34 #telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
36 # The comsat daemon notifies the user of new mail when biff is set to y:
37 comsat dgram udp wait root /usr/sbin/tcpd in.comsat
39 # Shell, login, exec and talk are BSD protocols
41 #shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
42 #login stream tcp nowait root /usr/sbin/tcpd in.rlogind
43 # exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
44 # talk dgram udp wait root /usr/sbin/tcpd in.talkd
45 #ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
47 # To use the talk daemons from KDE, comment the talk and ntalk lines above
48 # and uncomment the ones below:
49 # talk dgram udp wait root /usr/sbin/tcpd /usr/bin/kotalkd
50 # ntalk dgram udp wait root /usr/sbin/tcpd /usr/bin/ktalkd
52 # Kerberos authenticated services
54 # klogin stream tcp nowait root /usr/sbin/tcpd rlogind -k
55 # eklogin stream tcp nowait root /usr/sbin/tcpd rlogind -k -x
56 # kshell stream tcp nowait root /usr/sbin/tcpd rshd -k
58 # Services run ONLY on the Kerberos server
60 # krbupdate stream tcp nowait root /usr/sbin/tcpd registerd
61 # kpasswd stream tcp nowait root /usr/sbin/tcpd kpasswdd
63 # POP and IMAP mail servers
65 # Post Office Protocol version 3 (POP3) server:
66 #pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popa3d
67 # Internet Message Access Protocol (IMAP) server:
68 #imap2 stream tcp nowait root /usr/sbin/tcpd imapd
70 # The Internet Unix to Unix copy (UUCP) service:
71 # uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
73 # Tftp service is provided primarily for booting. Most sites
74 # run this only on machines acting as "boot servers."
75 tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftp -r blksize
77 # Internet Bootstrap Protocol (BOOTP) server:
78 # bootps dgram udp wait root /usr/sbin/bootpd bootpd
80 # Finger, systat and netstat give out user information which may be
81 # valuable to potential "system crackers." Many sites choose to disable
82 # some or all of these services to improve security.
83 # Try "telnet localhost systat" and "telnet localhost netstat" to see that
84 # information yourself!
85 #finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -u
86 # systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx
87 # netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a
89 # Ident service is used for net authentication
90 auth stream tcp wait root /usr/sbin/in.identd in.identd
92 # These are to start Samba, an smb server that can export filesystems to
93 # Pathworks, Lanmanager for DOS, Windows for Workgroups, Windows95, Lanmanager
94 # for Windows, Lanmanager for OS/2, Windows NT, etc.
95 # If you're running smbd and nmbd as daemons in /etc/rc.d/rc.samba, then you
96 # shouldn't uncomment these lines.
97 #netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
98 #netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd
100 #Samba Web Administration Tool:
101 #swat stream tcp nowait.400 root /usr/sbin/swat swat
103 # Sun-RPC based services.
104 # <service name/version><sock_type><rpc/prot><flags><user><server><args>
105 # rstatd/1-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rstatd
106 # rusersd/2-3 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rusersd
107 # walld/1 dgram rpc/udp wait root /usr/sbin/tcpd rpc.rwalld