Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Ftp authentication

Discussion in 'cPanel Developers' started by sirdopes, May 16, 2011.

  1. sirdopes

    sirdopes Well-Known Member PartnerNOC

    Sep 25, 2007
    Likes Received:
    Trophy Points:
    I am looking into a way to write an ftp authenticated user and ip to a file. Is there a way to hook into /usr/sbin/pureauth or another way to do this easily? Or would it be possible to have a hook added that executed a file after a successful login?
  2. cPanelDavidN

    cPanelDavidN Integration Developer

    Dec 17, 2009
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi sirdopes,

    Off the top of my head, I can't think of anything currently in the product that can do this. The only solution I can think of is some sort of log processor, whether it be a batch process (like if you were just wanting to log the user/IP into a database) or a daemon-like process that tails an access log. That said, such a processor would likely be inelegant.

    Anyone else have any ideas?

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice