LinuxQuestions.org
Help answer threads with 0 replies.
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 08-19-2015, 03:00 AM   #1
Gledja
LQ Newbie
 
Registered: Aug 2015
Posts: 4

Rep: Reputation: Disabled
Smile Folder protection in ubuntu-gnome


Hello guys.

What is the best way to secure folder in Ubuntu?

I would like it to ask for password every time someone tries to open it.

Creating another user is not an option for me.

Do i need some external program or the system has it covered?

Thanks in advance!

 
Old 08-19-2015, 03:18 AM   #2
nitrohuffer2001
Member
 
Registered: Apr 2006
Posts: 150

Rep: Reputation: 19
Hi,

If you can not create another user then who are you afraid might try to open your files? I would suggest using folder permissions. I would suggest just changing the permissions on the folder or files so they are only readable by the owner. Then they would be password protected in a sense because the owner would have to login to the ubuntu box with a password or have the ability to su up to root in order to read the files, su-ing up to root would also require a password.
 
Old 08-19-2015, 04:46 AM   #3
Gledja
LQ Newbie
 
Registered: Aug 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for the fast reply nitrohuffer2001 !

I gave it a thought and now i think it's a good idea to make another user beside the root one.

Best regards.
 
Old 08-19-2015, 08:42 AM   #4
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
I hope you aren't using root as a user?
 
Old 08-19-2015, 12:57 PM   #5
Gledja
LQ Newbie
 
Registered: Aug 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Actually I am... I'm really new to this.
 
Old 08-19-2015, 02:25 PM   #6
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
I would suggest (if possible) that, on the grounds of simplicity that you reinstall Ubuntu.
When you are asked to give a user name, do so and give it a reasonable password.

This user will have normal abilities for user purposes and should be used for your logon.
If you use the sudo command you will be able to perform root level admin functions with it.

Ubuntu doesn't have a password for the root user.
In the unlikely situation that you need to logon as root there are methods to give it a password.
But try to avoid the temptation to do this.

Don't use root.
 
Old 08-19-2015, 02:28 PM   #7
Gledja
LQ Newbie
 
Registered: Aug 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks! I really need advices like this.

Will do ASAP.
 
  


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
[SOLVED] Trying to move a file from folder to folder in Ubuntu get a message: Permissio Denied AlexBB Linux - Newbie 13 12-09-2014 08:42 PM
Ubuntu security for protection. please read to understand afullmetalwar Linux - Software 9 07-03-2010 11:09 AM
Do I need a firewall and virus protection for Ubuntu? adhinsley Linux - Newbie 31 10-13-2009 11:56 AM
Gnome/KDE Desktop Folder & Gnome Autostart ihatethedekoys Linux - General 1 08-07-2006 12:16 PM
gnome home folder and trash folder ambelos Linux - Software 2 02-24-2004 07:44 AM


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