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.
This package is known to build and work properly using an LFS-10.0 platform.
Download (HTTP): https://www.freedesktop.org/software/accountsservice/accountsservice-0.6.55.tar.xz
Download MD5 sum: 6e4c6fbd490260cfe17de2e76f5d803a
Download size: 96 KB
Estimated disk space required: 10 MB
Estimated build time: 0.1 SBU
libgcrypt-1.8.6 and Polkit-0.117
gobject-introspection-1.64.1 and elogind-243.7
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/accountsservice
Install AccountsService by running the following commands:
mkdir build && cd build && meson --prefix=/usr \ -Dadmin_group=adm \ -Delogind=true \ -Dsystemdsystemunitdir=no \ .. && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install
-Dadmin_group=adm
: This
switch sets the group for administrator accounts.
-Ddocbook=true
: This switch enables
building the D-Bus interface API documentation.
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
To start the accounts-daemon daemon at boot,
install the /etc/rc.d/init.d/accounts-daemon
init script
from the blfs-bootscripts-20200818 package
by running the following command as the root
user:
make install-accounts-daemon
Last updated on 2020-08-20 11:35:03 -0700