[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: |
Daniel Rossi |
Subject: |
Re: [Jailkit-users] Some problems with home directories and users |
Date: |
Thu, 12 Jun 2008 21:47:28 +1000 |
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
jk_jailuser -s /bin/bash -j /path/to/chroot webuser
On 12/06/2008, at 9:41 PM, Olivier Sessink wrote:
Daniel Rossi wrote:
ok
if i comment these out
skip_injail_passwd_check=1
injail_shell=/bin/bash
I get this problem
webuser:x:20003:20003:::/bin/bash
I have this in jail/etc/passwd
and i get this
Jun 12 21:14:09 kubuntu jk_chrootsh[10861]: abort, failed to find
user 20003 in /jail/etc/passwd
can you post 'grep 20003 /etc/passwd' to see what the real account
info looks like?
regards,
Olivier
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
- Re: [Jailkit-users] Some problems with home directories and users with same user id, (continued)
Re: [Jailkit-users] Some problems with home directories and users with same user id, Olivier Sessink, 2008/06/11
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/11
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/11
- Re: [Jailkit-users] Some problems with home directories and users, Olivier Sessink, 2008/06/11
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/12
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/12
- Re: [Jailkit-users] Some problems with home directories and users, Olivier Sessink, 2008/06/12
- Re: [Jailkit-users] Some problems with home directories and users,
Daniel Rossi <=
- Re: [Jailkit-users] Some problems with home directories and users, Olivier Sessink, 2008/06/12
- Re: [Jailkit-users] Some problems with home directories and users, Olivier Sessink, 2008/06/12
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/12
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/15
- Re: [Jailkit-users] Some problems with home directories and users, Olivier Sessink, 2008/06/15
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/15
- Re: [Jailkit-users] Some problems with home directories and users, Olivier Sessink, 2008/06/16
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/16
- Re: [Jailkit-users] Some problems with home directories and users, Olivier Sessink, 2008/06/20
- Re: [Jailkit-users] Some problems with home directories and users, Daniel Rossi, 2008/06/21