“familiarity breeds contempt”
I get very comfortable with using the vim editor (take cover… flame way ensuing) so comfortable that using any other editor leaves me just a bit unnerved. I constantly use it to update sudoers. The best way to modify sudoers is to add a supplimental inclusion file under /etc/sudoers.d/whatevername - so the other day I needed to add an entry to allow the user for my simple monitoring program (xymon) to be able to run “sudo ufw status” without a password and report back to the monitor server.
I fired up
sudo vim /etc/sudoers.d/xymon
and started to add the needed line:
xymon ALL = NOPASSWD: /usr/sbin/ufw status
but I got halfway through and could not remember the exact location»