Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-28-2008, 10:13 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 11

Rep: Reputation: 0
common directory for all sftp users

I have a small network with a desktop running CentOS 4.2 as the server. I want to configure sftp so that all users are 'jailed' to a common directory. I have searched for hours and cannot find any info, only how to jail to the users home directory. How can I do this? I am running OpenSSH and right now, I can sftp but only to the user's directory.
Old 08-28-2008, 11:38 PM   #2
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32

And just point home directory to the same place, and set chroot directory to /home/chroot for example?

Last edited by kenoshi; 08-28-2008 at 11:41 PM.
Old 08-30-2008, 08:34 AM   #3
LQ Newbie
Registered: Aug 2008
Posts: 11

Original Poster
Rep: Reputation: 0
ok thanks for the directions


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
creating common users.. shishirkotkar Linux - Software 2 05-02-2008 05:58 AM
SFTP - home directory turbo_acura Linux - Software 3 05-17-2006 11:37 AM
Common CGI-BIN for Users? Urantian Linux - Newbie 4 02-01-2005 05:52 PM
where to put wallpapers so its common to all users.. Astroboy Linux - Newbie 2 03-07-2004 05:54 PM
Jailing SFTP Users to Home directory Jason_25 Linux - Networking 3 01-06-2002 08:32 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:08 PM.

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