samba简易配置

sudo apt-get install samba

mkdir /var/share

sudo useradd -m samba

sudo passwd samba

smbpasswd -a samba

 

cat /etc/samba/smb.conf

---------

[forwin]

vaild users = samba

path = /var/share

writable = yes

posted @ 2018-07-19 09:35  yugengde  阅读(102)  评论(0编辑  收藏  举报