LinuxSir.cn,穿越时空的Linuxsir!

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

samba问题

[复制链接]
发表于 2007-2-6 20:19:52 | 显示全部楼层 |阅读模式
#======================= Global Settings =====================================
[global]
#   unix charset = cp936
#   dos charset = cp936
#   display charset = cp936
   workgroup = WORKGROUP
   netbios name = ecofe2
   server string = Yiyou File Server
   guest account = nobody
   log file = /var/log/samba/%m.log
   max log size = 50
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   username map = /etc/samba/smbusers
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#  interfaces = 192.168.1.254/24 192.168.2.254/24
   os level = 33
#   default case = lower
#   case sensitive = no
   valid users = hhwb,cface,oface,update,stnt
   admin users = update
   write list = update

#============================ Share Definitions ==============================
[menu$]
   path = /home/menu/data
   writeable = yes
   public = no

[save$]
   path = /home/menu/save
   writeable = yes
   write list = hhwb,update,cface,oface
   admin users = hhwb,update,cface,oface
   public = no
   
[mp3$]
   path = /home/mp3
   public = no
   writeable = yes
   
[game$]
   path = /game
   public = no
   writeable = yes

[game2$]
   path = /game2
   public = no
   writeable = yes

[vdisks$]
   path = /vdisks
   public = no
   admin users = update,stnt
   writeable = yes

那位大哥能帮我翻译下`  这个SAMBA  里面共享权限是怎么设置的
我就是不知道他什么怎么设置共享权限
发表于 2007-2-7 14:42:13 | 显示全部楼层
writeable = yes               //这个的意思是允许写
valid users =                   //=后面跟的用户就是我们常说的合法用户,通常只是访问
admin users = update    //=这里的等号后面应该是管理员用户,其用户名为update
write list = update          //可写用户的列表

你对照这几个在上面看一下就明白了
我也是初学者,如果翻译的不对也请大家指正
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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