Public bug reported:

This is tracked in the upstream bug
https://github.com/trifectatechfoundation/sudo-rs/issues/1572

In 26.04 LTS, sudo-rs fails when you have any group in your system with
many users; the trigger is long lines in /etc/group or `getent group`
returning many users. When that happens:

  kiko@solitaire:~$ sudo vi /etc/sudoers
  sudo: I'm sorry kiko. I'm afraid I can't do that

whereas sudo.ws works fine.

One workaround is to use the group ID in sudoers (using the %#id
format); shortening groups and using sudo.ws are others.

This should qualify for an SRU.

** Affects: sudo-rs
     Importance: Unknown
         Status: Unknown

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

** Bug watch added: github.com/trifectatechfoundation/sudo-rs/issues #1572
   https://github.com/trifectatechfoundation/sudo-rs/issues/1572

** Also affects: sudo-rs via
   https://github.com/trifectatechfoundation/sudo-rs/issues/1572
   Importance: Unknown
       Status: Unknown

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

Title:
  sudo-rs fails with "I'm sorry" message in systems with large groups

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


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

Reply via email to