Samba服务器在线安装及配置(访问无需用户密码)

Samba服务器在线安装及配置(无需用户密码)

  1. sudo apt-get install samba
  2. 版本信息smbd --version
    Version 4.3.11-Ubuntu
  3. 配置smb.conf
#======================= Global Settings =======================

[global]
.......
   workgroup = WORKGROUP
......
   security = user
   map to guest = bad user
......
[Scans]
   comment = video shared directories
   path = /home/zengshijun/share
   public = yes
   browseable = yes
   writable = yes
   available = yes
   guest = ok
   create mask = 0777
   directory mask = 0777
   force directory mode = 0777
   force create mode = 0777
   security = share
   workgroup = WORKGROUP
   force user = root
  1. 重新启动服务即可

你可能感兴趣的:(服务器,操作系统,Linux)