Advertisement
mutant

Slackware - /etc/inetd.conf

May 28th, 2012
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. # See "man 8 inetd" for more information.
  2. #
  3. # If you make changes to this file, either reboot your machine or send the
  4. # inetd a HUP signal:
  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.
  8. #
  9. # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
  10. #
  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
  24. #
  25. # These are standard services:
  26. #
  27. # Very Secure File Transfer Protocol (FTP) server.
  28. ftp stream tcp nowait root /usr/sbin/tcpd vsftpd
  29. #
  30. # Professional File Transfer Protocol (FTP) server.
  31. #ftp stream tcp nowait root /usr/sbin/tcpd proftpd
  32. #
  33. # Telnet server:
  34. #telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
  35. #
  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
  38. #
  39. # Shell, login, exec and talk are BSD protocols
  40. #
  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
  46. #
  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
  51. #
  52. # Kerberos authenticated services
  53. #
  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
  57. #
  58. # Services run ONLY on the Kerberos server
  59. #
  60. # krbupdate stream tcp nowait root /usr/sbin/tcpd registerd
  61. # kpasswd stream tcp nowait root /usr/sbin/tcpd kpasswdd
  62. #
  63. # POP and IMAP mail servers
  64. #
  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
  69. #
  70. # The Internet Unix to Unix copy (UUCP) service:
  71. # uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
  72. #
  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 /tftpboot -r blksize
  76. #
  77. # Internet Bootstrap Protocol (BOOTP) server:
  78. # bootps dgram udp wait root /usr/sbin/bootpd bootpd
  79. #
  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
  88. #
  89. # Ident service is used for net authentication
  90. auth stream tcp wait root /usr/sbin/in.identd in.identd
  91. #
  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
  99. #
  100. #Samba Web Administration Tool:
  101. #swat stream tcp nowait.400 root /usr/sbin/swat swat
  102. #
  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
  108. #
  109. # End of inetd.conf.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement