jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] setup help


From: Olivier Sessink
Subject: Re: [Jailkit-users] setup help
Date: Tue, 06 Oct 2009 19:54:18 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Peter Lauda wrote:
> Hi,
> 
> I’ve been trying to get jailkit set up for a user to use sftp or scp
> only. I’ve followed the steps outlined in the docs I get with the kit
> and everything seems to go as advertised.
> 
> After I run the jk_jailuser /some-jail/dir   /home/user   -  I restart
> the jk_socketd and try to test…
> 
> I get /some-jail/dir/./home/user no such file or directory

and is the error message true? does this directory exist or not?

if it exists, what does the home directory in /some-jail/dir/etc/passwd
point to? That one should look like /home/user because it is alrready
inside the jail.

> I tried tweaking permissions because /var/log/messages seemed to
> indicate permission denied. I then get things like /some-jail/dir is not
> a safe chroot.

if the chroot jail itself or any of the system directories is writable
by the user you get this warning. Only the home dir itself should be
writable by the user.

regards,
        Olivier




reply via email to

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