linux安装samba
ubuntu16.04安装samba,windows访问
安装samba
sudo apt-get install samba
修改配置项
vimlink 1
2
在末尾添加如下,记得/home/hhq/ 路径下有share这个文件夹
[share]
path = /home/hhq/share
public = yes
writable = yes
valid users = hhq
create mask = 0644
force create mode = 0644
directory mask = 0755
force directory mode = 0755
available = yes1
2
3
4
3. 设置登陆密码
```sudo touch /etc/samba/smbpasswd
1 |
|
1 |
|
1 |
|