LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-22-2002, 02:51 AM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

Rep: Reputation: 30
Password protecting tar files


Hello

How do i passsword protect tar files.

regards
jayakrishnan
 
Old 03-22-2002, 05:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
tar doesn't do passwords, try just wrapping the file in as a zipfile.
 
Old 01-13-2008, 10:49 PM   #3
vipindas
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
just use gpg -c <filename.tar>






luv
dasappan
 
Old 01-13-2008, 11:02 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Zip file password protection is realy insecure, given the speed of modern machines and the weakness of the method (just google zipcrack).

It also seems silly to wrap a .tar in a .zip. In the unix tradition of using programs which do one thing well, I'd be looking for a stand alone encryption tool. gpg will do the job if you want to use it. There are others, although I cannot vouch for their strength. Searching the ubuntu repos finds bcrypt and ccrypt.
 
  


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
Password protecting a directory? How? Thrifty Linux - Security 7 07-20-2004 08:25 PM
HTML password protecting darin3200 General 19 06-03-2003 03:13 AM
password protecting two files to two different databases on Apache? RKris Linux - Software 0 02-24-2003 06:04 AM
password protecting directories jayakrishnan Linux - General 2 02-10-2003 05:49 AM
password protecting a webpage jonfa Linux - General 5 03-22-2002 06:26 AM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
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