您的位置:首页 > 其它

samba简单配置

2013-12-24 13:14 579 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: