Date: Tue, 26 Jun 2012 22:16:04 +0300 From: icameto icameto <icameto@gmail.com> To: freebsd-geom@freebsd.org Cc: rwmaillists@googlemail.com Subject: Re: GELI Passphrase changing Message-ID: <CAMve_NM9Fpi=wgwrOaYUuit729OV%2B4EBEeoMGvrrVZh-quV1RA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi RW , Firstly thanks for yours quick response . But I stuck in geli module and this command too . So I can use the old passphrase file (/root/da1.key) . So when I set new passphrase that will that be overwritten to this old file with using -K parameter like this # geli setkey -K /root/da1.eli /dev/da1 or how can i change the password without needing new or passphrase file . But there must I have to use old passphrase file when I will attach the encrypted device. I donw know exactly if I could explain what I want clearly. I want only changing passphrase with still using old passphrase file. The only password will be change. Sincerely Best Wishes On 06/26/2012 06:42 PM, RW wrote: 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. _______________________________________________freebsd-geom@freebsd.org mailing listhttp://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMve_NM9Fpi=wgwrOaYUuit729OV%2B4EBEeoMGvrrVZh-quV1RA>