Ignore:
Timestamp:
06/10/2012 12:10:21 AM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
de5068d
Parents:
b83d289
Message:

Added Alacarte 0.14.4. Updated: AccountsService -> 0.6.21, Colord -> 0.1.21, EOG -> 3.4.2, GNOME User Docs -> 3.4.2, Notification Daemon -> 0.7.5, Polkit -> 0.106 and UDisks2 -> 1.98.0. Added ChangeLog entry for Pango.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10288 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/polkit.xml

    rb83d289 r01996ebb  
    88           "http://www.freedesktop.org/software/polkit/releases/polkit-&polkit-version;.tar.gz">
    99  <!ENTITY polkit-download-ftp  " ">
    10   <!ENTITY polkit-md5sum        "9c29e1b6c214f0bd6f1d4ee303dfaed9">
     10  <!ENTITY polkit-md5sum        "739d1ca4bf3462175030ce3d7771d7fa">
    1111  <!ENTITY polkit-size          "1.4 MB">
    12   <!ENTITY polkit-buildsize     "20 MB">
     12  <!ENTITY polkit-buildsize     "16 MB">
    1313  <!ENTITY polkit-time          "0.5 SBU">
    1414]>
    1515
    16 <sect1 id="polkit" xreflabel="polkit-&polkit-version;">
     16<sect1 id="polkit" xreflabel="Polkit-&polkit-version;">
    1717  <?dbhtml filename="polkit.html"?>
    1818
     
    2222  </sect1info>
    2323
    24   <title>polkit-&polkit-version;</title>
     24  <title>Polkit-&polkit-version;</title>
    2525
    2626  <indexterm zone="polkit">
    27     <primary sortas="a-polkit">polkit</primary>
     27    <primary sortas="a-Polkit">Polkit</primary>
    2828  </indexterm>
    2929
    3030  <sect2 role="package">
    31     <title>Introduction to polkit</title>
    32 
    33     <para>
    34       The <application>polkit</application> package is an application-level
    35       toolkit for defining and handling the policy that allows unprivileged
    36       users to speak to privileged processes.
     31    <title>Introduction to Polkit</title>
     32
     33    <para>
     34      <application>Polkit</application> is a toolkit for defining and handling
     35      authorizations. It is used for allowing unprivileged processes to speak
     36      to privileged processes.
    3737    </para>
    3838
     
    7373    </itemizedlist>
    7474
    75     <bridgehead renderas="sect3">polkit Dependencies</bridgehead>
     75    <bridgehead renderas="sect3">Polkit Dependencies</bridgehead>
    7676
    7777    <bridgehead renderas="sect4">Required</bridgehead>
    7878    <para role="required">
    79       <xref linkend="glib2"/> and
    80       <xref linkend="intltool"/>
     79      <xref linkend="glib2"/>,
     80      <xref linkend="intltool"/> and
     81      <xref linkend="SpiderMonkey"/>
    8182    </para>
    8283
     
    108109
    109110  <sect2 role="installation">
    110     <title>Installation of polkit</title>
    111 
    112     <para>
    113       Install <application>polkit</application> by running the following
     111    <title>Installation of Polkit</title>
     112
     113    <para>
     114      There should be a dedicated user and group to take control
     115      of the <command>polkitd</command> daemon after it is
     116      started. Issue the following commands as the
     117      <systemitem class="username">root</systemitem> user:
     118    </para>
     119
     120<screen role="root"><userinput>groupadd -fg 27 polkitd &amp;&amp;
     121useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
     122        -g polkitd -s /bin/false polkitd</userinput></screen>
     123
     124    <para>
     125      Install <application>Polkit</application> by running the following
    114126      commands:
    115127    </para>
     
    124136
    125137    <para>
    126       This package does not come with a test suite.
     138      To test the results, issue: <command>make check</command>.
    127139    </para>
    128140
     
    139151
    140152    <para>
    141       <parameter>--with-authfw=shadow</parameter>: This parameter will use
    142       the <application>Shadow</application> rather than the
    143       <application>Linux-PAM</application> Authentication framework. Remove it if
    144       you would like to use <application>Linux-PAM</application>.
     153      <parameter>--with-authfw=shadow</parameter>: This parameter configures the
     154      package to use the <application>Shadow</application> rather than the
     155      <application>Linux PAM</application> Authentication framework. Remove it if
     156      you would like to use <application>Linux PAM</application>.
    145157    </para>
    146158
     
    154166
    155167  <sect2 role="configuration">
    156     <title>Configuring polkit</title>
    157 
    158     <sect3 id="polkit-config">
    159       <title>Config Files</title>
    160 
    161       <para><filename>/etc/polkit-1/localauthority.conf.d/*</filename></para>
    162     </sect3>
     168    <title>Configuring Polkit</title>
    163169
    164170    <sect3>
     
    167173      <note>
    168174        <para>
    169           If you did not build <application>polkit</application> with
     175          If you did not build <application>Polkit</application> with
    170176          <application>Linux PAM</application> support, you can skip this section.
    171177        </para>
     
    173179
    174180      <para>
    175         If you have built <application>polkit</application> with
     181        If you have built <application>Polkit</application> with
    176182        <application>Linux PAM</application> support, you need to modify
    177183        default PAM configuration file which was installed by default to get
    178         <application>polkit</application> to work correctly with BLFS.
     184        <application>Polkit</application> to work correctly with BLFS.
    179185      </para>
    180186
     
    209215      <seglistitem>
    210216        <seg>
    211           pk-example-frobnicate, pkaction, pkcheck, pkexec,
     217          pkaction, pkcheck, pk-example-frobnicate, pkexec,
    212218          pkttyagent and polkitd
    213219        </seg>
    214220        <seg>
    215           libpolkit-agent-1.so, libpolkit-backend-1.so and
     221          libpolkit-agent-1.so and
    216222          libpolkit-gobject-1.so
    217223        </seg>
    218224        <seg>
    219           /etc/polkit-1, /usr/include/polkit-1, /usr/lib/polkit-1,
    220           /usr/share/polkit-1 and /var/lib/polkit-1
     225          /etc/polkit-1,
     226          /usr/include/polkit-1,
     227          /usr/lib/polkit-1,
     228          /usr/share/gtk-doc/html/polkit-1 and
     229          /usr/share/polkit-1
    221230        </seg>
    222231      </seglistitem>
     
    228237      <?dbhtml list-presentation="table"?>
    229238
    230 <!--  <varlistentry id="pk-example-frobnicate">
    231         <term><command>pk-example-frobnicate</command></term>
    232         <listitem>
    233           <para>
    234             does this .....
    235           </para>
    236           <indexterm zone="polkit pk-example-frobnicate">
    237             <primary sortas="b-pk-example-frobnicate">pk-example-frobnicate</primary>
    238           </indexterm>
    239         </listitem>
    240       </varlistentry>-->
    241 
    242239      <varlistentry id="pkaction">
    243240        <term><command>pkaction</command></term>
     
    305302        <listitem>
    306303          <para>
    307             contains the <application>polkit</application> authentication
     304            contains the <application>Polkit</application> authentication
    308305            agent API functions.
    309306          </para>
     
    314311      </varlistentry>
    315312
    316       <varlistentry id="libpolkit-backend-1">
    317         <term><filename class='libraryfile'>libpolkit-backend-1.so</filename></term>
    318         <listitem>
    319           <para>
    320             contains the <application>polkit</application> backend API functions.
    321           </para>
    322           <indexterm zone="polkit libpolkit-backend-1">
    323             <primary sortas="c-libpolkit-backend-1">libpolkit-backend-1.so</primary>
    324           </indexterm>
    325         </listitem>
    326       </varlistentry>
    327 
    328313      <varlistentry id="libpolkit-gobject-1">
    329314        <term><filename class='libraryfile'>libpolkit-gobject-1.so</filename></term>
    330315        <listitem>
    331316          <para>
    332             contains the <application>polkit</application> authorization API functions.
     317            contains the <application>Polkit</application> authorization API functions.
    333318          </para>
    334319          <indexterm zone="polkit libpolkit-gobject-1">
Note: See TracChangeset for help on using the changeset viewer.