On Sat, Apr 21, 2007 at 11:02:25PM -0400, Marc Racette wrote:
> I have switched back to syslog for the purposes of getting this issue
> resolved, as it currently takes precidence over any other issues on the
> machine.  Once this is resolved I will try to implement changes with
> metalog.
> 
> I currently have sftp-server messages being logged to /var/log/syslog
> for non-chrooted users.  This allows me to see their actions while in an
> sftp session, which is exactly what I want.  

So, with rssh, a non-chrooted user is working...  That suggests that
your ssh config and rssh config (at least for non-chroot users) is OK.

> However, once a chrooted user logs in, logging terminates after
> control is passed from rssh to sftp-server.

You're seeing logs from rssh, so the jail is set up correctly.
Logging works.  This means either the copy of sftp-server that lives
in the jail is incapable of logging, or your configuration is somehow
wrong.  Either way, it seems it's not an rssh problem, but a problem
with sftp.  You might try running md5sum on both copies of the
sftp-server binary, to make sure they're both the same.  I don't think
it should be necessary, but you might also try copying your ssh config
files (i.e. /etc/ssh) into your jail.  Please be sure to try them one
at a time, and report back which one (if any) solves the problem. :)

If none of that helps, you might try posting your rssh config and your
logs from a chrooted session.

I would have suggested that rssh might somehow be interfering with
your logging options on the sftp-server command line, except it really
shouldn't, AND it works outside the jail, which would seem to rule
that out.  You'd also be getting an error message in your logs from
rssh about disallowed command line or some such...

-- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D

Attachment: pgpsIckx84dlg.pgp
Description: PGP signature

-------------------------------------------------------------------------
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

Reply via email to