LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-07-2010, 04:32 PM   #1
Slightly Disoriented
Member
 
Registered: Sep 2010
Distribution: Ubuntu 10.10
Posts: 87

Rep: Reputation: 2
How to make Ubuntu ask for password when trying to access a folder, picture, etc


I'm a kinda new to Linux, and Ubuntu. I've had it for about 2 months and I know some of the complicated things. I was wondering how I would make Ubuntu 10.10 ask for the root password when ever looking at a folder, picture, mp3 file, etc. Is this possible, if so how?
 
Old 11-07-2010, 06:50 PM   #2
tiredofbilkyyaforallican
Member
 
Registered: Aug 2010
Location: 3rd rock from the sun
Distribution: LMDE/Peppermint/Mint 9,&10/along with a few others
Posts: 152

Rep: Reputation: 22
I do not know about every time you open a folder but there is a way to make it so all your files are encrypted ,I believe you will find it on the startup page.Reconfigure startup instead of "ask for password " there is another setting that will password protect and encrypt files for you .At least it is that way in Mint 9,and 10
 
Old 11-07-2010, 07:05 PM   #3
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
I think the best way to achieve this would be something along the lines of:

1) Make the files you want protected owned by the user "root" (man chown)

2) Set the permissions so that only user has read/write/execute privledges (man chmod)

3) Make a file (bash script?) that does something like "gksudo nautilus /path/"

There may be simpler solutions, this just comes to mind immediately
 
Old 11-07-2010, 07:53 PM   #4
fair_is_fair
Member
 
Registered: May 2005
Posts: 516

Rep: Reputation: 52
Easiest method I have found is cryptkeeper. Makes an encrypted folder in which to store data. Easy to use and access. Available in the package manager.

Truecrypt is probably the best albeit more complicated.

You can also make an encrypted zip or 7zip file via right click. You would have to add p7zip from the software manager.
 
  


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
Changing permissions for folder access in Ubuntu . gagne.marc Ubuntu 12 08-24-2011 12:30 AM
How make ftp-access to one folder on my machine? artem k. Linux - Newbie 2 02-16-2010 11:30 AM
common folder access two user in ubuntu server vipin_jss Linux - Newbie 2 07-21-2009 03:13 AM
How to access a share folder in UBUNTU krishnakant Linux - General 1 06-05-2009 03:23 AM
Set password for folder access smiley_lauf Linux - Newbie 2 02-17-2006 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 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