Date: Tue, 26 Jun 2012 16:42:37 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-geom@freebsd.org Subject: Re: GELI Passphrase changing Message-ID: <20120626164237.15a95327@gumby.homeunix.com> In-Reply-To: <CAMve_NOAjS0xyVa_9XAtkHnw7RzfjV3mLyk4esor65A_mvih8w@mail.gmail.com> References: <CAMve_NOAjS0xyVa_9XAtkHnw7RzfjV3mLyk4esor65A_mvih8w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Jun 2012 17:52:28 +0300 icameto icameto wrote: > Hi everyone, > > I d like to ask you a question about geli and pasphrase changing. > > # dd if=/dev/random of=/root/da1.key bs=64 count=1 > > # geli init -s 4096 -K /root/da1.key /dev/da1 > > # geli attach -k /root/da1.key /dev/da1 > > How can I change the passphrase for my GELI device? Please give me an > advice. I have not change the old key file . When I enter this > command, I get an error . > > # geli setkey -k /etc/geli/da1.key /dev/da1.eli > geli: Cannot read metadata from /dev/da1.eli: Invalid argument. That should probably be -K. You've already attached the device so you don't need the old passphrase or keyfile.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120626164237.15a95327>