jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Problems configuring in Suse 10.2


From: Olivier Sessink
Subject: Re: [Jailkit-users] Problems configuring in Suse 10.2
Date: Tue, 06 Mar 2007 08:10:42 +0100
User-agent: Icedove 1.5.0.9 (X11/20061220)

Jere Retzer wrote:
> I'm attempting to set up a simple jail for scp and sftp only in Suse
> 10.2
> 
> When I try to move a user to the jail I get the following error:
> 
> [hostname]# jk_jailuser /home/sftproot jailuser Traceback (most
> recent call last): File "/usr/sbin/jk_jailuser", line 300, in
> <module> main() File "/usr/sbin/jk_jailuser", line 284, in main jail
> = getjail(jail,config) File "/usr/sbin/jk_jailuser", line 225, in
> getjail if (jail[0] != '/'): TypeError: 'NoneType' object is
> unsubscriptable
> 
> What is happening here? Is there a config file that I missed? I
> looked over jk_init.ini to see if Suse file locations differ but
> didn't see notice a problem. Thanks in advance.

this was a big in jk_jailuser, which is fixed in cvs. To workaround (I
think): make sure that the shell and <jail>/etc/passwd exist in the
jail, and use:

jk_jailuser -j /home/sftproot jailuser

regards,
        Olivier




reply via email to

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