jailkit-dev
[Top][All Lists]
Advanced

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

Re: [Jailkit-dev] more jk_jailuser bugs


From: Stephen Tallowitz
Subject: Re: [Jailkit-dev] more jk_jailuser bugs
Date: Fri, 11 Nov 2005 00:15:03 +0100

> So /srv/jaily/./home/jailtest is created before shutil.move() is executed. 
> shutil.move() then complains about "File exists". Is my analysis correct? I 
> don't know if you want to correct this mistake in the /etc/passwd files, 
> jk_lib.py or jk_jailuser?

I think you ought to fix the trailing slash problem in jk_jailuser, 
jk_addjailuser doesn't seem to produce a trailing slash to the home directory 
entry.
myhost ~ # jk_addjailuser /srv/jaily/ jailtest2
/etc/passwd:
jailtest:x:1006:100::/srv/jaily/./home/jailtest/:/usr/sbin/jk_chrootsh
jailtest2:x:1007:100::/srv/jaily/./home/jailtest2:/usr/sbin/jk_chrootsh

Cheers,
Stephen




reply via email to

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