免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3215 | 回复: 3
打印 上一主题 下一主题

关于Solaris下anonymous登陆ftp的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-24 17:41 |只看该作者 |倒序浏览
# uname -a\r\nSunOS unknown 5.10 Generic sun4u sparc SUNW,Ultra-60\r\n\r\n# ftpconfig -D /anonymous\r\n\r\n/annoymous 自动创建出来,\r\n同时目录下有\r\n# ls -al anonymous\r\n总数 18\r\ndrwxr-xr-x   8 root     sys          512 11月 24日 14:56 .\r\ndrwxr-xr-x  38 root     root        1024 11月 24日 14:56 ..\r\nlrwxrwxrwx   1 root     bin            9 11月 24日 14:56 bin -> ./usr/bin\r\nd--x--x--x   2 root     sys          512 11月 24日 14:56 dev\r\nd--x--x--x   5 root     sys          512 11月 24日 14:56 etc\r\nd--x--x--x   2 root     bin          512 11月 24日 14:56 lib\r\nd--x--x--x   3 root     sys          512 11月 24日 14:56 platform\r\ndrwxr-xr-x   2 root     sys          512 11月 24日 14:56 pub\r\nd--x--x--x   6 root     sys          512 11月 24日 14:56 usr\r\n# \r\n\r\n然后 \r\nftp 168.192.1.205\r\n  Connected to 168.192.1.205.\r\n    220 unknown FTP server ready.\r\n  Name (168.192.1.205:gavin): anonymous\r\n    331 Guest login ok, send your complete e-mail address as password.\r\n  Password:                // 这里试过 anonymous ,  anonymous@company.com,  随便一个email\r\n    530 Login incorrect.\r\n    Login failed.\r\n\r\n都不成功。。。\r\n\r\n不是说Solaris 9 + 以后设置 anonymous的ftp 用ftpconfig就可以自动搞定吗?\r\n\r\n有没有大虾遇见过这个问题?有解决办法吗?\r\n谢谢!

论坛徽章:
0
2 [报告]
发表于 2005-11-24 17:56 |只看该作者
ftpconfig  /anonymous\r\n \r\n测试过可以。\r\nOPTIONS\r\n     -d       Create a new or update an existing  ftpdir  without\r\n              creating or updating the ftp user account. Use this\r\n              option when creating guest FTP user accounts.

论坛徽章:
0
3 [报告]
发表于 2005-11-24 17:59 |只看该作者
# ftpconfig /snow/ftphome\r\nCreating user ftp\r\nCreating directory /snow/ftphome\r\nUpdating directory /snow/ftphome\r\n# more /etc/passwd\r\n。。。。。。\r\nftp:199350:1:Anonymous FTP:/snow/ftphome:/bin/true\r\n#

论坛徽章:
0
4 [报告]
发表于 2005-11-24 20:09 |只看该作者
我再次执行 \r\nftpconfig /anonymous\r\n\r\n报错,说adduser错误,请察看pwconv\r\n\r\n然后我直接用\r\nsnowict提供的\r\nftp::199350:1:Anonymous FTP:/snow/ftphome:/bin/true\r\n加到 /etc/passwd 后面\r\n然后执行 pwconv\r\n\r\nBingo!OK了! \r\n谢谢Snowict
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP