Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-07-2012, 09:23 AM   #1
LQ Newbie
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
email on sudo usage


An old Fedora server I'm working on sends out emails immediately whenever sudo is used.

I've looked in '/etc/sudoers' and there are NO entries for:

mail_always on

And logwatch doesn't appear to be running so I'm just wondering how is it sending emails that sudo has been used?

Old 03-08-2012, 03:02 AM   #2
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295

That's pretty hard to answer with so little information since there are several ways to obtain that functionality. Is there for example any remote logserver in use, for example syslog-ng? Or look at the different cron locations if anything is put in place to parse the secure log. Do the mails get sent out instantly when someone uses sudo or periodically (with a delay)?. Just some ideas.

Kind regards,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Usage of sudo pandunr Linux - Newbie 3 05-27-2011 12:51 PM
LXer: sudo install, usage and sudoers config file basics LXer Syndicated Linux News 0 08-29-2010 01:30 PM
[SOLVED] Usage of sudo command in Ubuntu and Red Hat saagar Linux - Newbie 3 04-18-2010 07:49 PM
sudo usage- basic question groxy Linux - General 4 12-06-2007 08:16 AM
sudo command usage??? pagadala_cs Linux - Software 1 12-24-2004 11:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration