From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

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

Manage SELinux for SMB services

Manage SELinux for SMB services

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Manage SELinux for SMB services

- [Instructor] There are multiple SELenix Booleans and types that we may have to modify in order to have a working Samba server. We can take a look at these now. The best way to know what is necessary is to read the example configuration file installed with the Samba server. Be sure you're logged into rhhost1 with a terminal open. Type into the terminal sudo space vi space slash etc slash samba slash smb dot conf dot example and hit enter. Near the top, it explains the various Booleans. If you want to run your Samba server as a primary domain controller, and use the useradd and groupadd commands, then turn the Samba domain controller Boolean on. If you want to share home directories, you need to turn on the Samba enable home dirs Boolean. Whenever you create a parent directory that will be shared via Samba, you need to change its security context to Samba underscore share underscore t. You can either do this temporarily with change con, or you can change the security policy itself…

Contents