LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-06-2002, 12:36 AM   #1
Jason_25
Member
 
Registered: Nov 2001
Posts: 180

Rep: Reputation: 23
Jailing SFTP Users to Home directory


Do I need to chroot to do this? Or is there another way?
 
Old 01-06-2002, 11:23 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Ive only seen this possible with ssh from ssh.com using their sshd_config's ChRootUsers directive and the static sftp and dummyshell you compile when compiling their ssh.
 
Old 01-06-2002, 11:31 AM   #3
Jason_25
Member
 
Registered: Nov 2001
Posts: 180

Original Poster
Rep: Reputation: 23
Ok thanks. But in order to do this I need the source code. Where can I find it?

BTW, I am using Mandrake 8.0.
 
Old 01-06-2002, 08:32 PM   #4
TacKat
Member
 
Registered: Jan 2002
Distribution: LFS
Posts: 90

Rep: Reputation: 15
www.openssh.com has the OpenSSH source. To compile it you need OpenSSL and zlib installed.

You should have those, but just in case: www.openssl.org and www.gzip.org/zlib.
 
  


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
Jailing users with ProFTPd bullium Linux - Security 4 03-25-2005 03:00 PM
Users can only see home directory bluenix Linux - General 20 03-12-2005 08:51 AM
Users home directory. Permissions. jsbush Linux - Newbie 4 10-29-2003 08:13 AM
multi users on the same home directory rpinatel Linux - General 4 09-05-2003 10:22 AM
2 users, 1 mailbox and 1 home directory keevitaja Linux - Newbie 3 08-15-2002 08:20 PM

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

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