3 ms·
Many users first encounter with vi is through the process of learning to edit various system files. They are already on a path with a somewhat steep learning cu
by boomboomsubban 6y ago
Many users first encounter with vi is through the process of learning to edit various system files. They are already on a path with a somewhat steep learning curve, and are suddenly facing a completely unrelated one with no guidance on how to proceed.
Steep learning curves are fine, but people should be able to choose whether they would benefit from them and when they should start the process.
- jaekash 6y agoThey can, by changing their editor.
- boomboomsubban 6y agoEven if they were wise enough to change that ahead of time, they then run "visudo" and are stuck.
- jaekash 6y agoI guess if you don't want to run visudo ... well, I mean there is really only one solution, don't run it. I never run it and I am still breathing.
- Jonnax 6y agoMaybe you don't know what it is. But it's a utility to edit the sudoers file with validation that prevents you from saving a broken file. If the file is broken, you cannot use sudo. visudo on the latest Ubuntu defaults to nano.