[Top][All Lists]

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

Re: [Jailkit-users] how to check sections that already jail ?

From: Support MedanDomain
Subject: Re: [Jailkit-users] how to check sections that already jail ?
Date: Thu, 03 Oct 2013 18:07:26 +0700
User-agent: Webmail Services/0.4

ok i got it,

how about to remove section already in a jail ?


i'm not see option for remove in jk_init.

Usage: /usr/sbin/jk_init [OPTIONS]
Usage: /usr/sbin/jk_init [OPTIONS] -j jaildir sections...

-h --help              : this help screen
-c, --configfile=FILE  : specify configfile location
-l, --list             : list all available sections in the configfile
-j, --jail=             : specify the jail to use.
     For backwards compatibility, if no jail is specified, the first
     argument after the options will be used as jail
-v, --verbose          : show what is being done
-f, --force            : force overwriting of existing files
-k, --hardlink         : use hardlinks if possible







On 03-10-2013, Olivier Sessink wrote:

On 10/03/2013 06:23 AM, Support MedanDomain wrote:
[ ~]# jk_init -l ** Available sections in /etc/jailkit/jk_init.ini ** apache - the apache webserver, very basic setup, probably too limited for you apacheutils - htpasswd utility ... How to check section already jail with previous commmand "jk_init -j " ?
jk_init has no option to see if a section is already in a jail. However,
if you run jk_init with a section that exists, it will skip these files


reply via email to

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