diff --git a/www/html/getting-started.html b/www/html/getting-started.html index 6507085..e26f350 100644 --- a/www/html/getting-started.html +++ b/www/html/getting-started.html @@ -1,6 +1,8 @@
This guide will walk you through the basics of creating a new reference policy module. This will also serve as an introduction to the basics concepts and philosophy of refpolicy. +To install and use a targeted Reference Policy on a Fedora Core 4 system, see the +switching guide.
diff --git a/www/html/menu.html b/www/html/menu.html
index b29fa1d..4761b65 100644
--- a/www/html/menu.html
+++ b/www/html/menu.html
@@ -1,9 +1,10 @@
- Reference Policy Home
- Status/Roadmap
- Contributing
+ Reference Policy Home
+ Status/Roadmap
+ Contributing
Documentation
- Getting Started
+ - Switch to Reference Policy
- Interface Reference
- Download
+ Download
diff --git a/www/html/switch.html b/www/html/switch.html
index b76caf6..43a6013 100644
--- a/www/html/switch.html
+++ b/www/html/switch.html
@@ -1,4 +1,4 @@
-
This guide will walk you through switching to the targeted reference policy on a Fedora system. @@ -11,21 +11,34 @@ from Sourceforge. Download the policy, and unpack it to a temporary directory. Then use the install-src make target to install the policy sources. - +
+-# tar -jxvf refpolicy-20050711.tar.bz2 -C /tmp +# tar -jxvf refpolicy-xxxxxxxx.tar.bz2 -C /tmp # cd /tmp/refpolicy # make install-src+
+ The policy source is found in the + /etc/selinux/refpolicy/src/policy/ directory. + Use the example targeted modules configuration. +
++# cd /etc/selinux/refpolicy/src/policy +# cp policy/modules.conf.targeted_example policy/modules.conf ++
Near the top of the policy Makefile, the policy has a few build options. The TYPE needs to be set to targeted, and the DISTRO option needs to be - uncommented, and set to redhat. The Makefile is found in the - /etc/selinux/refpolicy/src/policy/ directory. + uncommented and set to redhat.
+######################################## # @@ -65,13 +78,19 @@ MONOLITHIC=y # Uncomment this to disable command echoing #QUIET:=@+
+ Next, install the policy, application configuration files, and + file contexts. +
+-# cd /etc/selinux/refpolicy/src/policy # make install+
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: @@ -91,14 +111,17 @@ SELINUX=enforcing # strict - Full SELinux protection. SELINUXTYPE=refpolicy+
The system needs to be restarted with the new policy, and relabeled on booting.
+# touch /.autorelabel # shutdown -r now+