From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 2 09:12:00 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 857BF16A4CE; Thu, 2 Sep 2004 09:12:00 +0000 (GMT) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8A1D43D58; Thu, 2 Sep 2004 09:11:59 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id i829BvuU056593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Sep 2004 13:11:58 +0400 (MSD) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id i829Bvx3056592; Thu, 2 Sep 2004 13:11:57 +0400 (MSD) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Thu, 2 Sep 2004 13:11:57 +0400 From: Gleb Smirnoff To: "Simon L. Nielsen" Message-ID: <20040902091157.GC56380@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , "Simon L. Nielsen" , freebsd-bugs@freebsd.org References: <200409011510.i81FATTk063839@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200409011510.i81FATTk063839@freefall.freebsd.org> User-Agent: Mutt/1.5.6i cc: freebsd-bugs@freebsd.org Subject: Re: bin/71147: sshd(8) will allow to log into a locked account X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 09:12:00 -0000 On Wed, Sep 01, 2004 at 03:10:29PM +0000, Simon L. Nielsen wrote: S> On 2004.09.01 03:10:22 +0000, Yar Tikhiy wrote: S> > The following reply was made to PR bin/71147; it has been noted by GNATS. S> >=20 S> > However, I feel that the full blown prefix `*LOCKED*' should be S> > left for pw(8) purposes while just a leading asterisk may be S> > considered by sshd(8) as a sure sign of an account being locked. S> > E.g., the macro PASSWD_LOCK_PREFIX("*") should be used IMHO. S> S> If you prevent accounts with a "*" from logging in with a ssh key you S> will break POLA. I know that I have several systems where the S> password in master.passwd is set to "*" and I then log in via ssh S> keys. S> S> Also a "*" in the password file does not prevent a user logging in S> when authenticating via Kerberos. I 100% percent agree with Simon. Many many people rely on this. Don't make them lose access to their boxes after SSH upgrade. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE