sudo segfaults when /etc/sudoers has syntax error
Bug #1918876 reported by
Owen Healy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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
tags: | added: amd64 groovy |
To post a comment you must log in.