[sudo-users] visudo: internal error, tried to emalloc2(0)

JR Aquino JR.Aquino at citrix.com
Sun Aug 11 09:41:42 MDT 2013


Hrm, I'm running the same version and cannot replicate the issue.

More annoyingly is that I can't actually get the lecture negation to work at all via any Defaults syntax.

Odd.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jr Aquino | Sr. Information Security Specialist
GIAC | Certified Incident Handler 
GIAC | WebApp Penetration Tester
GXPN | GIAC Advanced Penetration Tester and Exploit Researcher
Citrix Online | 7408 Hollister Avenue | Goleta, CA 93117
T:  +1 805.690.3478
C: +1 805.717.0365
jr.aquino at citrixonline.com
http://www.citrixonline.com

On Aug 11, 2013, at 8:11 AM, "JR Aquino" <JR.Aquino at citrix.com> wrote:

> Do you get the same result if you try?:
> 
> Defaults:%wheel lecture=never
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Jr Aquino | Sr. Information Security Specialist
> GIAC | Certified Incident Handler 
> GIAC | WebApp Penetration Tester
> GXPN | GIAC Advanced Penetration Tester and Exploit Researcher
> Citrix Online | 7408 Hollister Avenue | Goleta, CA 93117
> T:  +1 805.690.3478
> C: +1 805.717.0365
> jr.aquino at citrixonline.com
> http://www.citrixonline.com
> 
> On Aug 11, 2013, at 7:36 AM, "Michael W. Lucas" <mwlucas at michaelwlucas.com> wrote:
> 
>> Hi,
>> 
>> I'm running sudo 1.8.7 (from packages) on FreeBSD 9.1, and can
>> reliably generate $SUBJECT with the following sudoers rule:
>> 
>> Defaults:%wheel !lecture
>> 
>> 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
>> visudo: internal error, tried to emalloc2(0)
>> #
>> 
>> Removing the "don't lecture wheel" rule fixes the issue.
>> 
>> Any suggestions?
>> 
>> Thanks,
>> ==ml
>> 
>> -- 
>> Michael W. Lucas  -  mwlucas at michaelwlucas.com, Twitter @mwlauthor 
>> http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
>> Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
>> coupon code "ILUVMICHAEL" gets you 30% off & helps me.
>> ____________________________________________________________
>> sudo-users mailing list <sudo-users at sudo.ws>
>> For list information, options, or to unsubscribe, visit:
>> http://www.sudo.ws/mailman/listinfo/sudo-users
> 
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users



More information about the sudo-users mailing list