home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23522 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  3.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!gdt!uwe-bristol!slave.uwe.ac.uk!root
  2. From: root@slave.uwe.ac.uk (Operator (Phil/Dylan))
  3. Newsgroups: comp.os.linux
  4. Subject: Re: inetd
  5. Message-ID: <1993Jan11.024035.11267@csd.uwe.ac.uk>
  6. Date: 11 Jan 93 02:40:35 GMT
  7. References: <1993Jan7.131425.8556@sfu.ca>
  8. Sender: usenet@csd.uwe.ac.uk (uwe nntp usenet poster)
  9. Reply-To: p_copela@csd.uwe.ac.uk
  10. Organization: The New University in the West of England, Bristol (WEB)
  11. Lines: 86
  12. Nntp-Posting-Host: usenet@csd.uwe.ac.uk (uwe nntp usenet poster)
  13.  
  14. In article <1993Jan7.131425.8556@sfu.ca>, wonge@fraser.sfu.ca (Edmund Wong)
  15. writes:
  16. |>    Hi, I was wondering if someone could help me here. 
  17.  
  18. yes I can
  19.  
  20. |>    I was trying to figure out the TCP/IP stuff right, and was reading
  21. |> the FAQ<which, the last time, I didn't follow too closely..:(>, and
  22. |> realized one minor problem.
  23.  
  24. what? that the faq is mind boggingly huge?
  25.  
  26. |>  I checked the directory listing for
  27. |> /etc/inet, and 'lo and behold, I DON'T have an inetd.conf file!
  28.  
  29. could be a shrewd move to get it 8-) there used to be one included
  30. in tcpip-0.8.1
  31.  
  32. |>    The FAQ doesn't say what the inetd.conf file CONTAINS,
  33.  
  34. Try line 554 onwards of the New faq I had jem put up on
  35. sunsite.unc.edu:/pub/Linux/system/Network
  36.  
  37. |> so can someone
  38. |> email me WHAT the inetd.conf file contains
  39.  
  40. heres mine (don't worry if something you don't have is referenced)
  41.  
  42. telnet  stream  tcp     nowait  root    /usr/etc/inet/telnetd   telnetd
  43. ntalk   dgram   udp     wait    root    /usr/etc/inet/ntalkd    ntalkd
  44. ftp     stream  tcp     nowait  root    /usr/etc/inet/ftpd      ftpd -l
  45. finger  stream  tcp     nowait  root    /usr/etc/inet/fingerd   finger
  46. shell   stream  tcp     nowait  root    /usr/etc/inet/rshd      rshd
  47. login   stream  tcp     nowait  root    /usr/etc/inet/rlogind   rlogind
  48. tftp    dgram   udp     wait    root    /usr/etc/inet/tftpd     tftpd
  49. smtp    stream  tcp     nowait  root    /usr/lib/mail/smtpd     smtpd
  50. # rstatd/2-4    dgram   rpc/udp wait root /usr/bin/uptime       uptime
  51. # Internal to inetd
  52. echo    stream  tcp     nowait  root    internal
  53. echo    dgram   udp     wait    root    internal
  54. discard stream  tcp     nowait  root    internal
  55. discard dgram   udp     wait    root    internal
  56. daytime stream  tcp     nowait  root    internal
  57. daytime dgram   udp     wait    root    internal
  58. chargen stream  tcp     nowait  root    internal
  59. chargen dgram   udp     wait    root    internal
  60. name    dgram   udp     wait    root    /etc/in.tnamed  tnamed
  61. exec    stream  tcp     nowait  root    /etc/rexecd     rexecd
  62.  
  63. the description of inetd.conf has been in the faq from day one
  64.  
  65. |> and as well as where I can
  66. |> get named.reload and named.restart?  I ftp'd named.tar.Z from 
  67. |> tsx-11.mit.edu, but that tar file lacks 'named.restart' and 
  68. |> 'named.reload'!  
  69.  
  70. these are shell scripts
  71.  
  72. you'll have to edit the paths in the scripts but otherwise
  73. they are trivial
  74.  
  75.     #!/bin/sh -
  76.     #
  77.     #       @(#)named.restart       5.2 (Berkeley) 2/5/89
  78.     #
  79.     kill -9 `cat /usr/etc/inet/named.pid`
  80.     /usr/etc/inet/named 
  81.  
  82.  
  83.  
  84.     #!/bin/sh -
  85.     #
  86.     #       @(#)named.reload        5.1 (Berkeley) 2/8/89
  87.     #
  88.     kill -HUP `cat /usr/etc/inet/named.pid`
  89.  
  90. |>    Incidentally, the files in named.tar.Z are pretty wierd.  All you
  91. |> needed to do was 'chmod 755 named nslookup nsquery named.x-fer'
  92. |> and it will work!  Why did the person even change the attributes in
  93. |> the first place?
  94.  
  95. ted? (whoever) wanna sort out the permissions?
  96. (did you try tar with the -p option? (permissions))
  97.  
  98. Phil
  99. =--=
  100.