visudo doesn't show error message

Bug #1067800 reported by thouters
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
New
Undecided
Unassigned

Bug Description

I added a line to the sudoers file with "sudo visudo"
when I exited vim, I was presented with this options menu, but never
saw a message that the config I wrote is corrupt! I ignored the DANGER
because I *asumed* (my bad) that the authors are paranoid about saving their config file.

thomas@thomas-VirtualBox ~ % sudo visudo
[sudo] password for thomas:
(... editting)
(I ran a which openocd command from vim, thus the next lines)
[No write since last change]
/usr/bin/openocd

Press ENTER or type command to continue
(editting... :wq)
What now?
Options are:
  (e)dit sudoers file again
  e(x)it without saving changes to sudoers file
  (Q)uit and save changes to sudoers file (DANGER!)

What now? e
What now? q
Options are:
  (e)dit sudoers file again
  e(x)it without saving changes to sudoers file
  (Q)uit and save changes to sudoers file (DANGER!)

This is on the ubuntu beta
thomas@thomas-VirtualBox ~ % lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.