Ubuntu ยท GDM SSO

Linux install guide

Passwordless employee login at the GDM screen via PAM, fleet heartbeat, and optional NSS/LDAP.

Ubuntu 22.04 / 24.04 Agent 1.14.0 amd64

๐Ÿ“ฆ Download .deb

Single-host install โ€” GDM agent, PAM module, and capnis-enroll CLI.

๐Ÿ—‚๏ธ Fleet (APT mirror)

Multi-host rollout via internal APT repository.

sources.list
deb [signed-by=...] https://capnis.one/downloads/workstation/apt/ ./
โœ“

Before you start

โ†’

Step-by-step (.deb)

  1. 1

    Download the package

    Direct path: /downloads/workstation/capnis-workstation_1.14.0_amd64.deb

  2. 2

    Install

    bash
    sudo dpkg -i capnis-workstation_1.14.0_amd64.deb
    sudo apt-get install -f
  3. 3

    Get Linux client_id

    php artisan oauth:show-workstation-clients linux or Admin UI. Copy UUID for Capnis Ubuntu Workstation.

  4. 4

    Configure /etc/capnis-workstation/config.yaml

    config.yaml
    sso_host: https://capnis.one
    client_id: YOUR_LINUX_CLIENT_ID
    redirect_uri: capnisworkstation://oauth/callback
    scopes: view-customer openid profile email roles:read
    subject_type: employee
    verify
    capnis-enroll show-config
  5. 5

    Enable GDM agent

    systemd
    sudo systemctl enable --now capnis-gdm-agent
  6. 6

    Verify PAM & run setup

    Ensure /etc/pam.d/gdm-password includes @include capnis-gdm before pam_unix.

    bash
    sudo capnis-enroll setup
    capnis-enroll pilot-smoke
  7. 7

    Enroll

    bash
    capnis-enroll device-enroll
    # or per-user:
    capnis-enroll enroll
  8. 8

    Test GDM login

    Sign out. At GDM, sign in with your Capnis-enrolled account (passwordless when online).

  9. 9

    Confirm in Admin

    Workstation enrollments ยท employees use My Workstations to revoke.

+

APT mirror install

bash
curl -fsSL https://capnis.one/downloads/workstation/capnis-workstation.gpg \
  | sudo gpg --dearmor -o /usr/share/keyrings/capnis-workstation.gpg

echo "deb [signed-by=/usr/share/keyrings/capnis-workstation.gpg] https://capnis.one/downloads/workstation/apt/ ./" \
  | sudo tee /etc/apt/sources.list.d/capnis-workstation.list

sudo apt update && sudo apt install capnis-workstation

Continue from step 3 above (client_id, config, enroll).

โš™

Optional fleet timers

systemd
sudo systemctl enable --now capnis-workstation-heartbeat.timer
sudo systemctl enable --now capnis-workstation-update.timer
sudo systemctl enable --now capnis-workstation-inventory.timer
Break-glass: Users in break_glass_users always log in with a local password at GDM.