1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 10:15:33 +02:00
tldr/pages/common/visudo.md
2022-06-27 07:17:40 -03:00

344 B

visudo

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

  • 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