[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What I want to do -doable ?
This code stores passswords in an (encrypted) script.
>echo "Pd1eXapMJk0XAJnNSIzE" | losetup -p 0 -e AES128 /dev/loop6 /dev/hda666
>echo "D0aZNSNnu6FdAph+zrHt" | losetup -p 0 -e AES128 /dev/loop4 /dev/hdd666
>
If using bash on Linux, I would want to set
export HISTFILE=""
first, so as not to leave a record of the passwords.
Even better, put a similar line in .bashrc.
There may be other risks with this method.
Regards,
John Green
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/