After reading through several posts on this issue and trying the
solutions they offered (including copying the entire /lib directory into
the chrooted directory) I've decided to ask for help and see if I'm
missing something obvious.  I've also tried allowing everything through
the firewall, no joy.

I'm only allowing sftp and it does work when chroot is not being used.

Here is what's logging when I hit on it:
------------------------------------------------------------------------
Feb 28 16:43:46 svr82 rssh[6377]: setting log facility to LOG_USER
Feb 28 16:43:46 svr82 rssh[6377]: allowing sftp to all users
Feb 28 16:43:46 svr82 rssh[6377]: setting umask to 022
Feb 28 16:43:46 svr82 rssh[6377]: line 53: configuring user rois
Feb 28 16:43:46 svr82 rssh[6377]: setting rois's umask to 011
Feb 28 16:43:46 svr82 rssh[6377]: allowing sftp to user rois
Feb 28 16:43:46 svr82 rssh[6377]: chrooting rois to /home/rois
Feb 28 16:43:46 svr82 rssh[6377]: chroot cmd
line: /usr/lib/rssh_chroot_helper 2 "/usr/lib/ssh/sftp-server"
Feb 28 16:43:46 svr82 rssh_chroot_helper[6377]: new session for rois,
UID=501
Feb 28 16:43:46 svr82 rssh_chroot_helper[6377]: user's home dir
is /home/rois
Feb 28 16:43:46 svr82 rssh_chroot_helper[6377]: couldn't find /home/rois
in chroot jail
Feb 28 16:43:46 svr82 rssh_chroot_helper[6377]: chrooted to /home/rois
Feb 28 16:43:46 svr82 rssh_chroot_helper[6377]: changing working
directory to / (inside jail)
------------------------------------------------------------------------

Other than "couldn't find /home/rois in chroot jail" which is perfectly
understandable it doesn't look like anything is wrong.  Unless someone
knows something I don't know.

My chroot directory is /home/rois and here is the directory structure.
------------------------------------------------------------------------
rois
rois/.bash_logout
rois/.bash_profile
rois/.bashrc
rois/tmp
rois/usr
rois/usr/bin
rois/usr/bin/sftp
rois/usr/bin/rssh
rois/usr/lib
rois/usr/lib/libcrypto.so.0.9.8
rois/usr/lib/libgssapi_krb5.so.2
rois/usr/lib/libkrb5.so.3
rois/usr/lib/libk5crypto.so.3
rois/usr/lib/libedit.so.0
rois/usr/lib/libkrb5support.so.0
rois/usr/lib/ssh
rois/usr/lib/ssh/sftp-server
rois/usr/lib/rssh_chroot_helper
rois/bin
rois/bin/ash
rois/bin/bash
rois/bin/bash3
rois/bin/bsh
rois/bin/rbash
rois/bin/sh
rois/sbin
rois/sbin/bsh
rois/etc
rois/etc/passwd
rois/dev
rois/dev/zero
rois/dev/null
rois/dev/log
rois/lib
rois/lib/libresolv.so.2
rois/lib/libutil.so.1
rois/lib/libz.so.1
rois/lib/libnsl.so.1
rois/lib/libcrypt.so.1
rois/lib/libcom_err.so.2
rois/lib/libdl.so.2
rois/lib/libncurses.so.5
rois/lib/i686
rois/lib/i686/libc.so.6
rois/lib/libtermcap.so.2
rois/lib/ld-2.6.1.so
rois/lib/ld-linux.so.2
------------------------------------------------------------------------

Anything blazingly obvious???

Any insights would be greatly appreciate.
Rois


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to