source: general/sysutils/accountsservice.xml@ 45ab6c7

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 8.2 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 "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;">
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 &lfs101_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
106 <para>
107 Install <application>AccountsService</application> by running the following
108 commands:
109 </para>
110
111<screen revision="sysv"><userinput>mkdir build &amp;&amp;
112cd build &amp;&amp;
113
114meson --prefix=/usr \
115 -Dadmin_group=adm \
116 -Delogind=true \
117 -Dsystemdsystemunitdir=no \
118 .. &amp;&amp;
119ninja</userinput></screen>
120
121<screen revision="systemd"><userinput>mkdir build &amp;&amp;
122cd build &amp;&amp;
123
124meson --prefix=/usr \
125 -Dadmin_group=adm \
126 -Dsystemd=true \
127 .. &amp;&amp;
128ninja</userinput></screen>
129
130 <para>
131 This package does not come with a test suite.
132 </para>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>ninja install</userinput></screen>
139
140 </sect2>
141
142 <sect2 role="commands">
143 <title>Command Explanations</title>
144
145 <para>
146 <parameter>-Dadmin_group=adm</parameter>: This switch sets
147 the group for administrator accounts.
148 </para>
149
150 <para>
151 <option>-Ddocbook=true</option>: This switch enables building
152 the D-Bus interface API documentation.
153 </para>
154<!--
155 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
156 href="../../xincludes/static-libraries.xml"/>
157
158 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
159 href="../../xincludes/gtk-doc-rebuild.xml"/>
160-->
161 </sect2>
162
163 <sect2 role="configuration">
164 <title>Configuring AccountsService</title>
165
166 <para>
167 To allow users in the adm group to be listed as Administrators,
168 execute the following commands as the
169 <systemitem class="username">root</systemitem> user:
170 </para>
171
172<screen role="root"><userinput>cat &gt; /etc/polkit-1/rules.d/40-adm.rules &lt;&lt; "EOF"
173<literal>polkit.addAdminRule(function(action, subject) {
174 return ["unix-group:adm"];
175 });</literal>
176EOF</userinput></screen>
177
178 <sect3 id="accountsservice-init" revision="systemd">
179<!-- <title><phrase revision="sysv">Boot Script</phrase>
180 <phrase revision="systemd">Systemd Units</phrase></title> -->
181 <title>Systemd Unit</title>
182<!-- Autmatically started by D-Bus when needed
183 <para revision="sysv">
184 To start the <command>accounts-daemon</command> daemon at boot,
185 install the
186 <filename>/etc/rc.d/init.d/accounts-daemon</filename> init script from
187 the <xref linkend="bootscripts"/> package
188 by running the following command as the
189 <systemitem class="username">root</systemitem> user:
190 </para>
191-->
192 <para revision="systemd">
193 To start the <command>accounts-daemon</command> daemon at boot,
194 enable the previously installed systemd unit
195 by running the following command as the
196 <systemitem class="username">root</systemitem> user:
197 </para>
198
199 <indexterm zone="accountsservice accountsservice-init">
200 <primary sortas="f-accounts-daemon">accounts-daemon</primary>
201 </indexterm>
202
203<screen role="root" revision="sysv"><userinput>make install-accounts-daemon</userinput></screen>
204
205<screen role="root" revision="systemd"><userinput>systemctl enable accounts-daemon</userinput></screen>
206
207 </sect3>
208
209 </sect2>
210
211 <sect2 role="content">
212 <title>Contents</title>
213
214 <segmentedlist>
215 <segtitle>Installed Programs</segtitle>
216 <segtitle>Installed Libraries</segtitle>
217 <segtitle>Installed Directories</segtitle>
218
219 <seglistitem>
220 <seg>
221 accounts-daemon (library executable)
222 </seg>
223 <seg>
224 libaccountsservice.so
225 </seg>
226 <seg>
227 /usr/include/accountsservice-1.0,
228 /usr/share/doc/accountsservice,
229 /usr/share/gtk-doc/html/libaccountsservice, and
230 /var/lib/AccountsService
231 </seg>
232 </seglistitem>
233 </segmentedlist>
234
235 <variablelist>
236 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
237 <?dbfo list-presentation="list"?>
238 <?dbhtml list-presentation="table"?>
239
240 <varlistentry id="accounts-daemon">
241 <term><command>accounts-daemon</command></term>
242 <listitem>
243 <para>
244 is the <application>AccountsService</application> daemon
245 </para>
246 <indexterm zone="accountsservice accounts-daemon">
247 <primary sortas="b-accounts-daemon">accounts-daemon</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="libaccountsservice">
253 <term><filename class="libraryfile">libaccountsservice.so</filename></term>
254 <listitem>
255 <para>
256 contains the <application>AccountsService</application> API functions
257 </para>
258 <indexterm zone="accountsservice libaccountsservice">
259 <primary sortas="c-libaccountsservice">libaccountsservice.so</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 </variablelist>
265
266 </sect2>
267
268</sect1>
Note: See TracBrowser for help on using the repository browser.