ubuntu 16.04 samba 匿名配置

安装:

sudo apt-get install daemon

sudo apt-get install samba

配置:

在vim /etc/samba/smb.conf中的 [golbal]下面添加一行

security =user

再到末尾添加共享路径等其它参数配置后,保存并退出(:wq) ,例如:

[share]

   comment = myshare

   path = /home/abc/share

   browseable = yes

   read only =no

   guest ok =yes   

执行:

sudo service smbd restart

sudo service nmbd restart

记得更改共享目录的权限,例如:

/home/abc/share

那么执行

sudo chmod 757 /home/abc/share

相关文章:

  • 2022-01-19
  • 2021-06-06
  • 2021-05-30
  • 2022-03-04
  • 2022-12-23
  • 2021-11-20
  • 2021-09-24
猜你喜欢
  • 2021-10-24
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-06-05
相关资源
相似解决方案