LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


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

Rep: Reputation: 0
Disable viewing root directory for users


Hi,

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.

THANKS A LOT.

Please send a Email s.gellings@zonnet.nl
 
Old 04-10-2006, 10:34 AM   #2
burntfuse
Member
 
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:

su
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).
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:16 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
Open Source Consulting | Domain Registration