ubuntu1604 安装samba

ubuntu1604 安装samba

sudo apt-get install samba

更改/etc/samba/smb.conf
添加
[share]
comment = share
path = /home/zm
writable = yes
valid users = zm

添加samba用户
sudo adduser zm

重启服务
sudo systemctl restart smbd

posted @ 2018-08-23 23:09  mingzhang  阅读(713)  评论(0编辑  收藏  举报