Re: syslog from chrooted environment

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi Mike,

Mike Tancsa wrote on Mon, Jul 24, 2017 at 11:55:54AM -0400:

> 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

Use OpenBSD.  The standard syslog(3) function is implemented
in terms of the sendsyslog(2) system call, such that logging
just always works in any environment and you never need logging
sockets.  That solution was specifically designed to solve your
problem.

  http://man.openbsd.org/sendsyslog.2

Yours,
  Ingo
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux