[Top][All Lists]

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

Re: [Jailkit-users] Some problems with home directories and users

From: Olivier Sessink
Subject: Re: [Jailkit-users] Some problems with home directories and users
Date: Thu, 12 Jun 2008 14:25:38 +0200
User-agent: Thunderbird (X11/20080502)

Daniel Rossi wrote:
I believe jk_jailuser isnt working either

Traceback (most recent call last):
  File "/usr/sbin/jk_jailuser", line 343, in <module>
  File "/usr/sbin/jk_jailuser", line 334, in main
    jailuser(jail, username, movehome, config)
  File "/usr/sbin/jk_jailuser", line 181, in jailuser
    if (not addusertojail(jail, user, config['shell'], config)):
  File "/usr/sbin/jk_jailuser", line 125, in addusertojail
    if (dirinjail(pw[5], jail)):
  File "/usr/sbin/jk_jailuser", line 55, in dirinjail
    return (jail+'/' == dir[:strlen(jail)+1]+'/')
NameError: global name 'strlen' is not defined

fixed in cvs

I hope I didn't introduce too many other errors with my last changes ;-|


reply via email to

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