LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-28-2008, 10:13 PM   #1
goober3
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
kenoshi
Member
 
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
http://adamsworld.name/chrootjail5.php

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
goober3
LQ Newbie
 
Registered: Aug 2008
Posts: 11

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


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:10 AM.

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