LinuxQuestions.org
Review your favorite Linux distribution.
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, 01:36 AM   #1
Jason_25
Member
 
Registered: Nov 2001
Posts: 40

Rep: Reputation: 15
Jailing SFTP Users to Home directory


Do I need to chroot to do this? Or is there another way?
 
Old 01-06-2002, 12:23 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,791
Blog Entries: 54

Rep: Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980
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, 12:31 PM   #3
Jason_25
Member
 
Registered: Nov 2001
Posts: 40

Original Poster
Rep: Reputation: 15
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, 09: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


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


All times are GMT -5. The time now is 12:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration