sudo-project / sudo

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

visudo not working #332

Closed thewanderingtraderm closed 12 months ago

thewanderingtraderm commented 1 year ago

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

millert commented 1 year 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 12 months ago

I set the hostname and now its fixed