LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-01-2009, 09:30 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
How do I keep users from accessing other users files?


Because I was browsing around in KDE and found out that I can view other users files and they can view mine.

Last edited by M$ISBS; 10-01-2009 at 09:35 PM.
 
Old 10-01-2009, 09:59 PM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by M$ISBS View Post
Because I was browsing around in KDE and found out that I can view other users files and they can view mine.
If you want privacy between users, either:

1. Don't allow users to belong to the "users" group, e.,g. create users that only belong to their own "group". This is the easiest way, but it is a bit difficult for a system that is already set up.

2. Change the default file creation permissions for each user so the files cannot be read by others. This is not so easy to implement in a system that is already up.

You can also instruct each user in how to restrict particularly sensitive files to be unreadable by anyone but the owner. Like this:

$ chmod 700 *

From the command line, and a similar command can be issued on a file-by-file basis from most file browsers.
 
  


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
Can I delete files in /mnt/tmp? and Files in the trash can will not delete? M$ISBS Slackware 15 10-03-2009 12:56 AM
script to delete tmp files Iyyappan Linux - Newbie 8 08-02-2009 07:40 AM
Slackbuild files in /tmp. Ok to delete? Romanus81 Slackware 9 11-05-2008 10:45 PM
How To Delete tmp Files In FC5 zenarcher Fedora 3 09-07-2006 01:51 AM
can i delete /tmp files? demmylls Linux - General 1 03-01-2004 11:14 AM


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