On Thursday 05 May 2005 14:42, Bob Miller wrote:

> If you just want to encrypt a tar file, you can do this.
>
>     tar cvf - ./$Path | openssl bf -e -pass pass:xyzzy > /dev/st0 >> $TOC
>
> To decrypt, do this.
>
>     openssl bf -d < /dev/st0 | tar xf - $files
>     enter bf-cbc decryption password: xyzzy
>
> Look at the openssl and bf man pages for details.
>
> But think carefully about password management.  The scheme above
> uses a fixed password.  A regularly changing one would be better.
> A password that isn't stored in a script would be better yet.

If you use the above as a command wouldn't the password be in history.  On 
ocassion I have to go through my history file and delete things when I make a 
misstake.  Or is it like SSH where it asks for the password?   I didn't know 
you could do that thanks for showing us how to do it.

Tim
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to