[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterpris
From: |
Koshy Abraham |
Subject: |
Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3 |
Date: |
Fri, 16 Jun 2006 17:55:23 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) |
Koshy Abraham wrote:
Olivier Sessink wrote:
Koshy Abraham wrote:
Hi,
I am getting a problem with jk_jailuser as shown at the bottom.
I am using:
jailkit-2.0-1.el3.rf.i386.rpm
which python version are you using?
Olivier
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
I am using python version 2.2.3
Koshy
---
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
Hi,
Thanks for your help. I upgraded my python and it fixed this problem.
But I now have another problem.
I get a "Connection closed" message when I try "ftp". However, if I do
ssh it works.
I tried a couple of different jail configurations e.g. "sftp&scp only"
and "chroot shell" and with two
different shells i.e. bash and jk_lsh. They both give me the same
meeage. My configuration details are below.
Can someone please help?
Koshy
---
My /home/jailroot/etc/passwd
---
jailuser:x:500:500::/home/jailuser:/bin/bash
root:x:0:0:root:/root:/bin/bash
My /home/jailroot/etc/group
---
jailuser:x:500:
root:x:0:root
My /home/jailroot/etc/jailkit/jk_lsh.ini
---
[jailuser]
paths= /usr/bin, /usr/lib/, /usr/libexec/openssh
executables= /usr/bin/ssh, /usr/bin/scp,
/usr/libexec/openssh/sftp-server
Message when I try to login
---
address@hidden abrahamk]$ sftp address@hidden
Connecting to localhost...
address@hidden's password:
Connection closed
address@hidden abrahamk]$
My /var/log/messages
---
Jun 16 17:30:54 howbrrws sshd(pam_unix)[2230]: session closed for user
jailuser
Jun 16 17:31:11 howbrrws sshd(pam_unix)[2353]: session opened for user
jailuser by (uid=0)
Jun 16 17:31:11 howbrrws jk_chrootsh[2354]: now entering jail
/home/jailroot for user jailuser (500)
Jun 16 17:31:11 howbrrws sshd(pam_unix)[2353]: session closed for user
jailuser
My /var/log/secure
---
Jun 16 17:31:11 howbrrws sshd[2349]: Accepted password for jailuser from
127.0.0.1 <http://127.0.0.1> port 55851 ssh2
Jun 16 17:31:11 howbrrws sshd[2353]: subsystem request for sftp
- [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Koshy Abraham, 2006/06/13
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Olivier Sessink, 2006/06/13
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Koshy Abraham, 2006/06/14
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3,
Koshy Abraham <=
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Olivier Sessink, 2006/06/16
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Koshy Abraham, 2006/06/18
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Olivier Sessink, 2006/06/19
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Mike, 2006/06/19
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Koshy Abraham, 2006/06/19
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Olivier Sessink, 2006/06/20
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Koshy Abraham, 2006/06/19
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Olivier Sessink, 2006/06/20
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Koshy Abraham, 2006/06/20
- Re: [Jailkit-users] jailkit problem with jk_jailuser on Redhat Enterprise Linux 3, Olivier Sessink, 2006/06/20