[Top][All Lists]

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

[Jailkit-users] How to allow a user from outside of jail to access a fol

From: Steven Mapes
Subject: [Jailkit-users] How to allow a user from outside of jail to access a folder inside the jail?
Date: Thu, 13 Dec 2007 09:26:48 +0000
User-agent: Thunderbird (Windows/20071031)

I've setup a jail with restricted access which is working fine. My users can connect and SCP their data onto the server, however I've now hit upon a requirement that I'm stuck with and was hoping for some advise / tips.

My jail is /jailroot
I have a folder /jailroot/home/user1/upload which is symlinked to /tmp/jailshare/pickup

I can access this find as root, but the problem is I need to have a cron running as the webservice that handles the files uploaded by the user.

when I created the jailuser I create a new group that contained that user and my web service account, and set this as the group for the user. In the non-jail system this works fine, but in the jail system because the webservice user does not exist as a entry in /jailroot/etc/passwd it seems to not like it.

I looked at jk_uchroot as I thought that it may be the answer, but that also does not seem to work (http://olivier.sessink.nl/jailkit/jk_uchroot.8.html)

Has anyone got any thoughts on how I should be setting this up? I'm sure it must be possible to allow a normal user other than root to have access to a folder inside of the jail.



reply via email to

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