Hi Derek, Thanks for the reply. I did look extensively through the documentation files that came with my installation of RSSH, and I also checked the website FAQ before I sent out this email, but I wasn't able to find anything relating to logging or setting up the jail to make sure logging is set up appropriately. Could you please point me in the right direction as to where to look for this information?
A bit more information about my setup: The sftp subsystem is set up to log to /var/log/sftpd. The logging ssystem im using is metalog. As I mentioned earlier, logging does work correctly for users who have bash as their shell, but any restricted ftp users who log in and have rssh started for them, don't produce any logs. After suggestions from other people, I tried making a /var/log/sftpd directory in the jail, but this had no effect. As you mentioned "As long as your chroot jail is configured properly so that logging works *when using chroot jails*, there's nothing else to do.", this seems to be my issue. Thanks, Marc -----Original Message----- From: Derek Martin [mailto:[EMAIL PROTECTED] Sent: Saturday, April 21, 2007 1:48 AM To: Marc Racette Cc: [email protected] Subject: Re: RSSH logging On Fri, Apr 20, 2007 at 11:35:54PM -0400, Marc Racette wrote: > I have been trying to determine a method by which user sftp sessions > can be logged. I have successfully implemented logging of the > sftp-server service, and this seems to work fine when a user's shell > is bash. As long as your chroot jail is configured properly so that logging works *when using chroot jails*, there's nothing else to do. Logging of sftp is handled entirely by sftp, so if you managed to implement that, and your jail is set up correctly, logging should just work. There's truly nothing magical about rssh's logging, and it should in no way affect sftp's logging, though if your jail is not configured properly, the syslog libraries will not be able to write to the syslog (because the socket it needs is not inside the jail). The rssh docs do describe in great detail how to set up logging properly inside chroot jails *on Linux*... if you're using some other OS, the same idea applies, but you'll need to read your syslog documentation for specific details. On some platforms, it may not be possible at all. HTH -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ rssh-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rssh-discuss
