Linux common commands-103: visudo

visudo command is used to open the /etc/sudoers file for easy editing and setting sudo , which requires root privileges.

Syntax format: visudo [parameter]

Common parameters


 sudo visudo

 # 文件编辑后,可以先检查一下sudo visudo -c

This article is reprinted from
This site is for inclusion only, and the copyright belongs to the original author.