Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2007 13:07:09 +0000 (UTC)
From:      Edwin Groothuis <edwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/shells/scponly Makefile ports/shells/scponly/files scponlyc.in
Message-ID:  <200710031307.l93D79qR040755@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
edwin       2007-10-03 13:07:09 UTC

  FreeBSD ports repository

  Modified files:
    shells/scponly       Makefile 
  Added files:
    shells/scponly/files scponlyc.in 
  Log:
  scponlyc sftp support doesn't work without minimal devfs in chroot dir
  
          I'm finding that recently-created scponlyc chroots do not
          provide a sufficient environment for /usr/libexec/sftp-server
          to run. The sftp client symptom is just:
  
          $ sftp user@www
          Connecting to www...
          Password:
          Connection closed
          $
  
          The cause appears to be that recent versions of
          /usr/libexec/sftp-server will complain about of lack of
          access to /dev/null and exit, resulting in the closed
          connection witnessed by the remote client.
  
          The solution appears to be to create a devfs in the scponlyc
          chroot.
  
          To automatically create at boot time a devfs in the home
          directory of each user of scponlyc, I have chosen to put a
          script in /usr/local/etc/rc.d.
  
  PR:             ports/108009
  Submitted by:   Jim Long <list@museum.rain.com>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.27      +10 -9     ports/shells/scponly/Makefile
  1.1       +56 -0     ports/shells/scponly/files/scponlyc.in (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710031307.l93D79qR040755>