ramontayag / rpi-playbooks

RaspberryPi Ansible Playbooks
27 stars 2 forks source link

NAS/SMB service also exposed home directory pi #2

Open pve opened 7 years ago

pve commented 7 years ago

When setting up this service, the PI not just exposes the dir=/media/storage/share but also the pi user home directory. Sounds like overdelivery and potential security issue. How can we stop the home dir from being exposed.

C:\WINDOWS\system32>net use New connections will not be remembered.

Status Local Remote Network

OK R: \raspberrypi\data Microsoft Windows Network OK X: \raspberrypi\pi Microsoft Windows Network

ramontayag commented 7 years ago

@pve I'll have to take a look at the sharing settings. It's probably in the config file.