Operating System - HP-UX
1754311 Members
2782 Online
108813 Solutions
New Discussion юеВ

Re: Password in compressed files

 
SOLVED
Go to solution
Valkiria Santos
Frequent Advisor

Password in compressed files

Hello Guys,

I??d like to know if exist any command to compress files using a password to protect it. Some parameter in compress command or other one.

P.S. Doubt from my users.... :-S
Sorry for my poor english.

Tkts,
Valkiria
6 REPLIES 6
Paula J Frazer-Campbell
Honored Contributor

Re: Password in compressed files

hi
crypt


Paula
If you can spell SysAdmin then you is one - anon
James R. Ferguson
Acclaimed Contributor

Re: Password in compressed files

Hi:

A simple solution is to use 'crypt' and then compress the encrypted file. See the man pages for 'crypt'.

Regards!

...JRF...
Valkiria Santos
Frequent Advisor

Re: Password in compressed files

I really want know if exist some option in commands compression...
Ross Zubritski
Trusted Contributor

Re: Password in compressed files

crypt uses a pretty basic algorithm, but will get the job done for "non-sensitive" data.

Reagrds,

RZ
Rodney Hills
Honored Contributor
Solution

Re: Password in compressed files

Not the standard "compress", "gzip", "compact", etc.

Usually you would pipe the output of the compress command into the crypt command.

compress -c file | crypt >secretfile

HTH

-- Rod Hills
There be dragons...
Shannon Petry
Honored Contributor

Re: Password in compressed files

You can get a copy of Pkzip for UNIX from www.pkware.com.

It supports up to 128bit encryption and the same features as Pkzip for dos/win (except the purdy GUI).

Handy to have, and well worth the small investment of $40.00 or so ;)

Regards,
Shannon
Microsoft. When do you want a virus today?