Changeset b84342d6 for postlfs/security/polkit.xml
- Timestamp:
- 05/07/2012 10:05:37 PM (12 years ago)
- 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:
- 7ecc1c4b
- Parents:
- ff53809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/polkit.xml
rff53809 rb84342d6 5 5 %general-entities; 6 6 7 <!ENTITY polkit-download-http "http://hal.freedesktop.org/releases/polkit-&polkit-version;.tar.gz"> 7 <!ENTITY polkit-download-http 8 "http://www.freedesktop.org/software/polkit/releases/polkit-&polkit-version;.tar.gz"> 8 9 <!ENTITY polkit-download-ftp " "> 9 <!ENTITY polkit-md5sum " e380b4c6fb1e7bccf854e92edc0a8ce1">10 <!ENTITY polkit-md5sum "9c29e1b6c214f0bd6f1d4ee303dfaed9"> 10 11 <!ENTITY polkit-size "1.4 MB"> 11 <!ENTITY polkit-buildsize " 9MB">12 <!ENTITY polkit-time "0. 3SBU">12 <!ENTITY polkit-buildsize "20 MB"> 13 <!ENTITY polkit-time "0.5 SBU"> 13 14 ]> 14 15 … … 30 31 <title>Introduction to polkit</title> 31 32 32 <para>The <application>polkit</application> package is an 33 application-level toolkit for defining and handling the policy that allows 34 unprivileged processes to speak to privileged processes.</para> 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. 37 </para> 35 38 36 39 &lfs70_checked; … … 39 42 <itemizedlist spacing="compact"> 40 43 <listitem> 41 <para>Download (HTTP): <ulink url="&polkit-download-http;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&polkit-download-ftp;"/></para> 45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &polkit-md5sum;</para> 48 </listitem> 49 <listitem> 50 <para>Download size: &polkit-size;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &polkit-buildsize;</para> 54 </listitem> 55 <listitem> 56 <para>Estimated build time: &polkit-time;</para> 44 <para> 45 Download (HTTP): <ulink url="&polkit-download-http;"/> 46 </para> 47 </listitem> 48 <listitem> 49 <para> 50 Download (FTP): <ulink url="&polkit-download-ftp;"/> 51 </para> 52 </listitem> 53 <listitem> 54 <para> 55 Download MD5 sum: &polkit-md5sum; 56 </para> 57 </listitem> 58 <listitem> 59 <para> 60 Download size: &polkit-size; 61 </para> 62 </listitem> 63 <listitem> 64 <para> 65 Estimated disk space required: &polkit-buildsize; 66 </para> 67 </listitem> 68 <listitem> 69 <para> 70 Estimated build time: &polkit-time; 71 </para> 57 72 </listitem> 58 73 </itemizedlist> … … 81 96 82 97 <note> 83 <para>If <xref linkend="libxslt"/> is installed then <xref 84 linkend="DocBook"/> and <xref linkend="docbook-xsl"/> are required.</para> 98 <para> 99 If <xref linkend="libxslt"/> is installed then <xref linkend="DocBook"/> 100 and <xref linkend="docbook-xsl"/> are required. 101 </para> 85 102 </note> 86 103 … … 93 110 <title>Installation of polkit</title> 94 111 95 <para>Install <application>polkit</application> by running the following 96 commands as an unprivileged user:</para> 97 98 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \ 99 --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \ 100 --with-authfw=shadow && 112 <para> 113 Install <application>polkit</application> by running the following 114 commands as an unprivileged user: 115 </para> 116 117 <screen><userinput>./configure --prefix=/usr \ 118 --sysconfdir=/etc \ 119 --localstatedir=/var \ 120 --libexecdir=/usr/lib/polkit-1 \ 121 --with-authfw=shadow \ 122 --disable-static && 101 123 make</userinput></screen> 102 124 103 <para>This package does not come with a test suite.</para> 104 105 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 125 <para> 126 This package does not come with a test suite. 127 </para> 128 129 <para> 130 Now, as the <systemitem class="username">root</systemitem> user: 131 </para> 106 132 107 133 <screen role="root"><userinput>make install</userinput></screen> … … 112 138 <title>Command Explanations</title> 113 139 114 <para> <parameter>--with-authfw=shadow</parameter>: This parameter will use115 the <application>Shadow</application> rather than the116 <application>Linux-PAM</application> Authentication framework. Remove it if117 you would like to use <application>Linux-PAM</application>.</para>118 <para><parameter>--disable-static</parameter>: This will prevent the static119 libraries from being built.</para>140 <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>. 145 </para> 120 146 121 147 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 122 href="../../xincludes/gtk-doc-rebuild.xml"/> 148 href="../../xincludes/static-libraries.xml"/> 149 150 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 151 href="../../xincludes/gtk-doc-rebuild.xml"/> 123 152 124 153 </sect2> … … 137 166 138 167 <note> 139 <para>If you did not build <application>polkit</application> with 140 <application>Linux PAM</application> support, you can skip this section. 168 <para> 169 If you did not build <application>polkit</application> with 170 <application>Linux PAM</application> support, you can skip this section. 141 171 </para> 142 172 </note> 143 173 144 <para>If you built <application>polkit</application> with 145 <application>Linux PAM</application> support, you will need to modify 146 the pam configuration file which was installed by default to get 147 <application>polkit</application> to work correctly with BLFS.</para> 148 149 <para>Issue the following commands as the <systemitem class="username">root</systemitem> 150 user to create the configuration file for <application>Linux PAM</application>: 174 <para> 175 If you have built <application>polkit</application> with 176 <application>Linux PAM</application> support, you need to modify 177 default PAM configuration file which was installed by default to get 178 <application>polkit</application> to work correctly with BLFS. 179 </para> 180 181 <para> 182 Issue the following commands as the <systemitem class="username">root</systemitem> 183 user to create the configuration file for <application>Linux PAM</application>: 151 184 </para> 152 185 … … 175 208 176 209 <seglistitem> 177 <seg>pk-example-frobnicate, pkaction, pkcheck, pkexec, 178 polkit-agent-helper-1, and polkitd</seg> 179 <seg>libnullbackend.{so,a}, libpolkit-agent-1.{so,a}, 180 libpolkit-backend-1.{so,a} and libpolkit-gobject-1.{so,a}</seg> 181 <seg>/etc/polkit-1, /usr/include/polkit-1, /usr/lib/polkit-1, 182 /usr/share/polkit-1 and /var/lib/polkit-1</seg> 210 <seg> 211 pk-example-frobnicate, pkaction, pkcheck, pkexec, 212 pkttyagent and polkitd 213 </seg> 214 <seg> 215 libpolkit-agent-1.so, libpolkit-backend-1.so and 216 libpolkit-gobject-1.so 217 </seg> 218 <seg> 219 /etc/polkit-1, /usr/include/polkit-1, /usr/lib/polkit-1, 220 /usr/share/polkit-1 and /var/lib/polkit-1 221 </seg> 183 222 </seglistitem> 184 223 </segmentedlist> … … 192 231 <term><command>pk-example-frobnicate</command></term> 193 232 <listitem> 194 <para>does this .....</para> 233 <para> 234 does this ..... 235 </para> 195 236 <indexterm zone="polkit pk-example-frobnicate"> 196 237 <primary sortas="b-pk-example-frobnicate">pk-example-frobnicate</primary> … … 202 243 <term><command>pkaction</command></term> 203 244 <listitem> 204 <para>is used to obtain information about registered PolicyKit actions.</para> 245 <para> 246 is used to obtain information about registered PolicyKit actions. 247 </para> 205 248 <indexterm zone="polkit pkaction"> 206 249 <primary sortas="b-pkaction">pkaction</primary> … … 212 255 <term><command>pkcheck</command></term> 213 256 <listitem> 214 <para>is used to check whether a process is authorized for action.</para> 257 <para> 258 is used to check whether a process is authorized for action. 259 </para> 215 260 <indexterm zone="polkit pkcheck"> 216 261 <primary sortas="b-pkcheck">pkcheck</primary> … … 222 267 <term><command>pkexec</command></term> 223 268 <listitem> 224 <para>allows an authorized user to execute a command as another user.</para> 269 <para> 270 allows an authorized user to execute a command as another user. 271 </para> 225 272 <indexterm zone="polkit pkexec"> 226 273 <primary sortas="b-pkexec">pkexec</primary> … … 229 276 </varlistentry> 230 277 231 <!-- <varlistentry id="polkit-agent-helper-1"> 232 <term><command>polkit-agent-helper-1</command></term> 233 <listitem> 234 <para>does this .....</para> 235 <indexterm zone="polkit polkit-agent-helper-1"> 236 <primary sortas="b-polkit-agent-helper-1">polkit-agent-helper-1</primary> 237 </indexterm> 238 </listitem> 239 </varlistentry>--> 278 <varlistentry id="pkttyagent"> 279 <term><command>pkttyagent</command></term> 280 <listitem> 281 <para> 282 is used to start a textual authentication agent for the subject. 283 </para> 284 <indexterm zone="polkit pkttyagent"> 285 <primary sortas="b-pkttyagent">pkttyagent</primary> 286 </indexterm> 287 </listitem> 288 </varlistentry> 240 289 241 290 <varlistentry id="polkitd"> 242 291 <term><command>polkitd</command></term> 243 292 <listitem> 244 <para>provides the org.freedesktop.PolicyKit1 245 <application>D-Bus</application> service on the system message bus.</para> 293 <para> 294 provides the org.freedesktop.PolicyKit1 <application>D-Bus</application> 295 service on the system message bus. 296 </para> 246 297 <indexterm zone="polkit polkitd"> 247 298 <primary sortas="b-polkitd">polkitd</primary> … … 250 301 </varlistentry> 251 302 252 <varlistentry id="libnullbackend">253 <term><filename class='libraryfile'>libnullbackend.{so,a}</filename></term>254 <listitem>255 <para>PolicyKit null backend</para>256 <indexterm zone="polkit libnullbackend">257 <primary sortas="c-libnullbackend">libnullbackend.{so,a}</primary>258 </indexterm>259 </listitem>260 </varlistentry>261 262 303 <varlistentry id="libpolkit-agent-1"> 263 <term><filename class='libraryfile'>libpolkit-agent-1.{so,a}</filename></term> 264 <listitem> 265 <para>contains the <application>polkit</application> authentication 266 agent API functions.</para> 304 <term><filename class='libraryfile'>libpolkit-agent-1.so</filename></term> 305 <listitem> 306 <para> 307 contains the <application>polkit</application> authentication 308 agent API functions. 309 </para> 267 310 <indexterm zone="polkit libpolkit-agent-1"> 268 <primary sortas="c-libpolkit-agent-1">libpolkit-agent-1. {so,a}</primary>311 <primary sortas="c-libpolkit-agent-1">libpolkit-agent-1.so</primary> 269 312 </indexterm> 270 313 </listitem> … … 272 315 273 316 <varlistentry id="libpolkit-backend-1"> 274 <term><filename class='libraryfile'>libpolkit-backend-1.{so,a}</filename></term> 275 <listitem> 276 <para>contains the <application>polkit</application> backend API 277 functions.</para> 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> 278 322 <indexterm zone="polkit libpolkit-backend-1"> 279 <primary sortas="c-libpolkit-backend-1">libpolkit-backend-1. {so,a}</primary>323 <primary sortas="c-libpolkit-backend-1">libpolkit-backend-1.so</primary> 280 324 </indexterm> 281 325 </listitem> … … 283 327 284 328 <varlistentry id="libpolkit-gobject-1"> 285 <term><filename class='libraryfile'>libpolkit-gobject-1.{so,a}</filename></term> 286 <listitem> 287 <para>contains the <application>polkit</application> authorization API 288 functions.</para> 329 <term><filename class='libraryfile'>libpolkit-gobject-1.so</filename></term> 330 <listitem> 331 <para> 332 contains the <application>polkit</application> authorization API functions. 333 </para> 289 334 <indexterm zone="polkit libpolkit-gobject-1"> 290 <primary sortas="c-libpolkit-gobject-1">libpolkit-gobject-1. {so,a}</primary>335 <primary sortas="c-libpolkit-gobject-1">libpolkit-gobject-1.so</primary> 291 336 </indexterm> 292 337 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.