[scponly] login error: No such file or directory(2)

Tiago Daniel Jacobs tiago at mdtestudio.com.br
Sun Aug 28 15:41:57 EDT 2005


hi,
ldd /home/websites/scponly/libexec/sftp-server
verify if you have all libs that appears as result of this command on 
your chroot enviroment

Tiago

roger at rope.net escreveu:

>	I am running the latest version of scponly on an FC3 system. I
>have setup the chroot environment as per the instructions in:
>
>/home/websites/scponly/
>
>	That contains the etc, usr, lib, and bin directories.
>
>	The first account I'm trying to set up is 'learnqd'. Here's the
>entry from the /etc/passwd file:
>
>learnqd:x:704:704::/home/websites//scponly/learnqd:/usr/local/sbin/scponlyc
>
>	The chrooted password file contains:
>
>learnqd:x:704:704:::
>
>	The chrooted group file contains:
>
>learnqd:x:704:
>
>	When I login, the client system sees this:
>
>$ sftp learnqd at www.learnqd.com
>Connecting to www.learnqd.com...
>learnqd at www.learnqd.com's password:
>Connection closed
>$
>
>	This is what shows up in the messages log file:
>
>Aug 27 18:38:17 nylon sshd[4058]: Accepted password for learnqd from ::ffff:66.51.111.21 port 49979 ssh2
>Aug 27 18:38:17 nylon sshd(pam_unix)[4060]: session opened for user learnqd by (uid=0)
>Aug 27 18:38:17 nylon sshd[4060]: subsystem request for sftp
>Aug 27 18:38:17 nylon [4061]: running: /usr/libexec/openssh/sftp-server (username: learnqd(704), IP/port: ::ffff:66.51.111.21 49979 22)
>Aug 27 18:38:17 nylon [4061]: failed: /usr/libexec/openssh/sftp-server with error No such file or directory(2) (username: learnqd(704), IP/port: ::ffff:66.51.111.21 49979 22)
>Aug 27 18:38:17 nylon sshd(pam_unix)[4060]: session closed for user learnqd
>
>	Does anyone know what the problem is?
>
>	If not, is there a way to increase the logging (for which service)
>to determine what file/directory doesn't exist?
>
>	Thanks.
>
>  
>




More information about the scponly mailing list