From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10802221033x297bf561he31dd4bdf80441e6@mail.gmail.com> Date: Fri, 22 Feb 2008 10:33:05 -0800 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] a challenge In-Reply-To: <14ec7b180802221023j472a7953v70c31da9ed1c0563@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13426df10802220953q3af4a1aarf93acaaebfedc9b@mail.gmail.com> <14ec7b180802221023j472a7953v70c31da9ed1c0563@mail.gmail.com> Topicbox-Message-UUID: 5ef46cb4-ead3-11e9-9d60-3106f5b1d025 On Fri, Feb 22, 2008 at 10:23 AM, andrey mirtchovski wrote: > well, i checked the source. turns out bash 3.2 drops privileges if uid > != euid and requires the -p flag to allow itself to run in setuid > mode: I saw something even more bizarre last night on busy box: it looked like some library and/or bash was looking for a file called /etc/sudo_test or some such. It's just amazing the kind of stuff that the gnu guys are wrapping around the kernel to try and bail the boat out. ron