Bugzilla – Bug 937
visudo tries to use vi even though editor is set to nano
Last modified: 2020-08-03 02:43:32 MDT
visudo tries to use vi (which is not installed on my system) even though editor is set in sudoers to /usr/bin/nano, weirdly enough it only does this if I pass -f /path/to/alternate/sudoers, it correctly uses nano whenever I want to edit the default /etc/sudoers file. I have these two lines added to my sudoers file: Defaults env_reset Defaults editor=/usr/bin/nano, !env_editor
Never mind this, I should've read the manual more carefully, sorry for the noise.