jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] libz?


From: email builder
Subject: Re: [Jailkit-users] libz?
Date: Sun, 29 Jan 2012 22:46:53 -0800 (PST)

>>>  to the jail, it is pretty safe to assume that if you would re-create it 

>>> with
>>>  jk_init and call jk_jailuser again that would create the same jail.
>> 
>>  OK, I was scared of using jk_jailuser again because when I used
>>  it originally, I used with the -m option, but that's a one-time action
>>  because it moves the homedir.
> 
> if the homedir is inside the jail already jk_jailuser will detect this 
> and will not touch the homedir.
> 
>>  I want to handle the homedir separately, because that's where
>>  the userdata is I have to preserve.  So is there anything else
>>  except etc/passwd and etc/group to worry about?
> 
> for the configuration that you describe that is all indeed.
> 
>> 
>>  What I did:
>> 
>>  mv /jail /jail.old
>>  jk_init /jail myjailconfig
>>  cp -p /jail.old/etc/passwd /jail/etc
>>  cp -p /jail.old/etc/group /jail/etc
>>  cp -Rp /jail.old/home /jail
> 
> looks good!


Thanks for your patient help and excellent software.
REALLY appreciate it.



reply via email to

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