virtual ftp users with expiration date?

Discussion in 'HOWTO-Related Questions' started by antuanjoseff, Jul 25, 2008.

  1. antuanjoseff

    antuanjoseff New Member

    hi,
    I have to thank the authors of the ftp-virtual-users howto's. I have being reading every word of some of them and they are great (cristal clear and straight to the point). Thanks for making my life much more easier. ;-)

    However I haven't seen any mention to the possibility of authomatically disabling virtual users after X days . Does anyone know if that is possible? If so.. do you know how?

    Thanks for sharing your knowlege.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Are you talking about the ProFTPd or PureFTPd tutorials?
     
  3. antuanjoseff

    antuanjoseff New Member

    pureFTP on Debian but I wouldn't care using proFTPd
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You can add a column to the ftpd table that holds until when the account is valid and then adjust this query:

    Code:
    MYSQLGetPW      SELECT Password FROM ftpd WHERE User="\L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")
     
  5. antuanjoseff

    antuanjoseff New Member

    the simple the better.
    thanks
     
  6. antuanjoseff

    antuanjoseff New Member

    Sorry to bother you again,

    Now I need to use vsftpd!!! aƱdlk!!!
    That's what I call Murphy's law!

    Is it possible with vsftpd? I've read the howto and it seems a little different and no sql is described to get the user.
     
  7. falko

    falko Super Moderator ISPConfig Developer

    I don't think you can do that with vsftpd...
     

Share This Page