Advertisement
Quaerendir

SELinux policy is customizable based on least access required

Jan 13th, 2023 (edited)
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. SELinux policy is customizable based on least access required. So by default SELinux
  2. policy turns off SELinux sharing of home directories and the use of Samba shares from a
  3. remote machine as a home directory.
  4.  
  5. If you are setting up this machine as a Samba server and wish to share the home
  6. directories, you need to set the samba_enable_home_dirs boolean.
  7.  
  8. setsebool -P samba_enable_home_dirs 1
  9.  
  10. If you want to use a remote Samba server for the home directories on this machine, you
  11. must set the use_samba_home_dirs boolean.
  12.  
  13. setsebool -P use_samba_home_dirs 1
  14.  
  15. system-config-selinux is a GUI tool available to customize SELinux policy settings.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement