12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

468CHAPTER 23Protecting Against Intruders with Security-Enhanced <strong>Linux</strong>Alternatively, use the setsebool command to set the boolean to the desired value:setsebool -P To view the status of a boolean via the command line, execute the getsebool command:getsebool use_nfs_home_dirsTo completely disable SE<strong>Linux</strong> for a specific service, place a checkmark next to the correspondingboolean under the SE<strong>Linux</strong> Service Protection category or the category for thespecific service such as Kerberos. While this will allow the service to work with SE<strong>Linux</strong>enabled, the service will no longer be protected by SE<strong>Linux</strong> and is not recommended. If aservice can not be started because of SE<strong>Linux</strong>, look at the boolean values that can bechanged for it. The SE<strong>Linux</strong> Troubleshooting Tool summarizes why the action wasblocked by the SE<strong>Linux</strong> policy. It also offers possible solutions for the problem. Refer tothe “Utilizing the SE<strong>Linux</strong> Troubleshooting Tool” for details.Utilizing the SE<strong>Linux</strong> Troubleshooting ToolLog messages for SE<strong>Linux</strong> are written to /var/log/messages unless the <strong>Linux</strong> AuditingSystem is used (refer to Chapter 25, “<strong>Linux</strong> Auditing System,” for details). If audit isenabled, messages are written to the /var/log/audit/audit.log file. The log messages arelabeled with the AVC keyword so they can be easily filtered from other messages.Starting with <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> 5, instead of having to read through log files todetermine why SE<strong>Linux</strong> is preventing an action, the SE<strong>Linux</strong> Troubleshooting Tool can beused to analyze the SE<strong>Linux</strong> AVC messages. It consists of a graphical interface for displayingthese messages and possible solutions, a desktop notification icon that appears whenthere are messages to view, and a daemon that checks for new SE<strong>Linux</strong> AVC messages sothat you are alerted by the notification icon of them as soon as they occur. The tool isprovided by the setroubleshoot RPM package, which is installed by default.The daemon, setroubleshootd, is started by default with the /etc/rc.d/init.d/setroubleshootinitialization script. The /var/log/setroubleshootd.log file contains any logmessages concerning the tool. This log file is automatically rotated on a weekly basis, andold log files for the previous two weeks are kept.If you are working on the local desktop for the system(sitting at the computer), a star iconappears in the notification area of the top desktop panel when SE<strong>Linux</strong> AVC messages areavailable for viewing. Click on it to view the SE<strong>Linux</strong> Troubleshooting Tool as shown inFigure 23.3.TIPIf working on the local desktop, you can also open the SE<strong>Linux</strong> Troubleshooting Tool byselecting <strong>Administration</strong>, SE<strong>Linux</strong> Troubleshooting from the System menu on the toppanel.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!