jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] SuSE problem


From: Steve Follmer
Subject: Re: [Jailkit-users] SuSE problem
Date: Wed, 06 Jun 2007 16:01:55 +0800
User-agent: Thunderbird 2.0.0.0 (X11/20070418)

Using jailkit 2.3 on openSUSE 10.2 I ultimately needed to 1. change the
executable path and 2. add /dev/null to devices. See below. I only
created a jail for sftp and scp so I don't know about the other sections
of jk_init.ini.

>> SuSE requires jk_init.ini's sftp section to be changed to look like this:
>>
>> [sftp]
>> comment = ssh secure ftp
>> executables = /usr/lib/ssh/sftp-server
>> includesections = netbasics, uidbasics
>> devices = /dev/urandom, /dev/null
> 
> on my system (which has the jailkit development version) /dev/null is
> already in this section. Did you have to add it yourself?

(the unmodified jk_init.ini from jailkit 2.3 looks like this:
[sftp]
comment = ssh secure ftp
executables = /usr/lib/sftp-server, /usr/libexec/openssh/sftp-server,
/usr/lib/misc/sftp-server
includesections = netbasics, uidbasics
devices = /dev/urandom
)

I suppose that since Ubuntu is Debian based you find that the same
jk_init.ini works on both? I notice jailkit has a separate folder for
debian. Could you add a suse/ folder to hold both the modified jk_init.d
and your existing jailkit suse script from the extra/ folder.

Its working delightfully now, thanks to its comprehensive error messages.

Steve




reply via email to

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