samba简单配置


SAMBA 这个软件几乎在所有的 Linux distributions 上面都有提供,因为即使你的 Linux 仅做为个人桌面计算机使用时,你依旧可能会需要联机到远程的 Windows 网芳,那个时候就得要 samba 提供的客户端软件功能啰

1 install
yum install samba samba-client

2 securlinux
 setenforce 0 
iptables
service iptables stop

3 vi /etc/samba/smb.conf
    security = share
    ; passdb backend = tdbsam

     load printers = no
    ; cups options = raw
     [public]
     comment = Public Stuff
     path = /home/samba
     public = no
     writable = yes
     browseable = yes

4 add user to samba

pdbedit -a -u root

5 start service

service smb start
service nmb start
chkconfig smb on
chkconfig nmb on




相关内容