r7916 - in trunk/BOOK/postlfs: config security

wblaszcz at linuxfromscratch.org wblaszcz at linuxfromscratch.org
Fri Jul 31 21:46:25 PDT 2009


Author: wblaszcz
Date: 2009-07-31 22:46:25 -0600 (Fri, 31 Jul 2009)
New Revision: 7916

Modified:
   trunk/BOOK/postlfs/config/users.xml
   trunk/BOOK/postlfs/security/linux-pam.xml
   trunk/BOOK/postlfs/security/policykit.xml
Log:
Fixed user and group conflict and other issues for PolicyKit. Fixed minor format presentation with linux-pam

Modified: trunk/BOOK/postlfs/config/users.xml
===================================================================
--- trunk/BOOK/postlfs/config/users.xml	2009-07-31 21:36:53 UTC (rev 7915)
+++ trunk/BOOK/postlfs/config/users.xml	2009-08-01 04:46:25 UTC (rev 7916)
@@ -77,6 +77,7 @@
         <row><entry>fcron   </entry><entry>22</entry><entry>22</entry></row>
         <row><entry>apache  </entry><entry>25</entry><entry>25</entry></row>
         <row><entry>smmsp   </entry><entry>26</entry><entry>26</entry></row>
+        <row><entry>polkituser</entry><entry>27</entry><entry>27</entry></row>
         <!-- <row><entry>courier </entry><entry>30</entry><entry>30</entry></row> -->
         <row><entry>exim    </entry><entry>31</entry><entry>31</entry></row>
         <row><entry>postfix </entry><entry>32</entry><entry>32</entry></row>

Modified: trunk/BOOK/postlfs/security/linux-pam.xml
===================================================================
--- trunk/BOOK/postlfs/security/linux-pam.xml	2009-07-31 21:36:53 UTC (rev 7915)
+++ trunk/BOOK/postlfs/security/linux-pam.xml	2009-08-01 04:46:25 UTC (rev 7916)
@@ -64,11 +64,12 @@
 
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing='compact'>
+    <title>Optional Documentation</title>
       <listitem>
-        <para>Optional documentation: <ulink url="&linux-pam-docs-download;"/></para>
+        <para>Download (HTTP): <ulink url="&linux-pam-docs-download;"/></para>
       </listitem>
       <listitem>
-        <para>Download MD5sum: &linux-pam-docs-md5sum;</para>
+        <para>Download MD5 sum: &linux-pam-docs-md5sum;</para>
       </listitem>
       <listitem>
         <para>Download size &linux-pam-docs-size;</para>

Modified: trunk/BOOK/postlfs/security/policykit.xml
===================================================================
--- trunk/BOOK/postlfs/security/policykit.xml	2009-07-31 21:36:53 UTC (rev 7915)
+++ trunk/BOOK/postlfs/security/policykit.xml	2009-08-01 04:46:25 UTC (rev 7916)
@@ -58,15 +58,13 @@
     <bridgehead renderas="sect3">PolicyKit Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
-    <para role="required"><xref linkend="glib2"/>,
-    <xref linkend="dbus-glib"/>,
+    <para role="required"><xref linkend="dbus-glib"/>,
     <xref linkend="linux-pam"/>,
     <xref linkend="intltool"/>, and
     <xref linkend="docbook-xsl"/></para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
-    <para role="optional"><xref linkend="gtk-doc"/> and
-    <ulink url="http://blog.supportpro.com/2007/08/se-linux/">SELinux</ulink></para>
+    <para role="optional"><xref linkend="gtk-doc"/></para>
 
     <para condition="html" role="usernotes">User Notes:
     <ulink url="&blfs-wiki;/policykit"/></para>
@@ -76,15 +74,20 @@
   <sect2 role="installation">
     <title>Installation of PolicyKit</title>
 
+    <para>It is a requirement to have a dedicated user and group for
+    <application>PolicyKit</application> to function correctly. Issue the
+    following commands as the <systemitem class="username">root</systemitem>
+    user:</para>
+
+<screen><userinput>groupadd -g 27 polkituser &&
+useradd -c "Policy Kit Daemon User" -d /dev/null \
+    -u 27 -g polkituser -s /bin/false polkituser</userinput></screen>
+
     <para>Install <application>PolicyKit</application> by running the following
-    commands:</para>
+    commands as an unprivileged user:</para>
 
-<screen><userinput>groupadd -g 26 polkit &&
-useradd -c "Policy Kit Daemon User" -d /dev/null \
-    -u 26 -g polkit -s /bin/false polkit &&
-./configure --prefix=/usr --sysconfdir=/etc \
-    --libexecdir=/usr/lib/PolicyKit --localstatedir=/var \
-    --with-polkit-user=polkit --with-polkit-group=polkit &&
+<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
+    --libexecdir=/usr/lib/PolicyKit --localstatedir=/var &&
 make</userinput></screen>
 
     <para>This package does not come with a test suite.</para>




More information about the blfs-book mailing list