01-08-2022, 01:25 AM
(01-07-2022, 09:49 PM)S_i_O Wrote: Hi All.
I saw a few posts on this, but no real solution.
My question: Is it possible do permanently disable SMB share from mOode installed on RPi's ?
Thx alot!
Happy new-year to all!
Sure.
As root, rename the file /etc/samba/smb.conf to something like /etc/samba/smb.conf.dist so that you still have it in case you want to reinstate it later but it won't be interpreted by smbd. Reboot and you'll find there are not smb shares on offer.
E.g.,
Code:
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.dist
Regards,
Kent