Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, does anyone know of a utility that can test a jail? i used jailkit to set mine up and it came with a tool to test the it, unfortunately ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    21

    Test jail, jailkit.


    Hi, does anyone know of a utility that can test a jail? i used jailkit to set mine up and it came with a tool to test the it, unfortunately it doesn't seem to work.


    olivier.sessink.nl/jk_check.8.html

    maybe i am missing something?

    Code:
    $ jk_check /home/mldonkeyjail
    /usr/sbin/jk_check:38: DeprecationWarning: the md5 module is deprecated; use hashlib instead
      import md5
    Traceback (most recent call last):
      File "/usr/sbin/jk_check", line 289, in <module>
        main()
      File "/usr/sbin/jk_check", line 286, in main
        activateConfig(configfile, verbose)
      File "/usr/sbin/jk_check", line 235, in activateConfig
        jails = testrealpasswd()
      File "/usr/sbin/jk_check", line 214, in testrealpasswd
        chrootsh = os.path.join(PREFIX, '/sbin/jk_chrootsh')
    NameError: global name 'PREFIX' is not defined

    thanks.

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Posts
    21
    bump,

    thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •