FTP troubles with Roundcube vacation plugin

Mike Bristow mike at urgle.com
Wed Feb 17 10:10:59 UTC 2010


On Tue, Feb 16, 2010 at 02:44:27PM +0100, Frank Bonnet wrote:
> I'm in trouble with vacation plugin which perform an FTP session at 
> localhost , for an obscure PAM/FreeBSD reason the FTP session is not 
> always working ...
> 
> Sometimes it works well
[snip]
> 
> then suddenly it stops working
> 
> Feb 16 13:23:19 mail ftpd[46782]: connection from localhost (127.0.0.1)
> Feb 16 13:23:19 mail ftpd[46782]: pam_acct_mgmt: new authentication 
> token required
> Feb 16 13:23:19 mail ftpd[46782]: FTP LOGIN FAILED FROM localhost

It is hard to debug this certainly without knowing your ftpd's PAM
configuration (/etc/pam.d/ftpd), but assuming you have the default
FreeBSD setup, then it is likely the password has expired.

This would explain the behaviour if changing the password makes it
work again.

The expiry time is in /etc/master.passwd (it's the 5th or 6th field;
I forget which; see passwd(5)), and the expiry time set when you
change your password is controlled by your login class (see
login.conf(5))

Cheers,

-- 
Please help Imogen May keep talking - www.imogenmay.com



More information about the freebsd-questions mailing list