From owner-freebsd-questions Wed May 22 7:24:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hoolan.org (db217.csie.ncu.edu.tw [140.115.50.217]) by hub.freebsd.org (Postfix) with ESMTP id 59AF637B400 for ; Wed, 22 May 2002 07:24:42 -0700 (PDT) Received: from localhost (jeff@localhost [127.0.0.1]) by hoolan.org (8.11.6/8.11.6) with ESMTP id g4MEOba85731 for ; Wed, 22 May 2002 22:24:37 +0800 (CST) (envelope-from jeff@hoolan.org) Date: Wed, 22 May 2002 22:24:37 +0800 (CST) From: Jeffrey Tang X-Sender: jeff@hoolan.org To: freebsd-questions@FreeBSD.ORG Subject: How to force one user to change his password? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, I setup his 'change' field to some date to enforce my password change policy. When he logons, he gets a prompt to re-new password, but he can still press enter to skip this procedure and get the shell. Password: Sorry -- your password has expired. hanging local password for val. Old password: New password: <----- press enter Password unchanged. passwd: /etc/master.passwd: unchanged Welcome, my friend from hoolan.org ! $ So, is there any method to force users to change their stale passwords before granted permission to log in? 4.5-RELEASE is running here. Please CC me if possible, thank you. --Jeffrey Tang To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message