[Chrootssh-users] sftplogging not working with chroot
Brought to you by:
punkball
From: KilRoy P. <kil...@ya...> - 2005-04-21 17:38:28
|
Hello, I have installed openssh-3.9_p1-r2 (Gentoo ebuild), and applied the sftplogging patch and the chroot patch. The setup usually works great: sftp-server logs everything that the user does, and user shells can be chrooted based on their HOMEDIR entry in /etc/passwd. However, when a user has sftp-server set as their shell AND is chrooted, sftp-server doesn't log. I read in the chroot patch README that syslog (I use gentoo and my logging service is syslog-ng) needs a /dev/log entry in the chroot path to run. So I 'touch'ed one, and ran syslog-ng in the chrooted environment - but this chrooted sftp-server still only logs general ssh messages, not the verbose sftp-server user actions. I should note that if the user is NOT chrooted, sftp-server does indeed log verbosely. Further, I can chroot users that use sftp-server just fine; Yet I can't set up a chrooted user whose sftp-server actions are verbosely logged. I would appreciate further details on how /dev entries must be set up for the system logger to read and record user sftp-server actions. I tried searching this mailing list, but have not had any luck. Thanks in advance, Kilroy __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |