LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-30-2006, 07:05 AM   #1
biggeorge
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
How to block a user to a directory?


Hello!
I have this problem:
I have a user (ex: "mark") and a new group (ex: "family").
The home of "mark" is "/var/log/marklog".
When "mark" logging whit "ssh", hi go directly in they home (correctly!) "/var/log/marklog".
I need to block "mark" to see and navigate only they home and subfolder!

... Someone help me pls?

tnks!

BigGeorge
 
Old 01-30-2006, 04:16 PM   #2
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
Don't let him ssh with root priveleges may be a good start! Back in the old days when
I was at uni, we had to dialup using SLIP & telnet and login with our user id + p/w.
Not sure about the details of the security aspect of these either. Someone else pls
comment.
 
Old 01-30-2006, 04:40 PM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Use a chroot jail. There are a number of different projects/tools for configuring the jail. Take a look at the Jail chroot project as well as the chroot portion of unSpawns Security references thread.

Last edited by Capt_Caveman; 01-30-2006 at 04:43 PM.
 
  


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
How to Block User Login minil Linux - Security 6 12-19-2005 09:00 AM
Block a Particular User through FTP service karthi Linux - Security 1 11-07-2005 03:57 PM
Block a Particular User through FTP service karthi Linux - Security 1 11-07-2005 02:23 PM
Block user in PHP aznita Programming 4 06-17-2005 06:49 AM
How to hide and block a directory for a specific user hoolie_v Linux - Newbie 2 08-08-2004 07:14 AM

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

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