FreeBSD kernel 编译大法(一)(7) [ Yes ] No 如果要把机器作为一个本地网络的网关,来传送与其它机器之间的数据包,就选择[ Yes ] 然后键入Enter。如果机器只是一个网络的节点,那就选择[ No ]然后键入Enter 继续。 2.10.4 匿名FTP 第52 页FreeBSD 使用手册 User Confirmation Requested Do you want to have anonymous FTP access to this machine? Yes [ No ] 2.10.4.1 拒绝匿名FTP 选择默认的[ No ]然后键入Enter 将允许拥有帐号的用户使用FTP 来访问机器。 2.10.4.2 允许匿名FTP 如果你选择允许匿名FTP 连接,那任何人都能访问你的机器。在你启用这个选项之前, 安全性应当得到重视。更多信息可以参考第10 章。 使用允许匿名FTP,可以使用箭头选择[ Yes ]然后键入Enter。接下来的屏幕将会这样显示: 图2-34.默认的匿名FTP 配置 第53 页FreeBSD 使用手册 键入F1 将显示帮助画面: This screen allows you to configure the anonymous FTP user. The following configuration values are editable: UID: The user ID you wish to assign to the anonymous FTP user. All files uploaded will be owned by this ID. Group: Which group you wish the anonymous FTP user to be in. Comment: String describing this user in /etc/passwd FTP Root Directory: Where files available for anonymous FTP will be kept. Upload subdirectory: Where files uploaded by anonymous FTP users will go. 默认情况下,FTP 的根目录将被放在/var下。如果你没有足够空间,那也可以通过设置 /usr/ftp来作为FTP 根目录。 当你觉得满意时,键入Enter 继续。 第54 页FreeBSD 使用手册 User Confirmation Requested Create a welcome message file for anonymous FTP users?