jailkit-users
[Top][All Lists]
Advanced

[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:23:48 +0200
User-agent: Thunderbird 2.0.0.14 (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>
    main()
  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

hmm seems I mixed up some C function names and python function names there ;-)

I'll fix that

Olivier





reply via email to

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