Contents
/usr/libexec
)
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.3 platform.
Download (HTTP): https://www.freedesktop.org/software/accountsservice/accountsservice-22.08.8.tar.xz
Download MD5 sum: 6dae0b50b48abe61296c8ecf90068c1f
Download size: 100 KB
Estimated disk space required: 7.3 MB
Estimated build time: less than 0.1 SBU
gobject-introspection-1.74.0 and elogind-246.10
GTK-Doc-1.33.2 and xmlto-0.0.28
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/accountsservice
Install AccountsService by running the following commands:
mkdir build && cd build && meson --prefix=/usr \ --buildtype=release \ -Dadmin_group=adm \ -Delogind=true \ -Dsystemdsystemunitdir=no \ .. && 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
/usr/libexec
)