Home > Enterprise Linux Tips > Administrator > SELinux Policy Editor: Removing micromanagement from administrative control
Enterprise Linux Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ADMINISTRATOR

SELinux Policy Editor: Removing micromanagement from administrative control


Justin Korelc and Ed Tittel
08.22.2006
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Administrators often criticize Security Enhanced Linux (SELinux) policies for being too complex, and they have a point. Mandatory access control-based administration is tedious and easy to misconfigure. It can be tough to handle the extended security attributes across a range of users, processes and files or directories that encompass more than one server. Novell addresses this problem in its enterprise-class server offerings with the AppArmor suite of policy management applications, but nothing comparable exists yet for systems management in Red Hat enterprise servers (or CentOS derivatives).

Although it's not included in the RHEL distribution, the SELinux Policy Editor (seedit), originally developed by Hitachi Software, fills that void. Seedit offers a suite of native front-end administration utilities. Even a seasoned SELinux system administrator will find seedit useful in daily use, especially in cases when a single policy oversees operations of multiple systems. Seedit provides a control panel with icons that correspond to status, management, policy generation, policy editing and policy application or re-labeling actions.

More on SELinux:

Think before deploying Security-Enhanced Linux in RHEL 4

Built-in mechanisms for securing the kernel

Seedit has its roots in the simplified policy description language (SPDL). SPDL is simplified in that it works with a subset of SELinux permissions devoid of any properties except those related to security. Overlapping properties (such as read permissions) on objects are generalized into distinct domains of functionality. Policy files are created for file names or port numbers and include role-based access controls (RBAC) that are somewhat similar to what's used in xinetd or Apache configuration files. Through seedit-load, all simplified policies may be compiled into true SELinux policies, which can then be made effective on the target system (presumably a RHEL server).

By using the seedit status application, administrators can view the full scope of domains in effect over a given system. This tool permits administrators to visualize the working processes and active connections for a target system and to readily identify each one by an associated process ID or network port and security domain(s).

If an application or connection fails to start, it can be set to the permissive unconfined_t label, under which an entire domain can be created to oversee all unconfined types. Otherwise, the policy governing a restricted application can be modified to permit the functionality necessary for proper operation. All of this can be handled through the seedit domain/role manager interface. The policy generator assists administrators in establishing, defining and reconfiguring SELinux policies for any application. The generator traces through these programs and gleans detailed information on their behavior as it applies to a SELinux policy. It then produces either default permissions or -- at the administrator's option -- a more secure (and restrictive) policy.

Viewed from any angle, the seedit suite of applications simplifies daily management of SELinux-governed systems. It can quickly create templates for, categorize, relabel, visualize and reconfigure effective policy in a way that even any administrator can understand.

Justin Korelc is a longtime Linux hacker and system administrator who concentrates on hardware and software security, virtualization and high-performance Linux systems. Ed Tittel is a full-time freelance writer based in Austin, Tex., who specializes in markup languages, information security, networking and IT certification. Justin and Ed have contributed to books on Home Theater PCs and the Linux-based MythTV environment and write regularly about Linux for various TomsHardware sites.


Rate this Tip
To rate tips, you must be a member of SearchEnterpriseLinux.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Heartbeat  (SearchEnterpriseLinux.com)
tty command  (SearchEnterpriseLinux.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts