详解Linux路由配置(2)

samba设置
以下是我的/etc/samba/smb.conf内容

workgroup = workgroup
server string = Workgroup
hosts allow = 192.168.2.3
guest account = root
log file = /var/log/samba/%m.log
security = share
client code page= 936
encrypt passwords = yes
smb passwd file = /etc/passwd
[admin]
path = /
valid users = root
public = yes
writeable = yes
directory mode = 0777

备注: 因为SAMBA只是我自己使用,所以,共享了根目录,并且是完全权限!平时我的SAMBA服务是关的,只有用到的时候才开.

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wwwzss.html