I'm having trouble working out how to get sftp that is chroot'ed (openssh 5.1) to log.
The man page talks about needing a /dev/log so I've created one in the chroot directory /home/user/dev/log and permissioned for them. (not sure about what perms it shoudl be)
I've added -f LOCAL0 -l VERBOSE to the Subsystem sftp command in /etc/ssh/sshd_config and restarted sshd. LOCAL0 should log to /var/log/localmessages
/etc/sysconfig/syslog requires an additional socket so I've put in SYSLOGD_ADDITIONAL_SOCKET="/home/user/dev/log"
but no matter what I put in here and add to SOCKET where the man page says "NAME" eg.
When I restart syslog /etc/init.d/syslog restart
I get a "addr=AF_UNIX.....Address Already in use (98)" error.
I've also seen material on adding to /etc/syslog-ng/syslog-ng.conf
Can someone help with the bit I'm obviously not quite understanding ? Thanks.
I have written articles previously comparing SARDU and YUMI. I also included a couple of lines about Easy2boot (easy2boot.com). I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …