• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

各位,请教如何建一anonymous用户用于ftp?

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 24次 | 进入软件测试论坛讨论

领测软件测试网
如何建一anonymous用户用于ftp,只是ftp用户,锁定于一目录下,只允许list,
download,upload等功能,怎样才能实现?wait...

 diuss 回复于:2003-06-16 17:49:15
首先你去ftp://ftp.wu-ftpd.org/pub/wu-ftpd/wu-ftpd-current.tar.gz
下载一个wu-ftpd的软件
这个软件支持tru64unix
tar zxvf wu-ftpd-current.tar.gz
进入目录
./configure
make
make install
. 接下修改 /etc/.netd.conf, 以使 WU-FTPD 可以由 超级 Internet 服务器 启动. 方法如下: 

cd /etc (进入 /etc 目录) 

vi inetd.conf (编译 超级 Internet 服务器 的配置文件) 

打入 "/ftp 回车" (注意引号不用打, 此语句的目的是查找 inetd.conf 中有 ftp 的行) 

找到后查看行首是否有 # 号, 如果有的话, 将 # 号删除. 

如果使用 vi 找不到 ftp 的行, 就需要手工的在 vi 中添加下面的一行: 

ftp  stream tcp nowait root  /usr/sbin/tcpd in.ftpd -l -a 
使用 ftp localhost 
呵呵~~这样就安装成功了
wu-ftpd网上使用手册很多。你自己看一下吧

 diuss 回复于:2003-06-16 17:54:24
还有一个办法
你可以安装Open Source Internet Solutions ,order number QB-3NCAA-SA 。你可以咨询一下compaq.用这个操作起来比较简单

 supsyg 回复于:2003-06-17 18:15:31
谢谢diuss,我去试试!

 supsyg 回复于:2003-06-18 10:45:10
./configure
没有完全配置成功,make & make install也进行不下去啦!
还请大侠再指教一二;
另外,我要建的是anonymous用户,而非ftp软件,tru64本身自带ftp!
谢谢!

 yang034 回复于:2003-06-24 13:18:13
1 Add a new user ftp,pass anonymous. Edit the /etc/passwd file , 
like this. 

ftp:mEFyvztssXGZk:269:79:anonymous ftp:/usr/ftp:/usr/ucb/ftp 

2 Setup new directories for the ftp account. 

A) # cd /usr/ftp 
B) # mkdir etc pub 
C) # cp /sbin/ls /usr/ftp/bin 
D) # cp /etc/passwd /usr/ftp/etc 
E) # cp /etc/group /usr/ftp/etc 
F) # cp /etc/svc.conf /usr/ftp/etc 
G) # chown -R ftp * 
H) # chown ftp /usr/ftp 
I) # chmod -w /usr/ftp 
J) # chmod 111 /usr/ftp/bin/ls 
K) # chmod -w /usr/ftp/bin 
L) # chmod 444 /usr/ftp/etc 
M) # chmod -w /usr/ftp/etc 
N) # chmod 755 /usr/ftp/pub 

Files will be put in /usr/ftp/pub. 

3 test 
Name (nodename::username): anonymous 
Password: anonymous

 supsyg 回复于:2003-06-26 14:31:38
非常感谢!yang034

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网