- 1、本文档共14页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ubuntu--服务器---2011-10-13-vsftpd实验任务总结-
任务 1.
1.允许匿名用户(anonymous)登录 ftp 站点
2.只允许匿名用户下载,不允许上传文件,删除,重命名文件
步骤:
1. 安装 vsftpd 软件,用到命令 :
sudo apt-get install vsftpd
2.默认安装好后,系统会自动产生一个 ftp 的用户,可以查看 :
yeshuai@ubuntu:~$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
syslog:x:101:103::/home/syslog:/bin/false
messagebus:x:102:105::/var/run/dbus:/bin/false
avahi-autoipd:x:103:108:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
avahi:x:104:109:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
usbmux:x:105:46:usbmux daemon,,,:/home/usbmux:/bin/false
gdm:x:106:114:Gnome Display Manager:/var/lib/gdm:/bin/false
speech-dispatcher:x:107:29:Speech Dispatcher,,,:/var/run/speech-dispatcher:/bin/sh
kernoops:x:108:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false
pulse:x:109:116:PulseAudio daemon,,,:/var/run/pulse:/bin/false
rtkit:x:110:119:RealtimeKit,,,:/proc:/bin/false
hplip:x:111:7:HPLIP system user,,,:/var/run/hplip:/bin/false
saned:x:112:121::/home/saned:/bin/false
yeshuai:x:1000:0:yeshuai,,,:/home/yeshuai:/bin/bash
ftp:x:113:123:ftp daemon,,,:/srv/ftp:/bin/false
可以看到 ,这个 ftp 默认的目录为 /srv/ftp
查看一下这个 ftp的默认属性
属性是 755,anonymous属于 others的用户,只有 5 的权限,也就是 查看和执行。
也可以
您可能关注的文档
- Thermodynamical limit in non-extensive and Renyi statistics.pdf
- Thermodynamics_Chap_4 Energy Balance for Control Volume.pdf
- Thermophysical properties of ionic liquid {1-butyl-3-methylimidazolium离子液+醇水jct2013.pdf
- TheWiseOldMan_.ppt
- The_effects.pdf
- The_night_of_the_horse(New2).ppt
- thieme_science_of_synthesis.pdf
- think globally.pdf
- ThinkCentre M4500q(第二代小Q)产品介绍.pdf
- This article has been accepted for publication in a future issue of this journal, but has n.pdf
- ULink2 Flash.pdf
- Ultra high energy neutrinos the key to ultra high energy cosmic rays.pdf
- uLink在 RAM 和 FLASH 中调试的设置.pdf
- ULTRA LOW FREQUENCY ESTIMATION A NEGLECTED APPORTION.pdf
- Ultra-performance liquid chromatography.pdf
- UM1523-Getting started with software and firmware environments for the STM32F0DISCOVERY kit.pdf
- UNDERSTANDING CYBERCRIME.pdf
- Understanding the Perpetration of Employee Computer Crime in the.pdf
- Unit 05 The Mythical American West.pdf
- Unit 1 Sports and Games4.doc
文档评论(0)