Yes and no ;-)

Until ReiserFS4 is out, there is no password protection/encryption in a
filesystem.
But you can use PGP (GNU Privacy Guard) to do just this.

get the following packages
- bcwipe (or use shred from fileutils)
- gnupg

Install gnupg and generate keypairs following the man
pages/documentation.

Then just do something like this (items between [] should be replaced
according to your configuration)

cd /home/[you]
tar -cf - [secretdirectory]| gpg -e -o [outputfile].tar.gpg -r [PGP key]
bcwipe -vr [secretdirectory]


the tar command puts the directory into a single file, which is piped to
gpg for encryption.  bcwipe (or shred) are used to securely wipe the
unencrypted directory from disk.

To extract:
cd /home/[you]
gpg --decrypt [outputfile].tar.gpg |tar -xf -

Good luck

Guy


On Tue, 2002-12-17 at 09:52, Jonathan Dlouhy wrote:
> Is it possible to password protect a single directory or secure it in another 
> way from snooping little fingers?
> 
> Thanks,
-- 
Guy Van Sanden <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to