All,

I'm having some issues with chroot jail on a FreeBSD 5.4 system with  
rssh version 2.3.2 installed via ports

I've followed the following instructions:
http://www.techno-obscura.com/~delgado/notes/fbsd-rsshChroot.html

below is the errors as they show up in /var/log/messages
------------------------------------------------------------------------ 
-----
Aug 17 12:01:12 xxxx rssh_chroot_helper[6662]: user's home dir is / 
home/chroot/sftpuser
Aug 17 12:01:12 xxxx rssh_chroot_helper[6662]: chrooted to /home/chroot
Aug 17 12:01:12 xxxx rssh_chroot_helper[6662]: changing working  
directory to /sftpuser (inside jail)
Aug 17 12:01:12 xxxx rssh_chroot_helper[6662]: wordexp() bad syntax

It works fine when i comment out the chrootpath in /usr/local/etc/ 
rssh.conf.  Any help would be appreciated.

NOTE:  i installed rssh from ports.  i tried it WITH and WITHOUT the  
patch mentioned in the above url.  I ran make make install with that  
line in argvec.c as DOOFFS and DOOFS.. See below clip for the web  
site i had found.

--- argvec.c.orig       Wed Jul 21 16:28:40 2004
+++ argvec.c    Wed Jul 21 16:28:54 2004
@@ -65,7 +65,7 @@
         int             retc;

         result.we_offs = reserve;
-       if ( (retc = wordexp(str, &result, WRDE_NOCMD|WRDE_DOOFFS)) ){
+       if ( (retc = wordexp(str, &result, WRDE_NOCMD|WRDE_DOOFS)) ){
                 log_set_priority(LOG_ERR);
                 switch( retc ){
                 case WRDE_BADCHAR:

Thanks,
Bill

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to