Using CHROOT jail in SFTP

This is a discussion on Using CHROOT jail in SFTP within the OpenSSH Development forums, part of the Networking and Network Related category; Good afternoon, I have been using OpenSSH 3.8p1 and added code to sftp-server.c so I could put ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-18-2006
John Monagin
 
Posts: n/a
Default Using CHROOT jail in SFTP

Good afternoon,

I have been using OpenSSH 3.8p1 and added code to sftp-server.c so I could put users in chroot jail. When I setup a new system and downloaded OpenSSH 4.4p1 and tried the same patch it fails with the following in the /var/log/messages file:
sftp-server[11001]: fatal: Couldn't chroot to user directory /home/newyork/ftpbcc: Operation not permitted

I was wondering why one would work and the other would not.

I am running SUSE Linux Enterprise server 9.0.

Regards,

John Monagin
Lason, Inc.
Office - 734-632-1681
Fax - 734-632-1650
Cell - 248-767-3956
jmonagin@lason.com

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:02 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0