-
Book Overview & Buying
-
Table Of Contents
CentOS 6 Linux Server Cookbook
By :
In this recipe we will learn how to hide files and folders with Samba.
Managing a network often implies the need to hide files and folders from users for a wide variety of reasons. It is the purpose of this recipe to show you how easily this can be achieved.
To complete this recipe you will require a working installation of the CentOS 6 operating system with root privileges. It is assumed that Samba is already installed and it is configured to run as a standalone server.
The typical method of hiding files is to use a dot (.) as the first character in the filename. However, in circumstances where a user has specified the option to see such files, then our intentions can be circumvented. It is for this reason that we will also be using the veto files option.
To begin, log in as root and simply open your current Samba configuration file by typing:
vi /etc/samba/smb.conf
Within the [global] section of the Samba configuration file, add...
Change the font size
Change margin width
Change background colour