Public bug reported:

If /etc/sudoers contains the following (syntactically invalid) line:

    %sudo   ALL=(ALL:ALL) NOPASSWD ALL

the sudo command will segfault:

    $ sudo true
    [1]    12958 segmentation fault (core dumped)  sudo true

A better result would be to fail or warn with a syntax error.

Release: groovy
Architecture: amd64
sudo version: 1.9.1-1ubuntu1.1

** Affects: sudo (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  sudo segfaults when /etc/sudoers has syntax error

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to