sudo-project / sudo

Utility to execute a command as another user
https://www.sudo.ws
Other
1.15k stars 208 forks source link

visudo not working #332

Closed thewanderingtraderm closed 7 months ago

thewanderingtraderm commented 7 months ago

when I run visudo it shows this error : visudo: sudoers_sethost: unable to allocate memory I am on FreeBSD 15 CURRENT

millert commented 7 months ago

That's surprising since that function does not allocate much memory. It is possible that the actual problem is due to the hostname not being set. Could that be the case on the affected system? Also, does sudo itself work properly?

thewanderingtraderm commented 7 months ago

I set the hostname and now its fixed