New answers tagged home-directory
chmod 711 /home chmod 750 /home/* This is default on most modern distros. Please note that users will still always be able to see stuff like /etc/passwd and so on, which is why Chroot/Containerization is THE best solution for any cases were you want isolation like this.
No, %L's value mean the Samba server's NetBIOS name. You can replace that with any server name you want. Just be aware that the auto creation of home directory can be affected.
Top 50 recent answers are included