jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterpris


From: Olivier Sessink
Subject: Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3
Date: Tue, 20 Jun 2006 13:41:55 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060516)

Koshy Abraham wrote:
Olivier Sessink wrote:

can you enable logging in the jail? (e.g. with jk_socketd ?)
currently there is no log message from jk_chrootsh starting bash..

hmm that might have been my fault, I think that log message is only enabled in development/debug mode... (compile time option)

My logs look like this:

/var/log/messages when I do ssh
---
Jun 19 12:19:12 howbrrws sshd(pam_unix)[28102]: session opened for user jailuser by (uid=0) Jun 19 12:19:12 howbrrws jk_chrootsh[28103]: now entering jail /home/jailroot for user jailuser (500)

does ssh work or not?

/var/log/messages when I do sftp
---
Jun 19 12:20:21 howbrrws sshd(pam_unix)[28123]: session opened for user jailuser by (uid=0) Jun 19 12:20:21 howbrrws jk_chrootsh[28124]: now entering jail /home/jailroot for user jailuser (500) Jun 19 12:20:21 howbrrws sshd(pam_unix)[28123]: session closed for user jailuser

'messages' file is the only place in '/var/logs' that I have entries for jk_chrootsh. Are there any other places I should look for logs?

that depends how your syslog is configured. Usually all logs are in /var/log/

Olivier





reply via email to

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