12345678910111213$ aptitude install samba$ vi /etc/samba/smb.conf 注释掉所有带pass字样的配置项 security = share [fileserver] comment = Jenson File Server browseable = yes path = /var/ftp public = yes writable = no read only = yes$ /etc/init.d/samba restart