PDA

View Full Version : [ubuntu] How Do I set passwords for Folders



Foxfire
May 23rd, 2008, 05:21 AM
What I am trying to say is How do I set a password on a folder so that you cant even open it unless type the password in. The folder would be on the desktop or where ever. I have no network?

Bodsda
May 23rd, 2008, 05:39 AM
make the folder owned by root not you.

im not on my Ubuntu machine atm so i cant give you an exact command but in a terminal type


man chowner

that will give you a big document about the command 'chowner'

Steve413z
May 23rd, 2008, 05:53 AM
chowner doesn't password protect a folder

if you are trying to keep confidential files safe incase your computer gets stolen, you need to encrypt the files

Linux has a bunch of utilities for doing this,

GnuPG
TrueCrypt
dm-crypt

are 3 of the most common linux encryption tools

Steve413z
May 23rd, 2008, 06:08 AM
http://ubuntufs.wordpress.com/2007/05/22/encryptingdecrypting-with-gnome/

Foxfire
May 23rd, 2008, 06:35 AM
Thank you