[Top][All Lists]

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

Re: [Jailkit-users] libz?

From: Olivier Sessink
Subject: Re: [Jailkit-users] libz?
Date: Sat, 28 Jan 2012 10:47:33 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0

On 01/28/2012 02:48 AM, email builder wrote:

Can you make any suggestions about how to preserve the jailed
user info?  Is it sufficient to retain /etc/passwd and /etc/shadow
(the ones from the jail) and nothing else?

(User data is separate of course)

It'd be nice to have a FAQ that even presents a script for this.

that really depend on how much you manually changed in the jail.

If you created all of the jail with jk_init and use jk_jailuser to add the user 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.

A good trick to test: mv /jail /jail.old
jk_init /jail myjailconfig
jk_jailuser .......

it it does not work?:
rm -r /jail
mv /jail.old /jail


reply via email to

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