Thanks. I looked into libblkid and it seems simple enough. I can include it as
a new authentication method.
Still the systemd dependency might not be as bad as I thought
initially. It turns out that the devices in by-uuid are created by
udev. It is a fact that udev is part of systemd, but there
On Wed, Apr 29, 2020 at 08:02:59PM +0100, lmsru...@gmail.com wrote:
> Hi,
>
> I have just developed a PAM module that can be used to log into linux
> by using a usb drive. The software was designed according to the
> suckless philosophy of simplicity, clarity and frugality. However it
> does depe
Instead of looking for a specific file via the file system which would "depend"
on systemd in as much as systemd provides the /dev/by-uuid/ directory (AFAIR
anyway), maybe look into the blkid.h file included in linux-utils.
libblkid(3), blkid(8) are some good man pages to start out with.
I haven'