Linux serverNETWORK ADMINISTRATIONS

Centos 7 : user is not allowed to run sudo on localhost. This incident will be reported

when i’m trying to use : sudo rpm -Uvh, it showing “user is not allowed to run sudo on localhost. This incident will be reported”.

So in this video, will help you how to fixing the problem.

source

centos 7

2 thoughts on “Centos 7 : user is not allowed to run sudo on localhost. This incident will be reported

  • Great job. Using Centos 9 stream, but this is still relevant. Thank you Ambar.

  • you should you visudo command instead of editing /etc/sudoers directly .

Comments are closed.