From owner-freebsd-questions Tue Jul 13 10:50:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost.criterion.canon.co.uk (mailhost.criterion.canon.co.uk [194.223.249.254]) by hub.freebsd.org (Postfix) with ESMTP id 7F57C15329 for ; Tue, 13 Jul 1999 10:50:33 -0700 (PDT) (envelope-from adamn@csl.com) Received: from csl.com (hermes.criterion.canon.co.uk [194.223.249.13]) by mailhost.criterion.canon.co.uk (8.8.8/8.7.3) with ESMTP id SAA27535 for ; Tue, 13 Jul 1999 18:41:18 +0100 (BST) Message-ID: <378B7955.A1CA70A5@csl.com> Date: Tue, 13 Jul 1999 18:37:25 +0100 From: Adam Nealis Organization: Criterion Software, Ltd. X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.34 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions Subject: login.conf and password expiry (BSD 2.2.7-RELEASE) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know 3.X is going the PAM route, but this box is still 2.2.7-RELEASE (it's only acting as an IMAP server). I want new accounts to telnet to the machine and change their passwords to something they'll remember, so I've set the 6th field in /etc/master.passwd to :1:. On testing, I am correctly told my password is expired, but if I don't change it, I am allowed to log in (BTW, the passwords are blank at the moment). Is there a param in /etc/login.conf that I can set, such that I can refuse a login if the password isn't changed? I have RTFM, but I'm unclear if some of the variables refer to account expiration rather than password expiration. Cheers, Adam. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message