- 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
- Location:
- postlfs/security
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/accountsservice.xml
rff53809 rb84342d6 5 5 %general-entities; 6 6 7 <!ENTITY accountsservice-download-http "http://www.freedesktop.org/software/accountsservice/accountsservice-&accountsservice-version;.tar.xz"> 7 <!ENTITY accountsservice-download-http 8 "http://www.freedesktop.org/software/accountsservice/accountsservice-&accountsservice-version;.tar.xz"> 8 9 <!ENTITY accountsservice-download-ftp " "> 9 <!ENTITY accountsservice-md5sum " 47b5af77b544528c02d82761bd574c09">10 <!ENTITY accountsservice-size " 280KB">11 <!ENTITY accountsservice-buildsize " 6.0MB">12 <!ENTITY accountsservice-time "0. 1SBU">10 <!ENTITY accountsservice-md5sum "e48d6ec8aec941d63753c1904dbf75a8"> 11 <!ENTITY accountsservice-size "324 KB"> 12 <!ENTITY accountsservice-buildsize "12 MB"> 13 <!ENTITY accountsservice-time "0.3 SBU"> 13 14 ]> 14 15 … … 30 31 <title>Introduction to AccountsService</title> 31 32 32 <para>The <application>AccountsService</application> package provides, a set 33 of <application>D-Bus</application> interfaces for querying and manipulating 34 user account information, and an implementation of these interfaces based on 35 the usermod(8), useradd(8) and userdel(8) commands.</para> 33 <para> 34 The <application>AccountsService</application> package provides a set 35 of <application>D-Bus</application> interfaces for querying and manipulating 36 user account information and an implementation of these interfaces based on 37 the usermod(8), useradd(8) and userdel(8) commands. 38 </para> 36 39 37 &lfs70_ built;40 &lfs70_checked; 38 41 39 42 <bridgehead renderas="sect3">Package Information</bridgehead> 40 43 <itemizedlist spacing="compact"> 41 44 <listitem> 42 <para>Download (HTTP): <ulink url="&accountsservice-download-http;"/></para> 45 <para> 46 Download (HTTP): <ulink url="&accountsservice-download-http;"/> 47 </para> 43 48 </listitem> 44 49 <listitem> 45 <para>Download (FTP): <ulink url="&accountsservice-download-ftp;"/></para> 50 <para> 51 Download (FTP): <ulink url="&accountsservice-download-ftp;"/> 52 </para> 46 53 </listitem> 47 54 <listitem> 48 <para>Download MD5 sum: &accountsservice-md5sum;</para> 55 <para> 56 Download MD5 sum: &accountsservice-md5sum; 57 </para> 49 58 </listitem> 50 59 <listitem> 51 <para>Download size: &accountsservice-size;</para> 60 <para> 61 Download size: &accountsservice-size; 62 </para> 52 63 </listitem> 53 64 <listitem> 54 <para>Estimated disk space required: &accountsservice-buildsize;</para> 65 <para> 66 Estimated disk space required: &accountsservice-buildsize; 67 </para> 55 68 </listitem> 56 69 <listitem> 57 <para>Estimated build time: &accountsservice-time;</para> 70 <para> 71 Estimated build time: &accountsservice-time; 72 </para> 58 73 </listitem> 59 74 </itemizedlist> … … 63 78 <bridgehead renderas="sect4">Required</bridgehead> 64 79 <para role="required"> 65 <xref linkend=" dbus-glib"/> and80 <xref linkend="libxslt"/> and 66 81 <xref linkend="polkit"/> 67 82 </para> … … 85 100 <title>Installation of AccountsService</title> 86 101 87 <para>Install <application>AccountsService</application> by running the following 88 commands:</para> 102 <para> 103 Install <application>AccountsService</application> by running the following 104 commands: 105 </para> 89 106 90 107 <screen><userinput>./configure --prefix=/usr \ 91 108 --sysconfdir=/etc \ 109 --localstatedir=/var \ 92 110 --libexecdir=/usr/lib/accountsservice \ 93 -- localstatedir=/var&&111 --disable-static && 94 112 make</userinput></screen> 95 113 96 <!-- actually, it's for the maintainer to check xml translations --> 97 <para>This package does not come with a test suite.</para> 114 <para> 115 This package does not come with a test suite. 116 </para> 98 117 99 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 118 <para> 119 Now, as the <systemitem class="username">root</systemitem> user: 120 </para> 100 121 101 122 <screen role="root"><userinput>make install</userinput></screen> … … 106 127 <title>Command Explanations</title> 107 128 108 <para><parameter>--sysconfdir=/etc</parameter>: This parameter installs the 109 configuration files into <filename class="directory">/etc</filename> instead 110 of <filename class="directory">/usr/etc</filename>.</para> 129 <para> 130 <parameter>--libexecdir=/usr/lib/accountsservice</parameter>: This 131 parameter causes the libexec files to be installed in the preferred location 132 of <filename class="directory">/usr/lib/accountsservice</filename> instead 133 of <filename class="directory">/usr/libexec</filename>. 134 </para> 111 135 112 <para><parameter>--libexecdir=/usr/lib/accountsservice</parameter>: This 113 parameter causes the libexec files to be installed in the preferred location 114 of <filename class="directory">/usr/lib/accountsservice</filename> instead 115 of <filename class="directory">/usr/libexec</filename>.</para> 116 117 <para><option>--enable-static=no</option>: This switch prevents the static 118 libraries being installed.</para> 136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 137 href="../../xincludes/static-libraries.xml"/> 119 138 120 139 </sect2> … … 129 148 130 149 <seglistitem> 131 <seg>accounts-daemon</seg> 132 <seg>libaccountsservice.{so,a}</seg> 133 <seg>/usr/{include/accountsservice-1.0/act,lib/accountsservice, 134 share/locale/{bg_BG/LC_MESSAGES,fa_IR/LC_MESSAGES}}, 135 /var/lib/AccountsService/{icons,users}</seg> 150 <seg> 151 accounts-daemon 152 </seg> 153 <seg> 154 libaccountsservice.so 155 </seg> 156 <seg> 157 /usr/include/accountsservice-1.0, 158 /usr/lib/accountsservice and 159 /var/lib/AccountsService 160 </seg> 136 161 </seglistitem> 137 162 </segmentedlist> … … 145 170 <term><command>accounts-daemon</command></term> 146 171 <listitem> 147 <para>is the <application>AccountsService</application> daemon.</para> 172 <para> 173 is the <application>AccountsService</application> daemon. 174 </para> 148 175 <indexterm zone="accountsservice accounts-daemon"> 149 176 <primary sortas="b-accounts-daemon">accounts-daemon</primary> … … 153 180 154 181 <varlistentry id="libaccountsservice"> 155 <term><filename class='libraryfile'>libaccountsservice. {so,a}</filename></term>182 <term><filename class='libraryfile'>libaccountsservice.so</filename></term> 156 183 <listitem> 157 <para>contains the <application>AccountsService</application> API 158 functions.</para> 184 <para> 185 contains the <application>AccountsService</application> API functions. 186 </para> 159 187 <indexterm zone="accountsservice libaccountsservice"> 160 <primary sortas="c-libaccountsservice">libaccountsservice. {so,a}</primary>188 <primary sortas="c-libaccountsservice">libaccountsservice.so</primary> 161 189 </indexterm> 162 190 </listitem> -
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.