source: general/sysutils/accountsservice.xml@ 5ff8c3a

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 5ff8c3a was b1c0fa7, checked in by Douglas R. Reno <renodr@…>, 20 months ago

Update to WebKitGTK+-2.36.7 and other tags.

  • Property mode set to 100644
File size: 8.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY accountsservice-download-http
8 "https://www.freedesktop.org/software/accountsservice/accountsservice-&accountsservice-version;.tar.xz">
9 <!ENTITY accountsservice-download-ftp " ">
10 <!ENTITY accountsservice-md5sum "6dae0b50b48abe61296c8ecf90068c1f">
11 <!ENTITY accountsservice-size "100 KB">
12 <!ENTITY accountsservice-buildsize "7.3 MB">
13 <!ENTITY accountsservice-time "less than 0.1 SBU">
14]>
15
16<sect1 id="accountsservice" xreflabel="AccountsService-&accountsservice-version;">
17 <?dbhtml filename="accountsservice.html"?>
18
19 <sect1info>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>AccountsService-&accountsservice-version;</title>
24
25 <indexterm zone="accountsservice">
26 <primary sortas="a-AccountsService">AccountsService</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to AccountsService</title>
31
32 <para>
33 The <application>AccountsService</application> package provides a
34 set of <application>D-Bus</application> interfaces for querying
35 and manipulating user account information and an implementation
36 of those interfaces based on the usermod(8), useradd(8) and
37 userdel(8) commands.
38 </para>
39
40 &lfs112_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&accountsservice-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&accountsservice-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &accountsservice-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &accountsservice-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &accountsservice-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &accountsservice-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">AccountsService Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <!--<xref linkend="libgcrypt"/> and-->
81 <xref linkend="polkit"/>
82 </para>
83
84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
86 <xref linkend="gobject-introspection"/> and
87 <phrase revision="sysv"><xref linkend="elogind"/></phrase>
88 <phrase revision="systemd"><xref linkend="systemd"/></phrase>
89 </para>
90
91 <bridgehead renderas="sect4">Optional</bridgehead>
92 <para role="optional">
93 <xref linkend="gtk-doc"/> and
94 <xref linkend="xmlto"/>
95 <!-- I did not have gtk-doc installed this time, and it worked fine. -->
96 </para>
97
98 <para condition="html" role="usernotes">User Notes:
99 <ulink url="&blfs-wiki;/accountsservice"/>
100 </para>
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of AccountsService</title>
105<!-- fixed in 22.08.8
106 <para revision="systemd">
107 First, fix an issue in the systemd unit that causes runtime issues:
108 <!-\- causes errors when trying to change the user's icon in g-c-c -\->
109 </para>
110
111<screen revision="systemd"><userinput remap="pre">sed -i '/PrivateTmp/d' data/accounts-daemon.service.in</userinput></screen>
112-->
113 <para>
114 Install <application>AccountsService</application> by running the following
115 commands:
116 </para>
117
118<screen revision="sysv"><userinput>mkdir build &amp;&amp;
119cd build &amp;&amp;
120
121meson --prefix=/usr \
122 --buildtype=release \
123 -Dadmin_group=adm \
124 -Delogind=true \
125 -Dsystemdsystemunitdir=no \
126 .. &amp;&amp;
127ninja</userinput></screen>
128
129<screen revision="systemd"><userinput>mkdir build &amp;&amp;
130cd build &amp;&amp;
131
132meson --prefix=/usr \
133 --buildtype=release \
134 -Dadmin_group=adm \
135 .. &amp;&amp;
136ninja</userinput></screen>
137
138 <para>
139 This package does not come with a test suite.
140 </para>
141
142 <para>
143 Now, as the <systemitem class="username">root</systemitem> user:
144 </para>
145
146<screen role="root"><userinput>ninja install</userinput></screen>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
154 href="../../xincludes/meson-buildtype-release.xml"/>
155
156 <para>
157 <parameter>-Dadmin_group=adm</parameter>: This switch sets
158 the group for administrator accounts.
159 </para>
160
161 <para>
162 <option>-Ddocbook=true</option>: This switch enables building
163 the D-Bus interface API documentation.
164 </para>
165
166 </sect2>
167
168 <sect2 role="configuration">
169 <title>Configuring AccountsService</title>
170
171 <para>
172 To allow users in the adm group to be listed as Administrators,
173 execute the following commands as the
174 <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>cat &gt; /etc/polkit-1/rules.d/40-adm.rules &lt;&lt; "EOF"
178<literal>polkit.addAdminRule(function(action, subject) {
179 return ["unix-group:adm"];
180 });</literal>
181EOF</userinput></screen>
182
183 <sect3 id="accountsservice-init" revision="systemd">
184<!-- <title><phrase revision="sysv">Boot Script</phrase>
185 <phrase revision="systemd">Systemd Units</phrase></title> -->
186 <title>Systemd Unit</title>
187<!-- Automatically started by D-Bus when needed
188 <para revision="sysv">
189 To start the <command>accounts-daemon</command> daemon at boot,
190 install the
191 <filename>/etc/rc.d/init.d/accounts-daemon</filename> init script from
192 the <xref linkend="bootscripts"/> package
193 by running the following command as the
194 <systemitem class="username">root</systemitem> user:
195 </para>
196
197<screen role="root" revision="sysv"><userinput>make install-accounts-daemon</userinput></screen>
198-->
199 <para>
200 To start the <command>accounts-daemon</command> daemon at boot,
201 enable the previously installed systemd unit
202 by running the following command as the
203 <systemitem class="username">root</systemitem> user:
204 </para>
205
206 <indexterm zone="accountsservice accountsservice-init">
207 <primary sortas="f-accounts-daemon">accounts-daemon</primary>
208 </indexterm>
209
210<screen role="root"><userinput>systemctl enable accounts-daemon</userinput></screen>
211
212 </sect3>
213
214 </sect2>
215
216 <sect2 role="content">
217 <title>Contents</title>
218
219 <segmentedlist>
220 <segtitle>Installed Programs</segtitle>
221 <segtitle>Installed Libraries</segtitle>
222 <segtitle>Installed Directories</segtitle>
223
224 <seglistitem>
225 <seg>
226 accounts-daemon (in
227 <filename class="directory">/usr/libexec</filename>)
228 </seg>
229 <seg>
230 libaccountsservice.so
231 </seg>
232 <seg>
233 /usr/include/accountsservice-1.0,
234 /usr/share/accountsservice,
235 /usr/share/gtk-doc/html/libaccountsservice (optional), and
236 /var/lib/AccountsService
237 </seg>
238 </seglistitem>
239 </segmentedlist>
240
241 <variablelist>
242 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
243 <?dbfo list-presentation="list"?>
244 <?dbhtml list-presentation="table"?>
245
246 <varlistentry id="accounts-daemon">
247 <term><command>accounts-daemon</command></term>
248 <listitem>
249 <para>
250 is the <application>AccountsService</application> daemon
251 </para>
252 <indexterm zone="accountsservice accounts-daemon">
253 <primary sortas="b-accounts-daemon">accounts-daemon</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="libaccountsservice">
259 <term><filename class="libraryfile">libaccountsservice.so</filename></term>
260 <listitem>
261 <para>
262 contains the <application>AccountsService</application> API functions
263 </para>
264 <indexterm zone="accountsservice libaccountsservice">
265 <primary sortas="c-libaccountsservice">libaccountsservice.so</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 </variablelist>
271
272 </sect2>
273
274</sect1>
Note: See TracBrowser for help on using the repository browser.