首页 > 代码库 > samba and rsyncd 配置文件
samba and rsyncd 配置文件
[global] workgroup = MYGROUP server string = Samba Server Version %v interfaces = lo eth0 192.168.1.19/24 hosts allow = 192.168. log file = /var/log/samba/log.%m max log size = 50 security = user passdb backend = tdbsam load printers = yes cups options = raw [homes] comment = Home Directories browseable = no writable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes [share] comment = php project path = /var/www/html/guest guest ok = yes writable = yes read only = no browsable =yes valid users = guest locking = no public = yes create mode = 644 case sensitive = yes directory mode = 755 write list = guest
# useradd guest
#smbpasswd -a guest
输入密码:guest
请确认:guest
创建成功!
# mkdir /var/www/html/guest
# chown -R guest.guest /var/www/html/guest
uid = nobody
gid = nobody
use chroot = yes
max connections = 4
syslog facility = local1
pid file = /var/run/rsyncd.pid
[ test ]
uid=root
gid=root
path=/tmp/test
hosts allow = 192.168.1.19
read only = no
本文出自 “秋风颂” 博客,请务必保留此出处http://qiufengsong.blog.51cto.com/7520243/1557115
samba and rsyncd 配置文件
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。