openssh-5.0p1: sftp transfer logging doesn't appear to work with chroot environment
Dan Yefimov
dan at nf15.lightwave.net.ru
Mon May 5 05:00:23 EST 2008
On Sun, 4 May 2008, john wrote:
> > What exact steps have you taken to accomplish what Damien proposed?
>
> Yes sorry Dan, I should have been specific.
>
> I created a file in my chroot root called /home/dev/auth.log
>
> Then I edited syslogd to write auth log to that location and restarted syslogd.
>
It was wrong yet from this point. You should have created directory named 'dev'
located right in your chroot directory. No syslogd.conf editing was necessary.
After that you should have reloaded your syslogd with additional
'-a <path_to_your_chroot_directory>/dev/log' parameter. And that's all!
--
Sincerely Your, Dan.
More information about the openssh-unix-dev
mailing list