[sudo-users] visudo: internal error, tried to emalloc2(0)
Michael W. Lucas
mwlucas at michaelwlucas.com
Sun Aug 11 08:35:49 MDT 2013
I'm running sudo 1.8.7 (from packages) on FreeBSD 9.1, and can
reliably generate $SUBJECT with the following sudoers rule:
visudo tells the the configuration file is OK:
# visudo -c
/usr/local/etc/sudoers: parsed OK
but when I try to run visudo, I get:
visudo: internal error, tried to emalloc2(0)
Removing the "don't lecture wheel" rule fixes the issue.
Michael W. Lucas - mwlucas at michaelwlucas.com, Twitter @mwlauthor
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code "ILUVMICHAEL" gets you 30% off & helps me.
More information about the sudo-users