source: general/sysutils/accountsservice.xml@ acd88fc

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since acd88fc was acd88fc, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Tags and move 2 unneeded files

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