On Thu, Dec 15, 2011, at 13:47, steve wrote:
[root@unixfoo-lin23 ~]# tar cvzf - passwd_info.txt | openssl des3
-salt
-k secretkey | dd of=encrypted_passwd_info
passwd_info.txt
20+1 records in
20+1 records out
[root@unixfoo-lin12 ~]# dd if=encrypted_passwd_info |openssl des3 -d
-k
secretkey |tar xvzf -
20+1 records in
20+1 records out
passwd_info.txt
Out of curiosity and ignorance, why do you need to go through dd?
Would
standard shell redirection not work? I'm thinking of something like:
$ tar ... | openssl ... >encrypted_passwd_info
Not critical, just intrigued.
-- IDL