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 1FvKOf-0006zb-HT for garchives@archives.gentoo.org; Tue, 27 Jun 2006 20:42:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5RKevZs012438; Tue, 27 Jun 2006 20:40:57 GMT Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.205]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5RKettD001745 for ; Tue, 27 Jun 2006 20:40:56 GMT Received: by wx-out-0102.google.com with SMTP id t5so857146wxc for ; Tue, 27 Jun 2006 13:40:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=MhOyaT94ujjpcEfEsLW44evZk4Bb3bRkF91yYVck+4TcK8dl930oFt3/pezCnFJ/nMyzTYisI6e564sXTkKvv2ZjZ+uswjKVVrt1fD2b5wF7GQF3ILxAInGjhuZcas8+MZfet6KCVabo2AwnieAhD5j5dLZynhWmvaSYFCRSfPc= Received: by 10.70.80.16 with SMTP id d16mr179426wxb; Tue, 27 Jun 2006 13:40:55 -0700 (PDT) Received: from LiveStrong ( [66.202.34.162]) by mx.gmail.com with ESMTP id h20sm6886179wxd.2006.06.27.13.40.55; Tue, 27 Jun 2006 13:40:55 -0700 (PDT) Message-ID: <000801c69a29$efac7030$0201a8c0@LiveStrong> From: "Anish Patel" To: References: <72CC0CD3-C26B-4F75-A596-B5D0A55B33DB@kivasystems.com> Subject: Re: [gentoo-embedded] Busybox login requires root priviledges?? Date: Tue, 27 Jun 2006 16:40:32 -0400 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Archives-Salt: 678be81a-8814-4672-bc81-a13528fb0706 X-Archives-Hash: 3d9b89c923c73e8f5a6978f73ec341b6 i am gonna venture and something is going wrong when it is being merged in. i am building busybox 1.1.3 and 1.1.0 buy hand it they work fine for me. ----- Original Message ----- From: "Joshua ChaitinPollak" To: Sent: Tuesday, June 27, 2006 4:29 PM Subject: Re: [gentoo-embedded] Busybox login requires root priviledges?? | Brilliant! Do you have a work around, or what are you doing about it? | | I just tried posting to the busybox list, hopefully that will get a | response.. | | Could it have something to do with /etc/passwd or /etc/shadow being | improperly set? | | Are you NFS mounting /, like I am, and could that have anything to do | with it? | | On Jun 27, 2006, at 3:39 PM, Morgan, Austin D. wrote: | | > I konw that I have been fighting with this for a while now, glad to | > know I | > am not the only one. I have posted this same issue to the uclibc | > list ( | > according to the web page that is the appropriate place, but have not | > recieved any repsonse other than I need to set my permissions | > correctly. | > | > Austin Morgan | > | > | > -----Original Message----- | > From: gentoo-embedded+bounces-963- | > AUSTIN.D.MORGAN=saic.com@gentoo.org on | > behalf of Joshua ChaitinPollak | > Sent: Tue 6/27/2006 2:13 PM | > To: gentoo-embedded@lists.gentoo.org | > Subject: Re: [gentoo-embedded] Busybox login requires root | > priviledges?? | > | > 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 | > | > -- | > gentoo-embedded@gentoo.org mailing list | > | > | | -- | Joshua ChaitinPollak | Software Engineer | Kiva Systems | | | -- | gentoo-embedded@gentoo.org mailing list | -- gentoo-embedded@gentoo.org mailing list