From owner-freebsd-geom@FreeBSD.ORG Fri Dec 10 02:17:19 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C386116A4CF for ; Fri, 10 Dec 2004 02:17:19 +0000 (GMT) Received: from mail.agala.net (I868b.i.pppool.de [85.73.134.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B68843D5F for ; Fri, 10 Dec 2004 02:17:15 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (mail.agala.net [192.168.20.1]) by mail.agala.net (8.13.1/8.13.1) with ESMTP id iBA2FUZK053687 for ; Fri, 10 Dec 2004 03:15:32 +0100 (CET) (envelope-from frank@barda.agala.net) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-geom@freebsd.org Date: Fri, 10 Dec 2004 03:14:59 +0100 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200412100315.11436.frank@barda.agala.net> X-Scanned-By: MIMEDefang 2.44 Subject: How do I change the password of a gbde lock? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 02:17:20 -0000 Hi, now that I'm using FreeBSD 5.3 I decided to play with gbde. I hab a spare=20 partition (/dev/ad4s4h) and setting gbde up was easy. # gbde init /dev/ad4s4h -i -L /etc/gbde/ad4s4h.lock # gbde attach ad4s4h -l /etc/gbde/ad4s4h.lock # newfs -U /dev/ad4s4h.bde # mount /dev/ad4s4h.bde /secure =2E.. # umount /secure # gbde detach ad4s4h That was easy. Then I tried: # gbde setkey ad4s4h -l /etc/gbde/ad4s4h.lock -L /etc/gbde/ad4s4h.lock gbde: Error 22 decrypting lock Ofcourse I typed the password, when ist asked me. =2D-=20 Tsch=FCss =46rank