public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* RE: [gentoo-embedded] Busybox login requires root priviledges??
@ 2006-06-27 19:39 Morgan, Austin D.
  2006-06-27 20:29 ` Joshua ChaitinPollak
  0 siblings, 1 reply; 13+ messages in thread
From: Morgan, Austin D. @ 2006-06-27 19:39 UTC (permalink / raw
  To: gentoo-embedded

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"  
>> <jpollak@kivasystems.com>
>> To: <gentoo-embedded@lists.gentoo.org>
>> 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"  
>>>> <jpollak@kivasystems.com>
>>>> To: <gentoo-embedded@lists.gentoo.org>
>>>> 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



^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [gentoo-embedded] Busybox login requires root priviledges??
@ 2006-06-27 13:47 Morgan, Austin D.
  0 siblings, 0 replies; 13+ messages in thread
From: Morgan, Austin D. @ 2006-06-27 13:47 UTC (permalink / raw
  To: gentoo-embedded

1.1.0 and 1.3.0

Austin


-----Original Message-----
From: gentoo-embedded+bounces-949-AUSTIN.D.MORGAN=saic.com@gentoo.org on
behalf of Anish Patel
Sent: Mon 6/26/2006 9:17 PM
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Busybox login requires root priviledges??
 
what version of busybox?

----- Original Message ----- 
From: "Joshua ChaitinPollak" <jpollak@kivasystems.com>
To: <gentoo-embedded@lists.gentoo.org>
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

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [gentoo-embedded] Busybox login requires root priviledges??
@ 2006-06-26 23:37 Joshua ChaitinPollak
  2006-06-27  2:17 ` Anish Patel
  0 siblings, 1 reply; 13+ messages in thread
From: Joshua ChaitinPollak @ 2006-06-26 23:37 UTC (permalink / raw
  To: gentoo-embedded

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-06-27 21:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27 19:39 [gentoo-embedded] Busybox login requires root priviledges?? Morgan, Austin D.
2006-06-27 20:29 ` Joshua ChaitinPollak
2006-06-27 20:40   ` Anish Patel
2006-06-27 20:51     ` Joshua ChaitinPollak
2006-06-27 21:35       ` Joshua ChaitinPollak
  -- strict thread matches above, loose matches on Subject: below --
2006-06-27 13:47 Morgan, Austin D.
2006-06-26 23:37 Joshua ChaitinPollak
2006-06-27  2:17 ` Anish Patel
2006-06-27  2:52   ` Joshua ChaitinPollak
2006-06-27  3:53     ` Ned Ludd
2006-06-27 12:44     ` Anish Patel
2006-06-27 15:03       ` Joshua ChaitinPollak
2006-06-27 19:13         ` Joshua ChaitinPollak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox