From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FvJ37-0006wA-Lq for garchives@archives.gentoo.org; Tue, 27 Jun 2006 19:16:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5RJEdfb018383; Tue, 27 Jun 2006 19:14:39 GMT Received: from kivasystems.com (mail.kivasystems.com [204.14.67.10]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5RJEahX012759 for ; Tue, 27 Jun 2006 19:14:36 GMT Received: from localhost (localhost [127.0.0.1]) by kivasystems.com (Postfix) with ESMTP id 3CBA0BF1B01 for ; Tue, 27 Jun 2006 15:14:35 -0400 (EDT) Received: from kivasystems.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21118-03 for ; Tue, 27 Jun 2006 15:14:27 -0400 (EDT) Received: from [10.100.4.237] (woodstock.kivasystems.com [10.100.4.237]) by kivasystems.com (Postfix) with ESMTP id A0651BF1A70 for ; Tue, 27 Jun 2006 15:14:21 -0400 (EDT) In-Reply-To: <86AFC40A-D615-44C8-9905-FF931DC2BCAE@kivasystems.com> References: <000f01c6998f$c81e2670$7901a8c0@LiveStrong> <712F02BF-6D79-4296-A13C-402B7164ADB4@kivasystems.com> <002401c699e7$744d83d0$0201a8c0@LiveStrong> <86AFC40A-D615-44C8-9905-FF931DC2BCAE@kivasystems.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v750) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2A52CCE8-94C8-44A3-B9DB-1208BC905880@kivasystems.com> Content-Transfer-Encoding: 7bit From: Joshua ChaitinPollak Subject: Re: [gentoo-embedded] Busybox login requires root priviledges?? Date: Tue, 27 Jun 2006 15:13:52 -0400 To: gentoo-embedded@lists.gentoo.org X-Mailer: Apple Mail (2.750) X-Virus-Scanned: by amavisd-new at kivasystems.com X-Archives-Salt: b1df4318-9402-4e3f-9a82-22001caf1e16 X-Archives-Hash: 0f04f4be402b5326fb701f7746e6d32a Ok, I hacked the busybox source to print out the uid busybox things it is running as when I get the "this applet requires suid" error: if (geteuid() != 0) { fprintf(stderr, "euid = %d, ruid = %d", geteuid(), getuid()); // bb standard error here } and I get: euid = -1, ruid = -1 What makes busybox think it is running as user -1? What does that mean when the uid functions return that? Is this off-topic for Gentoo-Embedded, should I take this to the bb lists? -Josh On Jun 27, 2006, at 11:03 AM, Joshua ChaitinPollak wrote: > Hum, trying to emerge 1.1.3 fails when trying to apply the busybox/ > files/1.1.1/bb.patch file. I commented out that line of the ebuild > and now it builds. Unfortunately, it didn't solve my problem: > > Soekris login: root > login: This applet requires root priviledges! > > Soekris login: > > > Huh??? > > > On Jun 27, 2006, at 8:44 AM, Anish Patel wrote: > >> IIRC 1.1.0 had some problems with login, try 1.1.3 it seems to be >> working fine. >> >> ----- Original Message ----- From: "Joshua ChaitinPollak" >> >> To: >> Sent: Monday, June 26, 2006 10:52 PM >> Subject: Re: [gentoo-embedded] Busybox login requires root >> priviledges?? >> >> >>> Oops, sorry, 1.1.0. >>> >>> On Jun 26, 2006, at 10:17 PM, Anish Patel wrote: >>> >>>> what version of busybox? >>>> >>>> ----- Original Message ----- From: "Joshua ChaitinPollak" >>>> >>>> To: >>>> Sent: Monday, June 26, 2006 7:37 PM >>>> Subject: [gentoo-embedded] Busybox login requires root >>>> priviledges?? >>>> >>>> >>>>> Ok, I searched around on this one and I'm stumped. When I type >>>>> 'root' at the login: prompt, I get the error message: >>>>> login: This applet requires root priviledges! >>>>> This seems to be a common problem, except I've never seen it >>>>> reported for the login command. Also, I have busybox >>>>> configured NOT to use the /etc/busybox.conf [SUID] block, and >>>>> I've tried with /bin/busybox both SUID/GUID, and with it set >>>>> to 777 permissions. >>>>> Does anyone have any idea why I can't login? >>>>> This used to work fine on my Linux 2.4 build, but now that I've >>>>> upgraded to 2.6, everything has gone pear-shaped. >>>>> -Josh >>>>> -- >>>>> Joshua ChaitinPollak >>>>> Software Engineer >>>>> Kiva Systems >>>>> -- >>>>> gentoo-embedded@gentoo.org mailing list >>>>> >>>> -- >>>> gentoo-embedded@gentoo.org mailing list >>>> >>>> >>> >>> -- >>> Joshua ChaitinPollak >>> Software Engineer >>> Kiva Systems >>> >>> >>> -- >>> gentoo-embedded@gentoo.org mailing list >> >> -- >> gentoo-embedded@gentoo.org mailing list >> >> > > -- > Joshua ChaitinPollak > Software Engineer > Kiva Systems > > > -- > gentoo-embedded@gentoo.org mailing list > > -- Joshua ChaitinPollak Software Engineer Kiva Systems -- gentoo-embedded@gentoo.org mailing list