Re: cronjobs chroot

From: Michelle Konzack <bsd4michelle(at)tamay-dogan.net>
Date: Thu, 5 May 2011 00:35:06 +0200

Hello rainer(at)ultra-secure.de,

Am 2011-05-04 22:40:23, hacktest Du folgendes herunter:
> Hallo,
>
> wir betreiben diverse Hosting-Umgebungung - und mit PHP-FPM kann man ja
> mittlerweile PHP chroot'en und braucht das blödsinnige open_basedir nicht
> mehr. SSH/SFTP chroot'en funzt auch (einigermassen) wunderbar.
>
> Dummeweise benötigen fast alle User cronjobs - und die sind nicht chroot'ed.
>
> Kann man irgendwie die cronjobs auch chrooten?
>
> Der ganze Aufwand erscheint irgendwie für die Katz, wenn ich den cronjobs
> wieder alles erlaube....
> ;-)

Ehm:

   0 * * * * root chroot /home/${USER} /pfad/zum/prodram/des/users.sh

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux
itsystems(at)tdnet France EURL       itsystems(at)tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack
Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947  mobil
                                  Tel: +49-176-86004575 office
<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>
Jabber linux4michelle(at)jabber.ccc.de
ICQ    #328449886
Linux-User #280138 with the Linux Counter, http://counter.li.org/

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 05 May 2011 - 00:35:40 CEST

search this site