ipserv 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. .TH IPSERV 8
  2. .SH NAME
  3. telnetd, rlogind, rexexec, ftpd \- Internet remote access daemons
  4. .SH SYNOPSIS
  5. .B ip/telnetd
  6. .RB [ -adnptN ]
  7. .RB [ -u
  8. .IR user ]
  9. .PP
  10. .B ip/rlogind
  11. .PP
  12. .B ip/rexexec
  13. .PP
  14. .B ip/ftpd
  15. .RB [ -aAde ]
  16. .RB [ -n
  17. .IR namepace-file ]
  18. .PP
  19. .SH DESCRIPTION
  20. These programs support remote access across the Internet. All expect the
  21. network connection to be standard input, output, and error. They are normally
  22. started from scripts in
  23. .B /rc/bin/service
  24. (see
  25. .IR listen (8)).
  26. .PP
  27. .I Telnetd
  28. allows login from a remote client.
  29. There are three types of login:
  30. .TF anonymo
  31. .TP
  32. .I normal
  33. Normal users log in by encrypting and returning a
  34. challenge printed by
  35. .IR telnetd .
  36. The user can use either the
  37. .IR netkey
  38. program
  39. (see
  40. .IR passwd (1))
  41. or a SecureNet handheld authenticator to encrypt the challenge.
  42. .B /lib/namespace
  43. defines the namespace.
  44. .TP
  45. .I noworld
  46. Users in group
  47. .B noworld
  48. in
  49. .BR /adm/users
  50. authenticate with a password in the clear.
  51. .B /lib/namespace.noworld
  52. defines the namespace.
  53. .TP
  54. .I anonymous
  55. User
  56. .B none
  57. requires no authentication.
  58. .B /lib/namespace
  59. defines the namespace.
  60. .PD
  61. .PP
  62. .IR Telnetd 's
  63. options are:
  64. .TP 4
  65. .B a
  66. allow anonymous login by
  67. .B none
  68. .TP
  69. .B d
  70. print debugging to standard error
  71. .TP
  72. .B p
  73. don't originate any telnet control codes
  74. .TP
  75. .B n
  76. turn on local character echoing and imply the
  77. .B p
  78. option
  79. .TP
  80. .B t
  81. trusted, that is, don't authenticate
  82. .TP
  83. .B u
  84. use
  85. .I user
  86. as the local account name
  87. .TP
  88. .B N
  89. permit connections by `noworld' users only.
  90. .PD
  91. .PP
  92. .I Rlogind
  93. logs in using the BSD remote login protocol.
  94. .I Rlogind
  95. execs
  96. .I telnetd
  97. .B -nu
  98. after completing its initial handshake.
  99. .PP
  100. .I Rexexec
  101. executes a command locally for a remote client. It uses the
  102. standard Plan 9 authentication (see
  103. .IR authsrv (6)).
  104. .PP
  105. .I Ftpd
  106. runs the Internet file transfer protocol. Users may transfer
  107. files in either direction between the local and
  108. remote machines.
  109. As for
  110. .IR telnetd ,
  111. there are three types of login:
  112. .TF anonymo
  113. .TP
  114. .I normal
  115. Normal users authenticate
  116. via the same challenge/response as for
  117. .IR telnetd .
  118. .BI /usr/ username /lib/namespace.ftp
  119. or, if that file does not exist,
  120. .B /lib/namespace
  121. defines the namespace.
  122. .TP
  123. .I noworld
  124. Users in group
  125. .B noworld
  126. in
  127. .B /adm/users
  128. login using a password in the clear.
  129. .B /lib/namespace.noworld
  130. defines the namespace.
  131. .TP
  132. .I anonymous
  133. Users
  134. .B anonymous
  135. and
  136. .B none
  137. require no authentication.
  138. The argument to the
  139. .B \-n
  140. option (default
  141. .IR /lib/namespace.ftp )
  142. defines the namespace.
  143. Anonymous users may only store files in the subtree
  144. below
  145. .BR /incoming .
  146. .PD
  147. .PP
  148. .IR Ftpd 's
  149. options are:
  150. .TP 4
  151. .B a
  152. allow anonymous access
  153. .B A
  154. allow
  155. .I only
  156. anonymous access
  157. .TP
  158. .B d
  159. write debugging output to standard error
  160. .TP
  161. .B e
  162. treat any user as anonymous
  163. .TP
  164. .B n
  165. the namespace for anonymous users (default
  166. .BR /lib/namespace.ftp )
  167. .PP
  168. To preserve intended protections in shared file trees,
  169. any directory containing a file
  170. .I .httplogin
  171. is locked by
  172. .IR ftpd;
  173. see
  174. .IR httpd (8).
  175. .PP
  176. .SH FILES
  177. .B /lib/namepace
  178. .br
  179. .BI /usr/ username /lib/namespace.ftp
  180. .br
  181. .B /lib/namespace.world
  182. .br
  183. .B /lib/namespace.ftp
  184. .SH SOURCE
  185. .B /sys/src/cmd/ip/telnetd.c
  186. .br
  187. .B /sys/src/cmd/ip/rlogind.c
  188. .br
  189. .B /sys/src/cmd/ip/rexexec.c
  190. .br
  191. .B /sys/src/cmd/ip/ftpd.c
  192. .SH "SEE ALSO"
  193. .IR ftpfs (4),
  194. .IR pop3 (8)