Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-08-2004, 06:44 AM   #1
LQ Newbie
Registered: Jul 2004
Location: the Netherlands
Distribution: Slackware newbie
Posts: 11

Rep: Reputation: 0
How to hide and block a directory for a specific user

I want to create a user which only may have access to his own home directory. But more important, I want to hide and deny all rights of some specific directory's for that user, cause I don't want that user to browse trough some sensitive stuff (even the filename's in that directory's may not get known). I've searched, but couldn't find a satisfying solution for this problem.
I hope someone can help me out.

Last edited by hoolie_v; 08-08-2004 at 06:46 AM.
Old 08-08-2004, 07:00 AM   #2
Registered: Jan 2003
Location: Finland
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124

Rep: Reputation: 15
Well, this might sound a bit cruel, but...
Create a "forbidden" group for THAT user, and after that...

man chmod
man chgrp

..Will tell you what to do.
Old 08-08-2004, 07:14 AM   #3
LQ Newbie
Registered: Jul 2004
Location: the Netherlands
Distribution: Slackware newbie
Posts: 11

Original Poster
Rep: Reputation: 0
Tnx for your quick reply Tih8710.
That I have to set the permissions with chmod and chgrp I understand, the specific user already has it's own unique group, but what do you mean by creating a "forbidden" group? (And how do you create a group like that). Is that "forbidden" group restricted from viewing filename's other than its homedirectory?


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
block specific users in squid alan.belizario Linux - Security 4 09-09-2005 11:43 PM
Searching a specific directory for a specific extension? RoaCh Of DisCor Linux - Newbie 3 08-13-2005 03:28 PM
allow specific ip to browse the block site space_beyond Linux - Newbie 1 06-03-2005 09:15 AM
How to block specific IPs? cranium2004 Linux - Networking 3 04-01-2005 09:02 AM
block specific ip addresses paperdiesel Linux - Security 3 07-21-2004 11:47 AM > Forums > Linux Forums > Linux - Newbie

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