[Top][All Lists]

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

Re: [Jailkit-users] How do you safely handle jailed user files?

From: Olivier Sessink
Subject: Re: [Jailkit-users] How do you safely handle jailed user files?
Date: Sun, 11 Mar 2007 01:04:51 +0100
User-agent: Thunderbird (X11/20060927)

Jere Retzer wrote:
I'm working on a system that will allow remote computers to upload
files to jailed user home directories on  a Suse linux server. A
process on this Suse linux server will periodically transfer the
contents of these jailed user home directories to a database server
and then delete the files in the jailed user home directories. Is the
best option to run this process as root or is there a better method?

that is a bit beyond the scope of Jailkit, but lets give that a try.

If the process has to handle files from many different users it has to run as root, or the process must be started for each individual user.

so you have the choice to start the process from each users' crontab and run the process for each user separately. The cron daemon runs outside the chroot jail, so the process has access to the complete system, even though it runs as user that has jk_chrootsh as shell.


reply via email to

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