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.

Watching a users ftp.

Discussion in 'General Discussion' started by cragdo, May 26, 2005.

  1. cragdo

    cragdo Member

    Joined:
    Jun 29, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Is there any way that someone could show me that would allow me to do something close to the following:

    - when a single (specific - not all accounts) user logins to his ftp account, it would email me.

    I have a guy who said he had a virus that used his pop to spam. I went ahead and enabled his account again but i want to watch him very tightly.

    Thanks for any help!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'm not aware of a way. You could probably write a script that watches the xferlog for the domain. The xferlogs are usually stored in /usr/local/apache/domlogs/ along with all the other user logs.
     
  3. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    if you are using pure-ftp then from ssh run the command

    watch pure-ftpwho

    and you shall be able to see all ftp activity on your server online.


    Thanks
    Anup
     
Loading...

Share This Page