The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sending all new and modified passwords to an email address.

Discussion in 'Security' started by Blandu, Sep 6, 2011.

  1. Blandu

    Blandu Registered

    Joined:
    Sep 5, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello!
    I have the following problem:
    I want that all the passwords for root, accounts and email modified through root or any other way (client, reseller accounts) and new accounts users and passwords (also email accounts) to be sent to a dedicated email address (on the same server). That's for keeping tracking of all the changes and being able to give lost passwords to our customers if they lost it.
    Mainly i want all the changes made to any account credentials (of any type) (including adding new accounts) to be sent to an email address.

    Is there any way i can do this?

    Thank you!
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    198
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    None that I'm aware of. If you use CSF it will alert you to any account changes, like password changes, but won't send the password.

    I'm not sure I'd want every email, cPanel accounts, and root users passwords being sent anywhere by email.
     
  3. Blandu

    Blandu Registered

    Joined:
    Sep 5, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I know it can be a security issue but i'm beeing asked to do so.
    I found something like a pasword trap writen in Perl (somewhere in this site) but no email sending and it only worked when the root user made the changes.

    I'm shure dat this can be done with a code or something but i don't know how to do it.
    If there is anyone that can help me, please do so.

    Thank you!
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You should be able to use the Universal Password Trap for this:

    Universal Password Trap

    If you seek additional help in crafting a script to accomplish your needs, I recommend you open a thread on the developers forum.
     
Loading...

Share This Page