centos 7 samba guest访问
一。修改配置文件 [global] workgroup = SAMBA security = user passdb backend = tdbsam printing = cups printcap name = cups load printers = yes cups options = raw map to guest = bad user map to guest = bad user设置guest访问 [共享] comment = It is used for everyone path = /share/everyone public = yes writable = yes guest ok = yes guest ok = yes 匿名访问 create mask = 0777 directory mask = 0777 二。建立共享目录 三。改变共享目录的所有者 chown nobody:nobody /share/everyone 四。测试环境关闭防火墙及selinux 来源: 51CTO 作者: suncomeby 链接: https://blog.51cto.com/1580598/2472430