jailkit-dev
[Top][All Lists]
Advanced

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

[Jailkit-dev] [bug #35579] "cvsroot only howto" and "ssh only howto" doc


From: Juuso Hagström
Subject: [Jailkit-dev] [bug #35579] "cvsroot only howto" and "ssh only howto" documentation errors
Date: Tue, 21 Feb 2012 07:29:19 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

URL:
  <http://savannah.nongnu.org/bugs/?35579>

                 Summary: "cvsroot only howto" and "ssh only howto"
documentation errors
                 Project: Jailkit
            Submitted by: jous
            Submitted on: Tue 21 Feb 2012 07:29:18 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

http://olivier.sessink.nl/jailkit/howtos_ssh_only.html

Under the heading *Jk_lsh in the chroot jail* the third line of the third code
example says "peek = 10240" which should be "peak = 10240".

http://olivier.sessink.nl/jailkit/howtos_cvs_only.html

Same problem. Under *Executing cvs, and only cvs*, third line of third code
block is "peek = 10240" which should be "peak = 10240".

if, under the heading *Jail the user*, on the first code block, the line
"jk_jailuser -m -j /home/jail mike" is a typo and should be "jk_jailuser -m -j
/home/cvsjail mike", then the line "jk_init -v -j /home/cvsjail jk_lsh" should
be run before it, or jk_jailuser will exit with an error *invalid shell,
/home/cvsjail/usr/sbin/jk_lsh does not exist*.

I know this is already offtopic, but i also had to change the paths directive
under [uidbasics] in /etc/jailkit/jk_init.ini to 'paths =
/lib/i386-linux-gnu/libnsl.so.1, /lib/i386-linux-gnu/libnss*.so.2,
/etc/nsswitch.conf, /etc/ld.so.conf' to get the cvs_only example to work.

Tested on ubuntu 11.10 oneiric.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?35579>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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