SMB配置指南

um install samba samba-client

vi /etc/samba/smb.conf

[share] comment="share for work" path=/home/share quest ok=yes public=yes writable=yes create mask=0777 directory mask=0777 browseable=yes available=yes

smbpasswd -a root systemctl restart smb netstat -lnp |grep smb ps -aux |grep smb