[97ea810] | 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 | "http://www.freedesktop.org/software/accountsservice/accountsservice-&accountsservice-version;.tar.xz">
|
---|
| 9 | <!ENTITY accountsservice-download-ftp " ">
|
---|
| 10 | <!ENTITY accountsservice-md5sum "aa5f4da715b8ec19024e39def88831a0">
|
---|
| 11 | <!ENTITY accountsservice-size "356 KB">
|
---|
| 12 | <!ENTITY accountsservice-buildsize "12 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 | <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 set
|
---|
| 35 | of <application>D-Bus</application> interfaces for querying and manipulating
|
---|
| 36 | user account information and an implementation of these interfaces based on
|
---|
| 37 | the usermod(8), useradd(8) and userdel(8) commands.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
| 40 | &lfs75_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="polkit"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
| 85 | <xref linkend="gobject-introspection"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
| 90 | <xref linkend="gtk-doc"/> and
|
---|
| 91 | <xref linkend="xmlto"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <para condition="html" role="usernotes">User Notes:
|
---|
| 95 | <ulink url="&blfs-wiki;/accountsservice"/>
|
---|
| 96 | </para>
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of AccountsService</title>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Install <application>AccountsService</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 108 | --sysconfdir=/etc \
|
---|
[c60b902] | 109 | --localstatedir=/var \
|
---|
[97ea810] | 110 | --enable-admin-group=adm \
|
---|
| 111 | --disable-static \
|
---|
[c60b902] | 112 | --enable-systemd &&
|
---|
[97ea810] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | This package does not come with a test suite.
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | <parameter>--enable-admin-group=adm</parameter>: This switch sets
|
---|
| 132 | group for administrator accounts.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | <parameter>--enable-systemd</parameter>: This switch enables
|
---|
| 137 | systemd to be used.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 141 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 142 |
|
---|
| 143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 144 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
[c60b902] | 148 | <sect2 role="configuration">
|
---|
| 149 | <title>Configuring accountsservice</title>
|
---|
| 150 |
|
---|
| 151 | <sect3 id="accountsservice-init">
|
---|
| 152 | <title>Systemd Units</title>
|
---|
| 153 |
|
---|
| 154 | <para>
|
---|
| 155 | To start the <command>accounts-daemon</command> daemon at boot,
|
---|
| 156 | enable the previously installed systemd unit by
|
---|
| 157 | running the following command as the
|
---|
| 158 | <systemitem class="username">root</systemitem> user:
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
| 161 | <indexterm zone="accountsservice accountsservice-init">
|
---|
| 162 | <primary sortas="f-accountsservice">AccountsService</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 |
|
---|
| 165 | <screen role="root"><userinput>systemctl enable accounts-daemon</userinput></screen>
|
---|
| 166 |
|
---|
| 167 | </sect3>
|
---|
| 168 |
|
---|
| 169 | </sect2>
|
---|
| 170 |
|
---|
[97ea810] | 171 | <sect2 role="content">
|
---|
| 172 | <title>Contents</title>
|
---|
| 173 |
|
---|
| 174 | <segmentedlist>
|
---|
| 175 | <segtitle>Installed Program</segtitle>
|
---|
| 176 | <segtitle>Installed Library</segtitle>
|
---|
| 177 | <segtitle>Installed Directories</segtitle>
|
---|
| 178 |
|
---|
| 179 | <seglistitem>
|
---|
| 180 | <seg>
|
---|
| 181 | accounts-daemon
|
---|
| 182 | </seg>
|
---|
| 183 | <seg>
|
---|
| 184 | libaccountsservice.so
|
---|
| 185 | </seg>
|
---|
| 186 | <seg>
|
---|
| 187 | /usr/include/accountsservice-1.0,
|
---|
| 188 | /usr/lib/accountsservice,
|
---|
| 189 | /usr/share/gtk-doc/html/libaccountsservice, and
|
---|
| 190 | /var/lib/AccountsService
|
---|
| 191 | </seg>
|
---|
| 192 | </seglistitem>
|
---|
| 193 | </segmentedlist>
|
---|
| 194 |
|
---|
| 195 | <variablelist>
|
---|
| 196 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 197 | <?dbfo list-presentation="list"?>
|
---|
| 198 | <?dbhtml list-presentation="table"?>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="accounts-daemon">
|
---|
| 201 | <term><command>accounts-daemon</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>
|
---|
| 204 | is the <application>AccountsService</application> daemon.
|
---|
| 205 | </para>
|
---|
| 206 | <indexterm zone="accountsservice accounts-daemon">
|
---|
| 207 | <primary sortas="b-accounts-daemon">accounts-daemon</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="libaccountsservice">
|
---|
| 213 | <term><filename class="libraryfile">libaccountsservice.so</filename></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>
|
---|
| 216 | contains the <application>AccountsService</application> API functions.
|
---|
| 217 | </para>
|
---|
| 218 | <indexterm zone="accountsservice libaccountsservice">
|
---|
| 219 | <primary sortas="c-libaccountsservice">libaccountsservice.so</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | </variablelist>
|
---|
| 225 |
|
---|
| 226 | </sect2>
|
---|
| 227 |
|
---|
| 228 | </sect1>
|
---|