How do I edit an invalid visudo file? Here is what happens: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28 sudo: no ...
What are the differences between sudo, su, visudo, chroot, and gksu ?
When doing sudo visudo, the default editor is nano. I want to change it to vi or vim. I already made vim be the default application to replace gedit upon opening php, plain text, c and h files, by ...
When I use visudo, it always opens it with nano editor. How to change the editor to vim?
In /etc/sudoers, it is said "This file MUST be edited with the 'visudo' command as root." My question is why must this file be edited with 'visudo'. It seems I was able to edit the file successfully ...
Background I'm trying to automatically execute a command that mounts a password protected Samba share when my user logs in. The catch is, I share my laptop with another user, and I don't want the ...