Results 1 to 2 of 2

Thread: cPanel Access Alert/Notification

  1. #1
    Registered Member
    Join Date
    Jun 2003
    cPanel/WHM Access Level

    Root Administrator

    Default cPanel Access Alert/Notification

    Hello All,

    I was wondering if there's a solution to get email notification when some one login to their cPanel account.

    Say an account owner want to receive alert when someone (developer, IT guy etc.) access successfully his/her cPanel account at 2082 0r 2083 port.

    Like CSF sends a notification for WHM root access, something similar.

    One method I am thinking of, is to write a script that will run as a daemon and watch /home/user/.lastlogin

    Second is to parse /usr/local/cpanel/logs/access_log or /usr/local/cpanel/logs/login_log but access_log generates lot of lines when a login occurs and login_log does not seems to have cpanel login entry.

    So what better suggestions/solution you guys/gals can provide?
    Vinayak Sharma
    Vinsar.Net - Quality WebHosting Services at Economical Price USA, & European Servers
    Book Your Domain with Confidence Reliable Domain Reseller Account

  2. #2
    Registered Member
    Join Date
    May 2008


    I think you will have to write shell script. There is no direct way. cPanel access_logs and login_log gives exact idea who logs in cPanel.
    AccuWebHosting.Com | cPanel Hosting Provider Since 2003
    Cloud Powered Hosting | cPanel VPS
    Trusted by 20,000+ Clients Worldwide

Similar Threads

  1. CPanel/WHM access notification
    By rossian in forum cPanel Developers
    Replies: 4
    Last Post: 06-01-2011, 07:22 AM
  2. Phishing Alert: cPanel
    By cPanelDavidG in forum cPanel Announcements
    Replies: 1
    Last Post: 01-14-2011, 01:31 PM
  3. Root access alert email
    By Lyttek in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 06-03-2007, 02:28 AM
  4. Instant Alert for cpanel?
    By budway in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-26-2006, 03:52 AM
  5. How to disable email notification: PMON LSM Alert
    By SuperBaby in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-03-2005, 04:21 PM