• Arch: EDITOR=nano visudo not working.
    4 replies, posted
Title explains it all, I'm reinstalling Arch and having this problem. I type this in as root obviously to add a user to sudoers. Absolutely nothing opens at all. Any advice?
visudo is just a way to make sure you don't fuck it up. You can override it and just manually edit with nano /etc/sudoers, but don't fuck it up.
It uses nano by default right? I've never been able to use visudo. I never got it to save :v:
It uses whatever the EDITOR is set to. Based on my experience, I can say that on Ubuntu and Debian, it defaults to vim and when nano is installed, the package manager sets the EDITOR variable to nano.
You could try : [code] export EDITOR=nano visudo [/code] Make sure you are root.
Sorry, you need to Log In to post a reply to this thread.