Dear all, I'm trying to use scponly but I don't succed. I have the following information for you please:
- Debian Etch with "apt-get install scponly" - Setup with chroot - I execute the "setup_chroot" script and follow all the steps - I get this messages during installation: /usr/bin/install: cannot stat '/usr/bin/unison': No such file or directory /usr/bin/install: cannot stat '/usr/bin/svn': No such file or directory - The default directory is /home/scponly/incoming with "drwxr-xr-x" rights - Then I use a Windows PC with WinSCP 3.8.2 but I get an error connection that can't find the user groups, so I compile the "groups.c" file (gcc -o groups groups.c) and copy it to /home/scponly/bin/groups into the jail as saying in the README.Debian text file. - After that I start WinSCP again but I get a new error: ERROR GETTING NAME OF CURRENT REMOTE DIRECTORY CONNECTION HAS BEEN UNEXPECTEDLY CLOSED. SERVER SENT COMMAND EXIT STATUS 0. The "scponly" user is correctly authenticated and the content of /var/log/auth.log from my Debian box is this: Nov 11 22:26:10 sala1 sshd[26822]: Accepted keyboard-interactive/pam for scponly from 192.168.10.2 port 1219 ssh2 Nov 11 22:26:10 sala1 sshd[26826]: (pam_unix) session opened for user scponly by (uid=0) Nov 11 22:26:11 sala1 scponly[26826]: running: /bin/pwd (username: scponly(5002), IP/port: 192.168.10.2 1219 22) Here is the WinSCP lof file: 2006-11-11 23:13:14.841 WinSCP: this is end-of-file:0 2006-11-11 23:13:15.111 unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$status" 2006-11-11 23:13:15.371 WinSCP: this is end-of-file:0 2006-11-11 23:13:15.642 unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$status" 2006-11-11 23:13:15.912 WinSCP: this is end-of-file:0 2006-11-11 23:13:16.203 Looking up groups and users. 2006-11-11 23:13:16.473 groups ; echo "WinSCP: this is end-of-file:$status" 2006-11-11 23:13:16.753 *** glibc detected *** free(): invalid pointer: 0x0804dae0 *** 2006-11-11 23:13:17.034 *** glibc detected *** free(): invalid pointer: 0x0804dae0 *** 2006-11-11 23:13:17.364 Server exited on signal "ABRT" 2006-11-11 23:13:17.695 All channels closed. Disconnecting 2006-11-11 23:13:17.995 Server closed network connection * 2006-11-11 23:13:18.316 (ESshFatal) Error looking up user groups. * 2006-11-11 23:13:18.316 Connection has been unexpectedly closed. Server sent command exit status 0. What can I do in order to use scponly with WinSCP as my client ??? Thanking in advance, and sorry to bother you. Alejandro -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]