Jacek Jablonski <[EMAIL PROTECTED]> writes:

> I have ubuntu system and rssh 2.3.0, I tried to set up chroot jail
> with script and manually, but always the result is the same: in syslog
> I can see:

> *****************
> Sep  9 17:43:39 localhost rssh[8828]: setting log facility to LOG_USER
> Sep  9 17:43:39 localhost rssh[8828]: allowing scp to all users
> Sep  9 17:43:39 localhost rssh[8828]: allowing sftp to all users
> Sep  9 17:43:39 localhost rssh[8828]: setting umask to 022
> Sep  9 17:43:39 localhost rssh[8828]: chrooting all users to /home/ftp
> Sep  9 17:43:39 localhost rssh[8828]: chroot cmd line: 
> /usr/lib/rssh/rssh_chroot_helper 2 "/usr/lib/openssh/sftp-server"
> Sep  9 17:43:39 localhost rssh_chroot_helper[8828]: new session for yacek, 
> UID=1006
> Sep  9 17:43:39 localhost rssh_chroot_helper[8828]: chroot() failed, 2: 
> Operation not permitted

Is /usr/lib/rssh/rssh_chroot_helper installed setuid?  If not, that's the
problem.  Run dpkg-reconfigure rssh and answer yes to the question about
whether you want rssh_chroot_helper to be installed setuid root.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

-------------------------------------------------------------------------
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