From owner-freebsd-questions@FreeBSD.ORG Tue Jul 17 16:46:07 2012 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 2CE271065673 for ; Tue, 17 Jul 2012 16:46:07 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [77.86.213.15]) by mx1.freebsd.org (Postfix) with ESMTP id B95A08FC14 for ; Tue, 17 Jul 2012 16:46:06 +0000 (UTC) Received: from www.liukuma.net (localhost [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id 3B2D81CC2C; Tue, 17 Jul 2012 19:46:05 +0300 (EEST) X-DKIM: Sendmail DKIM Filter v2.8.3 www.liukuma.net 3B2D81CC2C DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=liukuma.net; s=liukudkim; t=1342543565; bh=RKgctRK4F91UmDlCWTOY4vczieHZUvx/aojhc9Acj14=; h=Message-ID:From:To:References:In-Reply-To:Subject:Date: MIME-Version:Content-Type:Content-Transfer-Encoding; z=X-Virus-Scanned:=20amavisd-new=20at=20liukuma.net|X-DKIM:=20Sendm ail=20DKIM=20Filter=20v2.8.3=20www.liukuma.net=2042CDB1CC2B|Messag e-ID:=20<66A1E803E2F9438B85C65B3783D9FD7E@Rivendell>|From:=20"Reko =20Turja"=20|To:=20"Jakub=20Lach"=20,=0D=0A=09|Refere nces:=20<1342542757760-5727668.post@n5.nabble.com>|In-Reply-To:=20 <1342542757760-5727668.post@n5.nabble.com>|Subject:=20Re:=20Nasty= 20reference=20loop=20in=20login.conf|Date:=20Tue,=2017=20Jul=20201 2=2019:45:59=20+0300|MIME-Version:=201.0|Content-Type:=20text/plai n=3B=0D=0A=09format=3Dflowed=3B=0D=0A=09charset=3D"iso-8859-1"=3B= 0D=0A=09reply-type=3Doriginal|Content-Transfer-Encoding:=207bit|X- Priority:=203|X-MSMail-Priority:=20Normal|Importance:=20Normal|X-M ailer:=20Microsoft=20Windows=20Live=20Mail=2015.4.3555.308|X-MimeO LE:=20Produced=20By=20Microsoft=20MimeOLE=20V15.4.3555.308; b=MX9+NGF10emg8m+CqJ1eCIrRgLBHlqd6ycIiJ7zS5tX5TBwLau0VBFi/UfCd+iiUt jPhWk3eIvTTOB2dXf4uQRMV+Oxl+29FlaS2Ka8JD1K7WZpLNnpPMDqCVgpw+QPqfrQ EZSAv9OPzPZfr2QFqOM1JoWNCJ3hy7KoAVa7UU8E= X-Virus-Scanned: amavisd-new at liukuma.net Received: from www.liukuma.net ([127.0.0.1]) by www.liukuma.net (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Y-FQDeT7Z0CG; Tue, 17 Jul 2012 19:46:00 +0300 (EEST) Received: from Rivendell (dsl-kmibrasgw1-fe47de00-175.dhcp.inet.fi [80.222.71.175]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTPSA id 42CDB1CC2B; Tue, 17 Jul 2012 19:46:00 +0300 (EEST) X-DKIM: Sendmail DKIM Filter v2.8.3 www.liukuma.net 42CDB1CC2B Message-ID: <66A1E803E2F9438B85C65B3783D9FD7E@Rivendell> From: "Reko Turja" To: "Jakub Lach" , References: <1342542757760-5727668.post@n5.nabble.com> In-Reply-To: <1342542757760-5727668.post@n5.nabble.com> Date: Tue, 17 Jul 2012 19:45:59 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 Cc: Subject: Re: Nasty reference loop in login.conf 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: Tue, 17 Jul 2012 16:46:07 -0000 -----Original Message----- From: Jakub Lach > Moreover I'm afraid to power down machine, as > currently I'm logged as wheel group user, and I'm not > sure if change from :passwd_format=md5:\ > to :passwd_format=sha512:\ didn't complicate it further... > Currently all my solutions would require to power down > machine, which I'm afraid to do frankly. > 1. Hope I can still log in single user mode and correct > /etc/login.conf? I'm afraid of md5 -> sha512 change. > 2. Use some LiveCD and correct login.conf, then run > /usr/bin/cap_mkdb . Killing init - means that you drop to singleuser mode kill -TERM 1 End result may depend on whether or not your singleuser mode is password protected. -Reko