LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 582|回复: 0

我朋友帮弄的samba

[复制链接]
发表于 2004-8-23 03:48:58 | 显示全部楼层 |阅读模式
这是我朋友弄的,我有些看不懂,那出来大家看看,我想给加个目录,设成共享,然后弄个只有update能读,写,删,而普通用户只能读,和执行,怎么弄?
[global]
null passwords = yes
bind interfaces only = yes
#interfaces = eth0
#hosts allow = 192.168.0.0/24  127.0.0.1
map to guest = Bad Password
encrypt passwords = yes
stat cache size = 256
server string = movserver
getwd cache = yes
workgroup = workgroup
#shared mem size = 2097152
[global]
null passwords = yes
bind interfaces only = yes
#interfaces = eth0
#hosts allow = 192.168.0.0/24  127.0.0.1
map to guest = Bad Password
encrypt passwords = yes
stat cache size = 256
server string = movserver
getwd cache = yes
workgroup = workgroup
#shared mem size = 2097152
protocol = NT1
netbios name = movserver
socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
read size = 65536
security = share
os level = 36
auto services = global mvsrv
#host msdfs = yes
veto files = /*.eml/*.new/*.nws/readme.exe/*.dll/
guest account = nobody

[Movies]
    read list = nobody,@nobody
    valid users = nobody,@nobody
    writable = no
    path = /home/movies
    write list = update,@update
    public = yes
[Music]
    read list = nobody,@nobody
    valid users = nobody,@nobody
    writable = no
    path = /home/music
    write list = update,@update
    public = yes
[Tools]
    read list = nobody,@nobody
    valid users = nobody,@nobody
    writable = no
    path = /home/tools
    write list = update,@update
    public = yes
[update]
    read list = update,@update
    valid users = update,@update
    writable = yes
    path = /home
    write list = update,@update
    public = yes
    veto files = /*.eml/*.new/*.nws/readme.exe
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表