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
本文共 250 字,大约阅读时间需要 1 分钟。
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
转载于:https://www.cnblogs.com/yugengde/p/9334005.html