[eba70158] | 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
|
---|
[8dfc5c3] | 8 | "https://www.freedesktop.org/software/accountsservice/accountsservice-&accountsservice-version;.tar.xz">
|
---|
[eba70158] | 9 | <!ENTITY accountsservice-download-ftp " ">
|
---|
[a20845e7] | 10 | <!ENTITY accountsservice-md5sum "6420f2e619ddcf92230d8f10bad049fe">
|
---|
| 11 | <!ENTITY accountsservice-size "92 KB">
|
---|
| 12 | <!ENTITY accountsservice-buildsize "9.1 MB">
|
---|
[eba70158] | 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 |
|
---|
[c503e811] | 41 | &lfs83_checked;
|
---|
[eba70158] | 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">
|
---|
[a20845e7] | 81 | <xref linkend="libgcrypt"/> and
|
---|
[eba70158] | 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">
|
---|
[a20845e7] | 93 | <xref linkend="gtk-doc"/> and
|
---|
[eba70158] | 94 | <xref linkend="xmlto"/>
|
---|
[a20845e7] | 95 | <!-- I did not have gtk-doc installed this time, and it worked fine. -->
|
---|
[eba70158] | 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 |
|
---|
[d60cd837] | 111 | <screen><userinput>mkdir build &&
|
---|
| 112 | cd build &&
|
---|
| 113 |
|
---|
| 114 | meson --prefix=/usr \
|
---|
[a20845e7] | 115 | -Dadmin_group=adm \
|
---|
| 116 | -Dsystemd=true \
|
---|
| 117 | .. &&
|
---|
| 118 | ninja</userinput></screen>
|
---|
[eba70158] | 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 |
|
---|
[a20845e7] | 128 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[eba70158] | 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
[a20845e7] | 136 | <parameter>-Dadmin_group=adm</parameter>: This switch sets
|
---|
[eba70158] | 137 | the group for administrator accounts.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
[9a363500] | 140 | <para>
|
---|
[a20845e7] | 141 | <option>-Ddocbook=true</option>: This switch enables building
|
---|
[9a363500] | 142 | the D-Bus interface API documentation.
|
---|
| 143 | </para>
|
---|
[a20845e7] | 144 | <!--
|
---|
[eba70158] | 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"/>
|
---|
[a20845e7] | 150 | -->
|
---|
[eba70158] | 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | <sect2 role="configuration">
|
---|
| 154 | <title>Configuring AccountsService</title>
|
---|
| 155 |
|
---|
| 156 | <sect3 id="accountsservice-init">
|
---|
| 157 | <title>Systemd Units</title>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
| 160 | To start the <command>accounts-daemon</command> daemon at boot,
|
---|
| 161 | enable the previously installed systemd unit by
|
---|
| 162 | running the following command as the
|
---|
| 163 | <systemitem class="username">root</systemitem> user:
|
---|
| 164 | </para>
|
---|
| 165 |
|
---|
| 166 | <indexterm zone="accountsservice accountsservice-init">
|
---|
| 167 | <primary sortas="f-accounts-daemon">accounts-daemon</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 |
|
---|
| 170 | <screen role="root"><userinput>systemctl enable accounts-daemon</userinput></screen>
|
---|
| 171 |
|
---|
| 172 | </sect3>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | <sect2 role="content">
|
---|
| 177 | <title>Contents</title>
|
---|
| 178 |
|
---|
| 179 | <segmentedlist>
|
---|
| 180 | <segtitle>Installed Programs</segtitle>
|
---|
| 181 | <segtitle>Installed Libraries</segtitle>
|
---|
| 182 | <segtitle>Installed Directories</segtitle>
|
---|
| 183 |
|
---|
| 184 | <seglistitem>
|
---|
| 185 | <seg>
|
---|
[9a363500] | 186 | accounts-daemon (library executable)
|
---|
[eba70158] | 187 | </seg>
|
---|
| 188 | <seg>
|
---|
| 189 | libaccountsservice.so
|
---|
| 190 | </seg>
|
---|
| 191 | <seg>
|
---|
| 192 | /usr/include/accountsservice-1.0,
|
---|
[9a363500] | 193 | /usr/share/doc/accountsservice,
|
---|
[eba70158] | 194 | /usr/share/gtk-doc/html/libaccountsservice, and
|
---|
| 195 | /var/lib/AccountsService
|
---|
| 196 | </seg>
|
---|
| 197 | </seglistitem>
|
---|
| 198 | </segmentedlist>
|
---|
| 199 |
|
---|
| 200 | <variablelist>
|
---|
| 201 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 202 | <?dbfo list-presentation="list"?>
|
---|
| 203 | <?dbhtml list-presentation="table"?>
|
---|
| 204 |
|
---|
| 205 | <varlistentry id="accounts-daemon">
|
---|
| 206 | <term><command>accounts-daemon</command></term>
|
---|
| 207 | <listitem>
|
---|
| 208 | <para>
|
---|
| 209 | is the <application>AccountsService</application> daemon.
|
---|
| 210 | </para>
|
---|
| 211 | <indexterm zone="accountsservice accounts-daemon">
|
---|
| 212 | <primary sortas="b-accounts-daemon">accounts-daemon</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="libaccountsservice">
|
---|
| 218 | <term><filename class="libraryfile">libaccountsservice.so</filename></term>
|
---|
| 219 | <listitem>
|
---|
| 220 | <para>
|
---|
| 221 | contains the <application>AccountsService</application> API functions.
|
---|
| 222 | </para>
|
---|
| 223 | <indexterm zone="accountsservice libaccountsservice">
|
---|
| 224 | <primary sortas="c-libaccountsservice">libaccountsservice.so</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | </variablelist>
|
---|
| 230 |
|
---|
| 231 | </sect2>
|
---|
| 232 |
|
---|
| 233 | </sect1>
|
---|