[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 |
|
---|
[0dfefe1] | 16 | <sect1 id="accountsservice" xreflabel="AccountsService-&accountsservice-version;">
|
---|
[eba70158] | 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
|
---|
[0dfefe1] | 88 | <phrase revision="sysv"><xref linkend="elogind"/></phrase>
|
---|
| 89 | <phrase revision="systemd"><xref linkend="systemd"/></phrase>
|
---|
[eba70158] | 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 93 | <para role="optional">
|
---|
[a20845e7] | 94 | <xref linkend="gtk-doc"/> and
|
---|
[eba70158] | 95 | <xref linkend="xmlto"/>
|
---|
[a20845e7] | 96 | <!-- I did not have gtk-doc installed this time, and it worked fine. -->
|
---|
[eba70158] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <para condition="html" role="usernotes">User Notes:
|
---|
| 100 | <ulink url="&blfs-wiki;/accountsservice"/>
|
---|
| 101 | </para>
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="installation">
|
---|
| 105 | <title>Installation of AccountsService</title>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | Install <application>AccountsService</application> by running the following
|
---|
| 109 | commands:
|
---|
| 110 | </para>
|
---|
| 111 |
|
---|
[d60cd837] | 112 | <screen><userinput>mkdir build &&
|
---|
| 113 | cd build &&
|
---|
| 114 |
|
---|
[a2c7abf] | 115 | meson --prefix=/usr \
|
---|
| 116 | -Dadmin_group=adm \
|
---|
| 117 | -Delogind=true \
|
---|
| 118 | -Dsystemdsystemunitdir=no \
|
---|
[a20845e7] | 119 | .. &&
|
---|
| 120 | ninja</userinput></screen>
|
---|
[eba70158] | 121 |
|
---|
| 122 | <para>
|
---|
| 123 | This package does not come with a test suite.
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
[a20845e7] | 130 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[eba70158] | 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="commands">
|
---|
| 135 | <title>Command Explanations</title>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
[a20845e7] | 138 | <parameter>-Dadmin_group=adm</parameter>: This switch sets
|
---|
[eba70158] | 139 | the group for administrator accounts.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
[9a363500] | 142 | <para>
|
---|
[a20845e7] | 143 | <option>-Ddocbook=true</option>: This switch enables building
|
---|
[9a363500] | 144 | the D-Bus interface API documentation.
|
---|
| 145 | </para>
|
---|
[a20845e7] | 146 | <!--
|
---|
[eba70158] | 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 148 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 149 |
|
---|
| 150 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 151 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[a20845e7] | 152 | -->
|
---|
[eba70158] | 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="configuration">
|
---|
| 156 | <title>Configuring AccountsService</title>
|
---|
| 157 |
|
---|
| 158 | <sect3 id="accountsservice-init">
|
---|
| 159 | <title>Systemd Units</title>
|
---|
| 160 |
|
---|
| 161 | <para>
|
---|
| 162 | To start the <command>accounts-daemon</command> daemon at boot,
|
---|
| 163 | enable the previously installed systemd unit by
|
---|
| 164 | running the following command as the
|
---|
| 165 | <systemitem class="username">root</systemitem> user:
|
---|
| 166 | </para>
|
---|
| 167 |
|
---|
| 168 | <indexterm zone="accountsservice accountsservice-init">
|
---|
| 169 | <primary sortas="f-accounts-daemon">accounts-daemon</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 |
|
---|
| 172 | <screen role="root"><userinput>systemctl enable accounts-daemon</userinput></screen>
|
---|
| 173 |
|
---|
| 174 | </sect3>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | <sect2 role="content">
|
---|
| 179 | <title>Contents</title>
|
---|
| 180 |
|
---|
| 181 | <segmentedlist>
|
---|
| 182 | <segtitle>Installed Programs</segtitle>
|
---|
| 183 | <segtitle>Installed Libraries</segtitle>
|
---|
| 184 | <segtitle>Installed Directories</segtitle>
|
---|
| 185 |
|
---|
| 186 | <seglistitem>
|
---|
| 187 | <seg>
|
---|
[9a363500] | 188 | accounts-daemon (library executable)
|
---|
[eba70158] | 189 | </seg>
|
---|
| 190 | <seg>
|
---|
| 191 | libaccountsservice.so
|
---|
| 192 | </seg>
|
---|
| 193 | <seg>
|
---|
| 194 | /usr/include/accountsservice-1.0,
|
---|
[9a363500] | 195 | /usr/share/doc/accountsservice,
|
---|
[eba70158] | 196 | /usr/share/gtk-doc/html/libaccountsservice, and
|
---|
| 197 | /var/lib/AccountsService
|
---|
| 198 | </seg>
|
---|
| 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="accounts-daemon">
|
---|
| 208 | <term><command>accounts-daemon</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
| 211 | is the <application>AccountsService</application> daemon.
|
---|
| 212 | </para>
|
---|
| 213 | <indexterm zone="accountsservice accounts-daemon">
|
---|
| 214 | <primary sortas="b-accounts-daemon">accounts-daemon</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="libaccountsservice">
|
---|
| 220 | <term><filename class="libraryfile">libaccountsservice.so</filename></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
| 223 | contains the <application>AccountsService</application> API functions.
|
---|
| 224 | </para>
|
---|
| 225 | <indexterm zone="accountsservice libaccountsservice">
|
---|
| 226 | <primary sortas="c-libaccountsservice">libaccountsservice.so</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | </variablelist>
|
---|
| 232 |
|
---|
| 233 | </sect2>
|
---|
| 234 |
|
---|
| 235 | </sect1>
|
---|