jailkit-users
[Top][All Lists]
Advanced

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

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


From: Jere Retzer
Subject: Re: [Jailkit-users] How do you safely handle jailed user files?
Date: Sat, 10 Mar 2007 18:54:53 -0800

Thanks, this is interesting. 

>>> address@hidden 3/10/2007 4:04 PM >>>
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.

regards,
        Olivier


_______________________________________________
Jailkit-users mailing list
address@hidden 
http://lists.nongnu.org/mailman/listinfo/jailkit-users 







reply via email to

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