From owner-freebsd-questions@FreeBSD.ORG Wed Feb 17 10:10:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FE661065672 for ; Wed, 17 Feb 2010 10:10:59 +0000 (UTC) (envelope-from mike@urgle.com) Received: from anchor-post-1.mail.demon.net (anchor-post-1.mail.demon.net [195.173.77.132]) by mx1.freebsd.org (Postfix) with ESMTP id 68E238FC1B for ; Wed, 17 Feb 2010 10:10:59 +0000 (UTC) Received: from cheddar.urgle.com ([80.177.40.53]) by anchor-post-1.mail.demon.net with esmtp (Exim 4.69) id 1Nhgry-0006gh-hQ; Wed, 17 Feb 2010 10:10:58 +0000 Received: from mike by cheddar.urgle.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1Nhgrx-00098w-RS; Wed, 17 Feb 2010 10:10:57 +0000 Date: Wed, 17 Feb 2010 10:10:57 +0000 From: Mike Bristow To: Frank Bonnet Message-ID: <20100217101057.GA34458@cheddar.urgle.com> References: <4B7AA13B.1030505@esiee.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B7AA13B.1030505@esiee.fr> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: users@lists.roundcube.net, freebsd-questions@freebsd.org Subject: Re: FTP troubles with Roundcube vacation plugin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 10:10:59 -0000 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