Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Jail user foo (CentOS5)

Posted on 2009-04-28
1
Medium Priority
?
307 Views
Last Modified: 2012-05-06
I run a web server on CentOS 5.

When "foo" logs in via SFTP their default directory is /home/foo/

I do NOT want them to be able to read or access
 /home/
 /home/fii/
 /etc/

or any other directory except /home/foo/ and its sub directories.
0
Comment
Question by:hankknight
1 Comment
 
LVL 7

Accepted Solution

by:
martin_2110 earned 2000 total points
ID: 24254077
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month14 days, 2 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question