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-11.1 platform.
Download (HTTP): https://www.freedesktop.org/software/accountsservice/accountsservice-22.07.5.tar.xz
Download MD5 sum: 76dd5e16be97d63b3f9f7f5462859715
Download size: 100 KB
Estimated disk space required: 5.5 MB
Estimated build time: less than 0.1 SBU
gobject-introspection-1.70.0 and Systemd-250
GTK-Doc-1.33.2 and xmlto-0.0.28
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/accountsservice
First, fix an issue in the systemd unit that causes runtime issues:
sed -i '/PrivateTmp/d' data/accounts-daemon.service.in
Install AccountsService by running the following commands:
mkdir build && cd build && meson --prefix=/usr \ --buildtype=release \ -Dadmin_group=adm \ .. && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-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
Last updated on