LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-19-2011, 10:16 PM   #1
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Rep: Reputation: Disabled
Protect folder with password


Hi...All, Is there any way that how to protect main folder with password on Ubuntu, CentOS?
 
Old 09-19-2011, 10:22 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

Are you talking about your home directory? Ubuntu has the option to encrypt your home directory when you install it, and I think you can also do it after the fact that it is installed. Truecrypt can also be an option for you, and you also have pgp/gpg as encryption that you could use. As far as using a password for directories, even if it were possible to do it like so, root would still be able to have access. Encryption is what you want to thrive for as far as protecting your information.

Cheers,

Josh
 
1 members found this post helpful.
Old 09-20-2011, 12:07 AM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
In addition to the post above, you could always just make a separate user account for the person you don't want getting into your files, and then not give them your password.
 
Old 09-20-2011, 12:39 AM   #4
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Original Poster
Rep: Reputation: Disabled
Protect folder with password

I need to protect folders which are going to store in the USB external HDD, not in local machine. And that hard disk will often be giving to everyone employee for temporary backup purpose. Now every user is having root access on their local machine and they will be able view other's folder when they connect that HDD in their machine. Is there any way by which we can protect the main folders of every one user even from root by giving their own password?
Does true crypt has this ability?


Quote:
Originally Posted by corp769 View Post
Hello,

Are you talking about your home directory? Ubuntu has the option to encrypt your home directory when you install it, and I think you can also do it after the fact that it is installed. Truecrypt can also be an option for you, and you also have pgp/gpg as encryption that you could use. As far as using a password for directories, even if it were possible to do it like so, root would still be able to have access. Encryption is what you want to thrive for as far as protecting your information.

Cheers,

Josh

Last edited by loveulinux; 09-20-2011 at 12:40 AM. Reason: correction
 
Old 09-20-2011, 12:46 AM   #5
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Yes it does! I highly recommend that you check it out, as using truecrypt, you are able to create individual partitions on whatever disk you may use. Here is the site - http://www.truecrypt.org/
As far as installing it on ubuntu, have a look here - https://help.ubuntu.com/community/TrueCrypt
 
1 members found this post helpful.
Old 09-20-2011, 12:50 AM   #6
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Original Poster
Rep: Reputation: Disabled
Protect folder with password

Okay, Thank you very much. Then I will try it.

Quote:
Originally Posted by corp769 View Post
Yes it does! I highly recommend that you check it out, as using truecrypt, you are able to create individual partitions on whatever disk you may use. Here is the site - http://www.truecrypt.org/
As far as installing it on ubuntu, have a look here - https://help.ubuntu.com/community/TrueCrypt
 
Old 09-20-2011, 12:53 AM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Not a problem! Any more issues you have?
 
1 members found this post helpful.
  


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
password protect folder anshutyagi Linux - Newbie 2 04-25-2011 03:01 AM
How to password protect a folder in samba? Jon W Linux - Server 6 10-27-2009 07:57 AM
Password protect a web folder on apache andy1974 Linux - Security 13 05-15-2009 02:28 AM
Password protect folder? sall Linux - Security 4 07-18-2005 06:57 PM
Password Protect Folder?? sall Linux - Software 5 07-18-2005 07:58 AM


All times are GMT -5. The time now is 08:44 PM.

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