LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-25-2005, 04:36 AM   #1
i_s
Member
 
Registered: Feb 2005
Posts: 61

Rep: Reputation: 15
How do I extract password pretected .zip files in linux


Hi,

I am wondering how do I extract password protected .zip in linux (I am using Suse 9.2). I have the password, Ark can see the contents of the files but whenever I try to extract them I get an error!

Thanks.
 
Old 03-25-2005, 05:19 AM   #2
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
man unzip:

-P password
use password to decrypt encrypted zipfile entries (if any).
THIS IS INSECURE! Many multi-user operating systems provide
ways for any user to see the current command line of any other
user; even on stand-alone systems there is always the threat of
over-the-shoulder peeking. Storing the plaintext password as
part of a command line in an automated script is even worse.
Whenever possible, use the non-echoing, interactive prompt to
enter passwords. (And where security is truly important, use
strong encryption such as Pretty Good Privacy instead of the
relatively weak encryption provided by standard zipfile utili-
ties.)
 
Old 03-25-2005, 05:47 AM   #3
i_s
Member
 
Registered: Feb 2005
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks,

I was also able to locate that. I used the command

unzip -P password zipfile

Thanks again.

i.s.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting from password protected zip files sanjith11 Linux - Software 4 03-21-2006 10:14 AM
Adding password to zip files with Ark? Cinematography Linux - Software 1 04-30-2005 04:42 PM
ZIP files with password masand Linux - Software 2 11-14-2004 12:49 PM
password protect zip files xlord Linux - Newbie 3 05-04-2004 01:04 PM
How do I extract a multipart zip/ror file drspore Linux - General 2 02-07-2004 01:09 AM


All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration