apt install samba samba-common-bin it is so simple to do too, edit one file, set password, restart daemon and your done. The
nano /etc/samba/smb.conf in the
[homes] section change the yes to no like below to have the share read/writable, at the bottom of the file add your share. Then set the password for the
user_name you want to be able to access the share with
smbpasswd -a user_name and restart samba
service smbd restart. All commands run with sudo in front of them in the Terminal application.
# By default, the home directories are exported read-only. Change the # next parameter to 'no' if you want to be able to write to them. read only = no snip .... [share-name] path = /home/user_name/share_directory writeable=Yes create mask=0777 directory mask=0777 public=no
You do not mention if this is local network only access, I would hope so securing server against the bots that scan the internet 24/7 is next to impossible for a normal user.