syslog from chrooted environment

Damien Miller djm at mindrot.org
Tue Jul 25 10:21:18 AEST 2017


On Mon, 24 Jul 2017, Mike Tancsa wrote:

> I have a somewhat busy sftp server where the users are all chrooted into
> their home directory. In order to log all the commands they enter, I
> have to create a /dev/log entry and hard link in their home directory so
> that syslog works for their commands
> 
> Match user *
>    ForceCommand internal-sftp -f local1 -l verbose
> 
> Everything works, but its a bit of a pain if someone restarts syslogd
> and forgets to recreate the hardlinks (needed on FreeBSD anyways).

Is it not possible to arrange FreeBSD's syslog to listen on multiple
sockets by default?

-d


More information about the openssh-unix-dev mailing list