This document shows how to install SELinux Policy Editor.
You can easily install from RPM
# yum install checkpolicy audit
http://seedit.sourceforge.net/download.htmlIf you do not have X Window System, you do not need seedit-gui package.
$ su # rpm -ivh seedit-*.rpm # reboot
# setfiles /etc/selinux/seedit/contexts/files/file_contexts / -F -vv # reboot
# sestatus SELinux status: enabled Current mode: permissive Mode from config file: permissive ... Policy from config file: seeditNote that simplified policy is installed as permissive mode. In permissive mode, SELinux is not protecting your system. It is only a test mode. To be a enforcing mode, see .
SELINUX=permissive SELINUXTYPE=seeditOur system does not interfere with other existing system components except that.
# rpm -e seedit-policy seedit-converter # rebootYou system will restart as SELinux targeted policy(Fedora Core5 default) and permissive mode(SELinux is effectively disabled).
# tar czvf seedit-*.tgz # cd seedit-converter # make install DISTRO=(FC5 or COS4) # cd .. # cd seedit-policy # make install DISTRO=(FC5 or COS4) # cd seedit-gui # make install # touch /.autorelabel # reboot
At first login do following.
#seedit-restorecon -R /etc #seedit-load #reboot
SELINUXTYPE=seedit --> SELINUXTYPE=targetedAnd
#touch /.autorelabel #reboot
If you are using X Window System, from Gnome menu, . Choose Desktop Manage SELinux Policy Editor. You will see window like 1
Then select Status, you will see 2.
From command line, if result of sestatus shows following, installation is successful.
# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: permissive ... Policy from config file: seedit
Next, see SELinux Policy Editor Administration Guide.
This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.70)
Copyright © 1993, 1994, 1995, 1996,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -local_icons -show_section_numbers -link 2 -split +0 install.tex
The translation was initiated by on 2006-07-05