I'm trying to set up a chroot jail using rssh on Solaris 8. I get authenticated, but then it immediately says:
 
Connection has been unexpectedly closed. Server sent command exit status 1.
The following is from my /var/spool/adm/syslog file:
 
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] allowing scp to all users
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] allowing sftp to all users
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] setting umask to 022
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] line 51: configuring user testrssh
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] setting testrssh's umask to 022
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] allowing scp to user testrssh
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] allowing sftp to user testrssh
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] chrooting testrssh to /export/home/chroot
Aug 18 20:29:15 slccon01 rssh[26479]: [ID 702911 user.info] chroot cmd line: /opt/csw/libexec/rssh_chroot_helper 2 "/opt/csw/libexec/sftp-server"
Aug 18 20:29:15 slccon01 rssh_chroot_helper[26479]: [ID 702911 user.info] new session for testrssh, UID=301
Aug 18 20:29:15 slccon01 rssh_chroot_helper[26479]: [ID 702911 user.error] chroot() failed, 2: Not owner
 
Does the "chroot() failed, 2: Not owner" indicate a file permissions problem? Or is this still a missing library problem?
-------------------------------------------------------------------------
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