LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2009, 09:19 AM   #1
edmondgyampoh
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 0
Want to create a directory for storing personnal sensitive information,(openSuSe)


I want to create a directory for storing personnal sensitive information like usernames and passwords. I also want this information to be encrypted and only decrypted by entering a security code which should be determined by me. I'm using linux - openSuSe and i want do it at the CLI(Level 3).

Thanks for your help.

Last edited by edmondgyampoh; 05-18-2009 at 09:20 AM.
 
Old 05-18-2009, 09:34 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,487

Rep: Reputation: 88
Hmm, there are some types of real-time encrypted filing systems available, but IMO they are not trivial (for a casual user) to impliment or get going. In certain situations or power-loss scenarios they can even be dangerous, becoming undecryptable (ever!) or unusable.

IMO the easiest, quickest way to reliably encrypt or decrypt sensitive data is to simply use the p7zip archiver. It was a quite powerful encryption feature you can use, and is reasonably user friendly.

I. e. what I'd do is to simply tar the directory, then 7zip it up, encrypting with a password. For casual use, that should be more then secure. Note, this is of course a MANUAL way to do it. However, it is very simple to do it this way, and safer, than doing it on the fly on an encrypted filing system. If you, for example, forget to tar/7zip encrypt the folder, it will be "in the clear" and thus a security risk. If you absolutely must have on the fly encryption, you -will- need a real encrypted filing system though.

Last edited by rylan76; 05-18-2009 at 09:36 AM.
 
Old 05-18-2009, 09:45 AM   #3
edmondgyampoh
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
So Rylan 76,

In the most basic way, how do i simply create the directory for storing these sensitive information and how do i get them stored. Lets reserve the encryption for now. I will be glad if u can help me with specific commands to use. Thanks.
 
Old 05-18-2009, 12:35 PM   #4
Angel2953
Member
 
Registered: Sep 2005
Location: Poland
Distribution: Debian, Ubuntu
Posts: 38

Rep: Reputation: 16
have you tried TrueCrypt ? It will create file and the you can mount it as a disk or revoable disk... i'm using it under linux and windows
 
Old 05-18-2009, 01:04 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
It's not as easy as to create an encrypted directory.

You can encrypt individual files if you want, but to encrypt the files automatically on a given directory you need to create an encrypted filesystem. A way to do it, if you don't want to toy with partitions, is to create a loopback file. This process is described here:

http://h3g3m0n.wordpress.com/2007/04...ck-filesystem/
 
Old 05-18-2009, 01:41 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
SuSE's YaST2 partitioner can create an encrypted file for you and add an entry for it to fstab. You need the pass phrase to mount it via a loop back device. You can mount it inside your home directory. Add the "noauto" option to defer mounting it when the computer boots up if there is more than one user.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing Finger Print Reader Information In MySql pushpraj Linux - Networking 1 07-17-2008 11:30 AM
openSUSE 10: Samba failed to create the cache directory in /var/cache mianmajidali Linux - Server 0 05-09-2008 03:00 AM
Storing user information. paroxsitic Linux - Newbie 1 04-04-2007 01:21 PM
Storing BibTex bst files in home directory drben Linux - Software 1 11-01-2005 03:31 PM
Looking for a personnal organizer-- problems grizzly Linux - Software 1 07-11-2003 10:21 AM


All times are GMT -5. The time now is 04:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration