[Charlotte.PM] charlotte Digest, Vol 23, Issue 6: chroot issue

George McLaughlin irgem at earthlink.net
Tue Aug 29 19:32:12 PDT 2006


If I'm not mistaken, you also have to do a 'chmod 7455 <enter script name here>' to get it to work on a unix system. This is because a regular user should not be able to run a script/program that can gain root access without the person who has root access giveing the app the 'ok' to do whatever it is that requires root access. The other option is to set the directory up as readable/writeable for everybody...something like 'chmod -R 666 <directory goes here>'. 

George McLaughlin

You need to be careful when you do this though since it opens all kinds of security holes...I think they've even written books on how not to do it.... :(

-----Original Message-----
>From: charlotte-request at pm.org
>Sent: Aug 29, 2006 3:00 PM
>To: charlotte at pm.org
>Subject: charlotte Digest, Vol 23, Issue 6
>
>Send charlotte mailing list submissions to
>	charlotte at pm.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://mail.pm.org/mailman/listinfo/charlotte
>or, via email, send a message with subject or body 'help' to
>	charlotte-request at pm.org
>
>You can reach the person managing the list at
>	charlotte-owner at pm.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of charlotte digest..."
>
>
>Today's Topics:
>
>   1. Re: Doing a chroot in Perl (William McKee)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 29 Aug 2006 11:57:09 -0400
>From: William McKee <william at knowmad.com>
>Subject: Re: [Charlotte.PM] Doing a chroot in Perl
>To: Christopher Fowler <cfowler at outpostsentinel.com>
>Cc: charlotte at pm.org
>Message-ID: <20060829155709.GP12628 at knowmad.com>
>Content-Type: text/plain; charset=us-ascii
>
>On Mon, Aug 28, 2006 at 05:47:23PM -0400, Christopher Fowler wrote:
>> I'm asking why was tomcat able to redirect the output to a file name
>> out.txt in / of the chroot.  / in the chroot is owned by root.
>
>Sorry but I can't be of much help there. I'm not very familiar with
>chroot. Have you tried CharLUG? This seems to me to be more of a OS
>issue than a Perl problem. Let us know if you figure it out.
>
>
>Good luck,
>William
>
>-- 
>Knowmad Technologies
>http://www.knowmad.com
>
>
>------------------------------
>
>_______________________________________________
>charlotte mailing list
>charlotte at pm.org
>http://mail.pm.org/mailman/listinfo/charlotte
>
>End of charlotte Digest, Vol 23, Issue 6
>****************************************



More information about the charlotte mailing list