diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2007-10-03 13:07:09 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2007-10-03 13:07:09 +0000 |
commit | 6c06b5f9932b2deb0878c5153f0556ebb9efc18b (patch) | |
tree | d05e441150538200ca659b5bf4f1b8fff3855c78 /shells/tcsh-bofh | |
parent | - Fix session restoration. (diff) |
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
Notes
Notes:
svn path=/head/; revision=200733
Diffstat (limited to 'shells/tcsh-bofh')
0 files changed, 0 insertions, 0 deletions