Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-10-2006, 05:51 AM   #1
LQ Newbie
Registered: Apr 2006
Posts: 6

Rep: Reputation: 0
Disable viewing root directory for users


I'm using Suse 10 with freeNX (Terminalserver)and i like to disable viewing the root maps for users.
They may only see the own home map and nothing else!
I'm using Sabayon tool and it works fine but i can't restrict "everything" for users. There are more tool to do this?, i wil like to hear about it, or a site were i can't find to manage userprofiles like grouppolicy in Windows.


Please send a Email
Old 04-10-2006, 10:34 AM   #2
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Rep: Reputation: 30
If you don't want anyone but the root user to be able to read /root, open a terminal, and type this:

chmod 700 /root

This will set the permissions so the owner of the directory (in this case, the root user) can read, write, and execute from the directory (that's what the 7 is for), users in the group that owns the directory can't read, write, or execute (the first 0), and everyone else can't do anything with it either (the second 0).


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
Disable Viewing Users in /home gsoft Linux - Security 2 09-09-2005 01:32 AM
Error viewing mnt directory Zychior Linux - General 22 07-03-2003 06:52 PM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 07:01 PM
Fast Directory Image Viewing bkeating Linux - Software 8 06-17-2002 08:49 PM
permissions and viewing a directory goyome Linux - Security 4 06-11-2002 11:08 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration