memoryboxes blog

Been here so long got to calling it home.

How to Config Samba Config With No Password Share

| Comments

年老记忆力下降,做了N+1遍了,还是忘。

卸载干净

apt-get purge samba
rm -rf /etc/samba /etc/default/samba

重装

apt-get install samba

配置

vim /etc/samba/smb.conf


[share_name]
public = yes
browseable = yes
path = /home
guest ok = yes
read only = no
writeable = yes
create mask = 0644
directory mask = 2777

重启

systemctl restart smbd

Comments