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!

Pureftpd no logging log-ins ?

Discussion in 'General Discussion' started by qwerty, Oct 13, 2003.

  1. qwerty

    qwerty Well-Known Member

    Joined:
    Jan 21, 2003
    Messages:
    214
    Likes Received:
    2
    Trophy Points:
    168
    Hi,

    I just switched to Pure-ftpd due to the new Proftpd remote root exploit etc.

    Everything works fine, no problems whatsoever, BUT 'last' doesn't show the log-ins of ftp users like proftpd used to

    eg. if you do "last -50a" it will not show who logged in via ftp etc, and with proftpd this worked.

    Anyone know if its possible at all to enable this with pure-ftpd, so that I can see who is logging in etc? Thanks

    cPanel.net Support Ticket Number:
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    I don't know about just logins, but you can view actions in
    /var/log/xferlog

    cPanel.net Support Ticket Number:
     
  3. qwerty

    qwerty Well-Known Member

    Joined:
    Jan 21, 2003
    Messages:
    214
    Likes Received:
    2
    Trophy Points:
    168
    thanks for that but that's not what I'm after. Command such as. eg. "last -50a" will show the last 50 people that logged in (ftp and ssh), when and for how long, and their full ip/hostname.

    This is ideal as we only allow access to customers from one country and can catch any unauthorized access immediately.

    I believe last reads from /var/log/wtmp - and Pureftpd doesnt appear to be playing along :/

    cPanel.net Support Ticket Number:
     
  4. Host4u2

    Host4u2 Well-Known Member

    Joined:
    Mar 24, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    316
    From WHM/Tweak FTP Settings

    Pure-ftpd

    Advantages:
    * Faster Login Time
    * Smaller Memory Footprint
    * Allows Virtual Access on any ip address
    * Better Security Model
    * Deals better with Software Raid systems

    Disadvantages:
    * No cPanel Access Log or Bandwidth Stats

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. qwerty

    qwerty Well-Known Member

    Joined:
    Jan 21, 2003
    Messages:
    214
    Likes Received:
    2
    Trophy Points:
    168
    I don't think 'last' reads from cpanel access logs .. I'm pretty sure this is a different thing altogether.
     
  6. clement01

    clement01 Member

    Joined:
    Aug 12, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    I read that there is a pure-ftpwho command which we can use to view who is logon doing what. But I am not sure whether it gives a history like "last" did.

    I have just switch to pureftpd due to the connection timeout problem that proftpd has.

    Still trying to figure out more on pureftpd.
     
Loading...

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