%general-entities; ]> AccountsService-&accountsservice-version; AccountsService Introduction to AccountsService The AccountsService package provides a set of D-Bus interfaces for querying and manipulating user account information and an implementation of those interfaces based on the usermod(8), useradd(8) and userdel(8) commands. &lfs113_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &accountsservice-md5sum; Download size: &accountsservice-size; Estimated disk space required: &accountsservice-buildsize; Estimated build time: &accountsservice-time; AccountsService Dependencies Required Recommended , (runtime), and Optional and Optional (for tests) and Installation of AccountsService First, rename a directory whose presence prevents the build system from running if is not installed: mv tests/dbusmock{,-tests} Then fix the tests so that the new directory is found: sed -e '/accounts_service\.py/s/dbusmock/dbusmock-tests/' \ -i tests/test-libaccountsservice.py Fix one test that fails if the locale is not installed: sed -i '/^SIMULATED_SYSTEM_LOCALE/s/en_IE.UTF-8/en_HK.iso88591/' tests/test-daemon.py Install AccountsService by running the following commands: mkdir build && cd build && meson setup .. \ --prefix=/usr \ --buildtype=release \ -Dadmin_group=adm \ -Delogind=true \ -Dsystemdsystemunitdir=no && ninja mkdir build && cd build && meson setup .. \ --prefix=/usr \ --buildtype=release \ -Dadmin_group=adm && ninja To test the package, issue ninja test. Now, as the root user: ninja install Command Explanations -Dadmin_group=adm: This switch sets the group for administrator accounts. : This switch enables building the D-Bus interface API documentation (needs ). : This switch enables building the libaccountsservice API documentation (needs ). : This switch disables building the vala bindings. Use it if you have not installed . Configuring AccountsService To allow users in the adm group to be listed as Administrators, execute the following commands as the root user: cat > /etc/polkit-1/rules.d/40-adm.rules << "EOF" polkit.addAdminRule(function(action, subject) { return ["unix-group:adm"]; }); EOF Systemd Unit To start the accounts-daemon daemon at boot, enable the previously installed systemd unit by running the following command as the root user: accounts-daemon systemctl enable accounts-daemon Contents Installed Programs Installed Libraries Installed Directories accounts-daemon (in /usr/libexec) libaccountsservice.so /usr/include/accountsservice-1.0, /usr/share/accountsservice, /usr/share/gtk-doc/html/libaccountsservice (optional), and /var/lib/AccountsService Short Descriptions accounts-daemon is the AccountsService daemon accounts-daemon libaccountsservice.so contains the AccountsService API functions libaccountsservice.so