SAMBA 這個軟件幾乎在所有的 Linux distributions 上面都有提供,因為即使你的 Linux 僅做為個人桌面計算機使用時,你依舊可能會需要聯機到遠程的 Windows 網芳,那個時候就得要 samba 提供的客戶端軟件功能啰
1 installyum install samba samba-client
setenforce 0iptables
service iptables stop
security = share ; passdb backend = tdbsam load printers = no ; cups options = raw [public] comment = Public Stuff path = /home/samba public = no writable = yes browseable = yes
pdbedit -a -u root
5 start service
service smb start service nmb start chkconfig smb on chkconfig nmb on