From the course: Learning CentOS Linux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Sharing user home folders with Samba

Sharing user home folders with Samba

From the course: Learning CentOS Linux

Start my 1-month free trial

Sharing user home folders with Samba

- A common task for servers is to provide a place where people can store and share files. To do this, I'll install Samba which is a package that provides SMB server capability and some other tools that will make working with the Samba share easier. I'll write yum install samba samba-common and samba-client I'll accept these changes and wait for the software to install. Then I'll open up the Samba configuration, to do that I'll write vi /etc/samba/smb.conf I'll scroll down a little bit here and I want to point your attention to this section called homes This is a special share, it provides access for users with accounts on this machine to connect to their own home folders and work with files there. So basically for free, right out of the box, we have a configuration that let's us provide this service. Without changing anything here in the configuration file I quit my editor. We're not quite done yet though. Even though we already have users on the system we need to tell Samba about the…

Contents