SAMBA
$ sudo apt-get install -y samba
$ sudo smbpasswd -a
$ sudo mkdir -p /home//
$ sudo chown -R : /home//
$ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bkp
$ sudo vi /etc/samba/smb.conf
Once "smb.conf" has loaded, add this to the very end of the file:
"
[]
path = /home//
available = yes
valid users =
read only = no
browsable = yes
public = yes
writable = yes
"
$ sudo restart smbd
$ sudo testparm
см
https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated,%20Simple%20and%20Brief%20Way!