windows 通过samba访问Centos与Readhatel 设置

 
 
怎样使找个用户目录作为samba共享路径?怎样隐藏.ssh与.bash_profile文件?怎样显示中文文件名与路径?
 
 
只需修改 /etc/samba/smb.conf文件。
[global]
        workgroup = MYGROUP
        server string = Samba Server Version %v
        passdb backend = tdbsam
        client NTLMv2 auth = Yes
        client lanman auth = No
        client plaintext auth = No
        cups options = raw       
        veto files = /.*/

workgroup = WORKGROUP

display charset = UTF-8

unix charset = UTF-8

dos charset = cp936

[homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes
除显示中文与隐藏点开头文件以外部分,皆是在在yahoo做contractor的日子学到的,仅写此文以作纪念。

你可能感兴趣的:(win7,win8,unix,samba,共享)