So you can access files from other computers (Linux, Mac, Windows) on the same network!
- Install Samba:
sudo apt install samba samba-common
- Specify the shared folder:
sudo vi /etc/samba/smb.conf
Share home directory only to username: Find [home] and uncomment (delete ;) so there are following configuration:
[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0700
directory mask = 0700
valid users = <username>
- Add the user to Samba and create a password (independent of system users):
sudo sambapasswd -a <username>
- Restart Samba (the system would start Samba automatically in startup):
sudo service smbd restart
- Find out IP and connect from the other computer!
ip addr