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: Daniel Rossi
Subject: Re: [Jailkit-users] Some problems with home directories and users
Date: Sun, 15 Jun 2008 18:02:28 +1000

Any ideas why its doing this ? Still not working here, cant get past the motd screen and to a bash prompt.

On 12/06/2008, at 11:08 PM, Daniel Rossi wrote:

its working now however it sits there and hangs on the shell message screen around here

Jun 12 22:59:33 kubuntu jk_chrootsh[15495]: now entering jail /path/ to/chroot for user webuser (20003)

And doesnt come up with the bash prompt.

Not logging in correctly.

If i revert back to my jailkit 2.5 package

and re-enable

skip_injail_passwd_check=1
injail_shell=/bin/bash

I login ok.


On 12/06/2008, at 10:25 PM, Olivier Sessink wrote:

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

fixed in cvs

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

Olivier


_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users



_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users





reply via email to

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