[scponly] scponly failed. new setup

William Estrada MrUmunhum at popdial.com
Thu Feb 5 13:04:18 EST 2009


Hi group,

I am attempting to get scponly running on my Fedora Core 5 system
but I get this error:

    Feb  4 17:19:36 Server scponly[14100]: chrooted binary in place,
    will chroot()
    Feb  4 17:19:36 Server scponly[14100]: 3 arguments in total.
    Feb  4 17:19:36 Server scponly[14100]:  arg 0 is scponlyc
    Feb  4 17:19:36 Server scponly[14100]:  arg 1 is -c
    Feb  4 17:19:36 Server scponly[14100]:  arg 2 is
    /usr/libexec/openssh/sftp-server
    Feb  4 17:19:36 Server scponly[14100]: opened log at LOG_AUTHPRIV,
    opts 0x00000029
    Feb  4 17:19:36 Server scponly[14100]: retrieved home directory of
    "/home/wavmsg//incoming" for user "wavmsg"
    Feb  4 17:19:36 Server scponly[14100]: chrooting to dir: "/home/wavmsg"
    Feb  4 17:19:36 Server scponly[14100]: chdiring to dir: "/incoming"
    Feb  5 01:19:36 Server scponly[14100]: setting uid to 510
    Feb  5 01:19:36 Server scponly[14100]: processing request:
    "/usr/libexec/openssh/sftp-server"
    Feb  5 01:19:36 Server scponly[14100]: running:
    /usr/libexec/openssh/sftp-server (username: wavmsg(510), IP/port:
    10.1.1.50 39612 9999)
    Feb  4 17:19:36 Server sshd[14099]: debug2: channel 0: read<=0 rfd 8
    len -1
    Feb  4 17:19:36 Server sshd[14099]: debug2: channel 0: read failed

My file system looks like this:

    [root at Server incoming]# ls -lrt
    total 48
    -rw-r--r-- 1 wavmsg wavmsg   152 Oct  1  2007 tee.lst
    -rw-r--r-- 1 root   root   26454 Oct  3  2007 sftp.log
    -rw-r--r-- 1 root   root       6 Feb  4 16:00 msg
    [root at Server incoming]# ls -lrt ../
    total 104
    drwxr-xr-x 5 root   root    4096 Oct  1  2007 usr
    drwxr-xr-x 2 root   root    4096 Oct  1  2007 etc
    drwxr-xr-x 2 root   root    4096 Oct  1  2007 dev
    drwxr-xr-x 2 root   root    4096 Oct  2  2007 bin
    drwxr-xr-x 2 root   root    4096 Oct  2  2007 lib
    -rw-r--r-- 1 root   root   41644 Oct  3  2007 sftp.log
    -rw-r--r-- 1 root   root       6 Feb  4 15:59 msg
    drwxr-xr-x 3 wavmsg wavmsg  4096 Feb  4 17:29 incoming

Wavmsg entry in passwd is:

    wavmsg:x:510:510::/home/wavmsg//incoming:/usr/local/sbin/scponlyc

Any ideas on what I am doing wrong??

-- 
William Estrada
MrUmunhum at popdial.com
Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
Ymessenger: MrUmunhum






More information about the scponly mailing list