LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Question Related to sudo (https://www.linuxquestions.org/questions/linux-newbie-8/question-related-to-sudo-839460/)

crahuldba@gmail.com 10-21-2010 12:27 AM

Question Related to sudo
 
Hello everybody
I have a question
As a root user where can i check that someone is misuse the sudo privileges of any other
if any one try to misuse he got the message
user is not in the sudoers file. This incident will be reported.
where this incident reported please tell me the location where i can check
Thanks & Regards
Rahul Sharma

Dark_Helmet 10-21-2010 12:35 AM

A quick search on Google ("sudo report incident") turned up this Ubuntu thread: "sudo: ... This incident will be reported".

The report is sent through email (if available) and also logged in auth.log.

Ankit yadav 06-26-2017 02:44 AM

Hi,

You can check in /var/log/secure.
You can see there which user tried to login, and what command he gave.


All times are GMT -5. The time now is 07:54 PM.