Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visudo not working #332

Closed
thewanderingtraderm opened this issue Dec 3, 2023 · 2 comments
Closed

visudo not working #332

thewanderingtraderm opened this issue Dec 3, 2023 · 2 comments

Comments

@thewanderingtraderm
Copy link

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

millert added a commit that referenced this issue Dec 4, 2023
@millert
Copy link
Collaborator

millert commented Dec 4, 2023

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
Copy link
Author

I set the hostname and now its fixed

millert added a commit that referenced this issue Dec 13, 2023
GitHub issue #332

--HG--
branch : 1.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants