xxx is not in the sudoers file. This incident will be reported
查看Block 的大小sudo dumpe2fs /dev/sda1 | grep "Block size:"的时候遇到如下错误:xxx is not in the sudoers file. This incident will be reported原因xxx是当前的用户名,原因是用户没有加入到sudo的配置文件里解决办法1.切换到root用户,运行visudo命令visudu2.在打开的配置文件中增加内容在root ALL=(ALL) ALL下面添加一行xxx AL.