Sodamhan.com

TL;DR

visudo

Safely edit the sudoers file. More information: https://www.sudo.ws/docs/man/visudo.man.

  • Edit the sudoers file:

sudo visudo

  • Check the sudoers file for errors:

sudo visudo -c

  • Edit the sudoers file using a specific editor:

sudo EDITOR=editor visudo

  • Display version information:

visudo --version

This document was created using the contents of the tldr project.