diff options
author | edwin <edwin@FreeBSD.org> | 2007-10-03 21:07:09 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-10-03 21:07:09 +0800 |
commit | 9a1282201244f18446cacd78874d6f8affae55a7 (patch) | |
tree | f54762de784f3f943f664a734e64223c30d0defc /shells/flash | |
parent | 59fbd1fc18f57e195a8a5907385ab0d3a520bd97 (diff) | |
download | freebsd-ports-gnome-9a1282201244f18446cacd78874d6f8affae55a7.tar.gz freebsd-ports-gnome-9a1282201244f18446cacd78874d6f8affae55a7.tar.zst freebsd-ports-gnome-9a1282201244f18446cacd78874d6f8affae55a7.zip |
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
Diffstat (limited to 'shells/flash')
0 files changed, 0 insertions, 0 deletions