Public bug reported:

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

Steps to reproduce the behavior:

    Enable pam_groups
    Map user $testuser to sudo group via /etc/security/group.conf
    Start new session as user $testuser
    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

This was fixed upstream:

https://github.com/trifectatechfoundation/sudo-rs/issues/1660

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: sudo-rs 0.2.13-0ubuntu1
ProcVersionSignature: Ubuntu 7.0.0-30.30-generic 7.0.12
Uname: Linux 7.0.0-30-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Sep  1 16:34:04 2026
ProcEnviron:
 LANG=de_DE.UTF-8
 LANGUAGE=de
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: rust-sudo-rs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: rust-sudo-rs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166035

Title:
  pam_groups (/etc/security/group.conf) is ignored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2166035/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to