Skip to content

pam_groups (/etc/security/group.conf) is ignored #1660

Description

@staeglis

Describe the bug
So far we use /etc/security/group.conf to map AD users and groups to the local sudo group. This worked with the original sudo implementation but not with sudo.rs

To Reproduce
Steps to reproduce the behavior:

  1. Enable pam_groups
  2. Map user $testuser to sudo group via /etc/security/group.conf
  3. Start new session as user $testuser
  4. run sudo command, e.g sudo -i

Observed behavior

$ sudo -i
sudo: I'm sorry $testuser. I'm afraid I can't do that

Expected behavior
sudo should ask for password

Environment (please complete the following information):

  • Linux distribution: [Ubuntu 26.04]
  • sudo-rs version [sudo-rs 0.2.13-0ubuntu1]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-operatingsystemLow-level glue layersbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions