All rights reserved, please indicate the source when citing
visudo - Edit /etc/sudoers
The visudo command can only be executed by the superuser. Its function is to open and modify the sudoer list file, which is "/etc/sudoers" (users who can use sudo are referred to as "sudoers"). When using visudo to edit the file, it also checks the basic syntax to prevent errors.
For more information on using visudo and configuring the sudoers list file, which is "/etc/sudoers", you can refer to the provided link