Skip to content

Howdy PAM module fails on Ubuntu 25.04 (development) after both PPA & source install #1046

@MCJennings93

Description

@MCJennings93

Howdy version 3.0.0 BETA (Tested 2.6.1 as well)
Ubuntu 25.04 (Plucky)

The Howdy PAM module does not activate for sudo on a fresh installation of Ubuntu 25.04. The core application (howdy test, howdy add) is functional after manual fixes, but the final authentication step never engages, falling back immediately to the password prompt.

Installation Attempts & Issues Encountered:

  • Initial install is blocked by Python's externally-managed-environment.
  • After working around the environment block, the PAM script (pam.py) crashes with ModuleNotFoundError: No module named 'ConfigParser', indicating a Python 2 vs 3 incompatibility.
  • After manually fixing the script (import configparser), the PAM module still fails to activate for sudo.

Then I purged the PPA version and attempted to build from Source (latest main branch). With the below problems, I implemented the solutions listed below each one.

meson setup fails with FileNotFoundError: /usr/bin/python.
Fix: sudo apt install python-is-python3.

meson setup fails due to missing dependency inireader.
Fix: sudo apt install libinih-dev.

meson setup fails due to missing dependency libevdev.
Fix: sudo apt install libevdev-dev.

After a successful build, howdy add fails because dlib data models are missing.
Fix: Manually run /usr/local/share/dlib-data/install.sh.

howdy add fails because device_path is not configured.
Fix: Manually edit config.ini to set the correct camera path.

The PAM module (pam_howdy.so) is installed, but the PAM service file (/etc/pam.d/sudo) is not updated.
Fix: Manually add auth sufficient pam_howdy.so to /etc/pam.d/sudo.

Current Status:
After all of the above manual fixes, the application is partially working:

sudo howdy test launches the camera and successfully detects a face.

sudo howdy add successfully adds face models.

However, running sudo ls (or any other sudo command) in a new terminal immediately prompts for a password. The camera does not activate. journalctl shows no new errors.

I'm not sure what went wrong in my process or if it's a compatibility issue with the 25.04 Ubuntu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions