jailkit-users
[Top][All Lists]
Advanced

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

RE: [Jailkit-users] closed connection for sftp in a chrooted jail


From: Russ Lavoie
Subject: RE: [Jailkit-users] closed connection for sftp in a chrooted jail
Date: Sat, 25 Nov 2006 11:19:08 -0600

Here is the change I made.

#include <limits.h>
#define DEBUG

#ifdef DEBUG
#define DEBUG_MSG printf
#else
#define DEBUG_MSG(args...)
 /**/
#endif


Commands I ran

Make clean ; ./configure ; make ; make install

No change in the logging.

/var/log/messages

Nov 25 11:05:51 rlavoie-linux jk_chrootsh[25151]: now entering jail
/var/ftp/mike2 for user mike2 (508)

/var/log/secure

Nov 25 11:05:51 rlavoie-linux sshd[25148]: Accepted password for mike2
from 172.31.14.129 port 1980 ssh2
Nov 25 11:05:51 rlavoie-linux sshd[25150]: pam_unix(sshd:session):
session opened for user mike2 by (uid=0)
Nov 25 11:05:51 rlavoie-linux sshd[25150]: subsystem request for sftp
Nov 25 11:05:51 rlavoie-linux sshd[25150]: pam_unix(sshd:session):
session closed for user mike2

Where would the debugging info go?

Russ


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Olivier Sessink
Sent: Saturday, November 25, 2006 10:49 AM
To: address@hidden
Subject: Re: [Jailkit-users] closed connection for sftp in a chrooted
jail

Russ Lavoie wrote:
> The logging was appended to syslog which would go to the
> /var/log/messages (same way I setup my chroot DNS servers, which
works).
> Updated to the latest CVS release and still no go.

hmm if you still do not get logging there must be a problem in
jk_chrootsh.

It's possible to have jk_chrootsh produce debugging output. In the top
of jk_chrootsh.c there is a /* #define DEBUG */. Remove the comment
block and recompile, this will give debugging output.

regards,
        Olivier


_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]