关闭

ubuntu samba service open

标签: serviceubuntusecuritysystemaccesswindows
224人阅读 评论(0) 收藏 举报
分类:

This is about the Windows system and Linux system for file sharing service.So, how should we samba service configurations?


First, I need install samba smbclient samba4  

 1.sudo apt-get install samba smbclient samba4
  

And then, I need to be configured /etc/samba/smb.conf

  2.mkdir -m 777 /home/share
  3.sudo vim /etc/samba/smb.conf
  4.find  "security = user" change for "security = share"

   5.Add to the 

    [share] 
    comment=this is Linux share directory 
    path=/home/share
    public=yes
    writable=yes

Finally,start samba service

   6.sudo /etc/init.d/samba4 start

   7.In Windows system "\\XXX:XXX:XXX:XXX\share" on access

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:82929次
    • 积分:1269
    • 等级:
    • 排名:千里之外
    • 原创:25篇
    • 转载:127篇
    • 译文:0篇
    • 评论:6条
    最新评论