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 "6e4c6fbd490260cfe17de2e76f5d803a">
|
---|
11 | <!ENTITY accountsservice-size "96 KB">
|
---|
12 | <!ENTITY accountsservice-buildsize "10 MB">
|
---|
13 | <!ENTITY accountsservice-time "0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="accountsservice" xreflabel="AccountsService-&accountsservice-version;" revision="systemd">
|
---|
17 | <?dbhtml filename="accountsservice.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>AccountsService-&accountsservice-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="accountsservice">
|
---|
27 | <primary sortas="a-AccountsService">AccountsService</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to AccountsService</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | The <application>AccountsService</application> package provides a
|
---|
35 | set of <application>D-Bus</application> interfaces for querying
|
---|
36 | and manipulating user account information and an implementation
|
---|
37 | of those interfaces based on the usermod(8), useradd(8) and
|
---|
38 | userdel(8) commands.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs84_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&accountsservice-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&accountsservice-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &accountsservice-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &accountsservice-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &accountsservice-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &accountsservice-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">AccountsService Dependencies</bridgehead>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
80 | <para role="required">
|
---|
81 | <xref linkend="libgcrypt"/> and
|
---|
82 | <xref linkend="polkit"/>
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
86 | <para role="recommended">
|
---|
87 | <xref linkend="gobject-introspection"/> and
|
---|
88 | <xref linkend="systemd"/>
|
---|
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 |
|
---|
106 | <para>
|
---|
107 | Install <application>AccountsService</application> by running the following
|
---|
108 | commands:
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <screen><userinput>mkdir build &&
|
---|
112 | cd build &&
|
---|
113 |
|
---|
114 | meson --prefix=/usr \
|
---|
115 | -Dadmin_group=adm \
|
---|
116 | -Dsystemd=true \
|
---|
117 | .. &&
|
---|
118 | ninja</userinput></screen>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | This package does not come with a test suite.
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="commands">
|
---|
133 | <title>Command Explanations</title>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | <parameter>-Dadmin_group=adm</parameter>: This switch sets
|
---|
137 | the group for administrator accounts.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | <option>-Ddocbook=true</option>: This switch enables building
|
---|
142 | the D-Bus interface API documentation.
|
---|
143 | </para>
|
---|
144 | <!--
|
---|
145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
146 | href="../../xincludes/static-libraries.xml"/>
|
---|
147 |
|
---|
148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
149 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
150 | -->
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2 role="configuration">
|
---|
154 | <title>Configuring AccountsService</title>
|
---|
155 |
|
---|
156 | <para>
|
---|
157 | To allow users in the adm group to be listed as Administrators,
|
---|
158 | execute the following commands as the
|
---|
159 | <systemitem class="username">root</systemitem> user:
|
---|
160 | </para>
|
---|
161 |
|
---|
162 | <screen role="root"><userinput>cat > /etc/polkit-1/rules.d/40-adm.rules << "EOF"
|
---|
163 | <literal>polkit.addAdminRule(function(action, subject) {
|
---|
164 | return ["unix-group:adm"];
|
---|
165 | });</literal>
|
---|
166 | EOF</userinput></screen>
|
---|
167 |
|
---|
168 | <sect3 id="accountsservice-init">
|
---|
169 | <title>Systemd Units</title>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | To start the <command>accounts-daemon</command> daemon at boot,
|
---|
173 | enable the previously installed systemd unit by
|
---|
174 | running the following command as the
|
---|
175 | <systemitem class="username">root</systemitem> user:
|
---|
176 | </para>
|
---|
177 |
|
---|
178 | <indexterm zone="accountsservice accountsservice-init">
|
---|
179 | <primary sortas="f-accounts-daemon">accounts-daemon</primary>
|
---|
180 | </indexterm>
|
---|
181 |
|
---|
182 | <screen role="root"><userinput>systemctl enable accounts-daemon</userinput></screen>
|
---|
183 |
|
---|
184 | </sect3>
|
---|
185 |
|
---|
186 | </sect2>
|
---|
187 |
|
---|
188 | <sect2 role="content">
|
---|
189 | <title>Contents</title>
|
---|
190 |
|
---|
191 | <segmentedlist>
|
---|
192 | <segtitle>Installed Programs</segtitle>
|
---|
193 | <segtitle>Installed Libraries</segtitle>
|
---|
194 | <segtitle>Installed Directories</segtitle>
|
---|
195 |
|
---|
196 | <seglistitem>
|
---|
197 | <seg>
|
---|
198 | accounts-daemon (library executable)
|
---|
199 | </seg>
|
---|
200 | <seg>
|
---|
201 | libaccountsservice.so
|
---|
202 | </seg>
|
---|
203 | <seg>
|
---|
204 | /usr/include/accountsservice-1.0,
|
---|
205 | /usr/share/doc/accountsservice,
|
---|
206 | /usr/share/gtk-doc/html/libaccountsservice, and
|
---|
207 | /var/lib/AccountsService
|
---|
208 | </seg>
|
---|
209 | </seglistitem>
|
---|
210 | </segmentedlist>
|
---|
211 |
|
---|
212 | <variablelist>
|
---|
213 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
214 | <?dbfo list-presentation="list"?>
|
---|
215 | <?dbhtml list-presentation="table"?>
|
---|
216 |
|
---|
217 | <varlistentry id="accounts-daemon">
|
---|
218 | <term><command>accounts-daemon</command></term>
|
---|
219 | <listitem>
|
---|
220 | <para>
|
---|
221 | is the <application>AccountsService</application> daemon.
|
---|
222 | </para>
|
---|
223 | <indexterm zone="accountsservice accounts-daemon">
|
---|
224 | <primary sortas="b-accounts-daemon">accounts-daemon</primary>
|
---|
225 | </indexterm>
|
---|
226 | </listitem>
|
---|
227 | </varlistentry>
|
---|
228 |
|
---|
229 | <varlistentry id="libaccountsservice">
|
---|
230 | <term><filename class="libraryfile">libaccountsservice.so</filename></term>
|
---|
231 | <listitem>
|
---|
232 | <para>
|
---|
233 | contains the <application>AccountsService</application> API functions.
|
---|
234 | </para>
|
---|
235 | <indexterm zone="accountsservice libaccountsservice">
|
---|
236 | <primary sortas="c-libaccountsservice">libaccountsservice.so</primary>
|
---|
237 | </indexterm>
|
---|
238 | </listitem>
|
---|
239 | </varlistentry>
|
---|
240 |
|
---|
241 | </variablelist>
|
---|
242 |
|
---|
243 | </sect2>
|
---|
244 |
|
---|
245 | </sect1>
|
---|