1 |
I konw that I have been fighting with this for a while now, glad to know I |
2 |
am not the only one. I have posted this same issue to the uclibc list ( |
3 |
according to the web page that is the appropriate place, but have not |
4 |
recieved any repsonse other than I need to set my permissions correctly. |
5 |
|
6 |
Austin Morgan |
7 |
|
8 |
|
9 |
-----Original Message----- |
10 |
From: gentoo-embedded+bounces-963-AUSTIN.D.MORGAN=saic.com@g.o on |
11 |
behalf of Joshua ChaitinPollak |
12 |
Sent: Tue 6/27/2006 2:13 PM |
13 |
To: gentoo-embedded@l.g.o |
14 |
Subject: Re: [gentoo-embedded] Busybox login requires root priviledges?? |
15 |
|
16 |
Ok, I hacked the busybox source to print out the uid busybox things |
17 |
it is running as when I get the "this applet requires suid" error: |
18 |
|
19 |
if (geteuid() != 0) { |
20 |
fprintf(stderr, "euid = %d, ruid = %d", geteuid(), getuid()); |
21 |
// bb standard error here |
22 |
} |
23 |
|
24 |
and I get: |
25 |
|
26 |
euid = -1, ruid = -1 |
27 |
|
28 |
What makes busybox think it is running as user -1? What does that |
29 |
mean when the uid functions return that? |
30 |
|
31 |
Is this off-topic for Gentoo-Embedded, should I take this to the bb |
32 |
lists? |
33 |
|
34 |
-Josh |
35 |
|
36 |
On Jun 27, 2006, at 11:03 AM, Joshua ChaitinPollak wrote: |
37 |
|
38 |
> Hum, trying to emerge 1.1.3 fails when trying to apply the busybox/ |
39 |
> files/1.1.1/bb.patch file. I commented out that line of the ebuild |
40 |
> and now it builds. Unfortunately, it didn't solve my problem: |
41 |
> |
42 |
> Soekris login: root |
43 |
> login: This applet requires root priviledges! |
44 |
> |
45 |
> Soekris login: |
46 |
> |
47 |
> |
48 |
> Huh??? |
49 |
> |
50 |
> |
51 |
> On Jun 27, 2006, at 8:44 AM, Anish Patel wrote: |
52 |
> |
53 |
>> IIRC 1.1.0 had some problems with login, try 1.1.3 it seems to be |
54 |
>> working fine. |
55 |
>> |
56 |
>> ----- Original Message ----- From: "Joshua ChaitinPollak" |
57 |
>> <jpollak@×××××××××××.com> |
58 |
>> To: <gentoo-embedded@l.g.o> |
59 |
>> Sent: Monday, June 26, 2006 10:52 PM |
60 |
>> Subject: Re: [gentoo-embedded] Busybox login requires root |
61 |
>> priviledges?? |
62 |
>> |
63 |
>> |
64 |
>>> Oops, sorry, 1.1.0. |
65 |
>>> |
66 |
>>> On Jun 26, 2006, at 10:17 PM, Anish Patel wrote: |
67 |
>>> |
68 |
>>>> what version of busybox? |
69 |
>>>> |
70 |
>>>> ----- Original Message ----- From: "Joshua ChaitinPollak" |
71 |
>>>> <jpollak@×××××××××××.com> |
72 |
>>>> To: <gentoo-embedded@l.g.o> |
73 |
>>>> Sent: Monday, June 26, 2006 7:37 PM |
74 |
>>>> Subject: [gentoo-embedded] Busybox login requires root |
75 |
>>>> priviledges?? |
76 |
>>>> |
77 |
>>>> |
78 |
>>>>> Ok, I searched around on this one and I'm stumped. When I type |
79 |
>>>>> 'root' at the login: prompt, I get the error message: |
80 |
>>>>> login: This applet requires root priviledges! |
81 |
>>>>> This seems to be a common problem, except I've never seen it |
82 |
>>>>> reported for the login command. Also, I have busybox |
83 |
>>>>> configured NOT to use the /etc/busybox.conf [SUID] block, and |
84 |
>>>>> I've tried with /bin/busybox both SUID/GUID, and with it set |
85 |
>>>>> to 777 permissions. |
86 |
>>>>> Does anyone have any idea why I can't login? |
87 |
>>>>> This used to work fine on my Linux 2.4 build, but now that I've |
88 |
>>>>> upgraded to 2.6, everything has gone pear-shaped. |
89 |
>>>>> -Josh |
90 |
>>>>> -- |
91 |
>>>>> Joshua ChaitinPollak |
92 |
>>>>> Software Engineer |
93 |
>>>>> Kiva Systems |
94 |
>>>>> -- |
95 |
>>>>> gentoo-embedded@g.o mailing list |
96 |
>>>>> |
97 |
>>>> -- |
98 |
>>>> gentoo-embedded@g.o mailing list |
99 |
>>>> |
100 |
>>>> |
101 |
>>> |
102 |
>>> -- |
103 |
>>> Joshua ChaitinPollak |
104 |
>>> Software Engineer |
105 |
>>> Kiva Systems |
106 |
>>> |
107 |
>>> |
108 |
>>> -- |
109 |
>>> gentoo-embedded@g.o mailing list |
110 |
>> |
111 |
>> -- |
112 |
>> gentoo-embedded@g.o mailing list |
113 |
>> |
114 |
>> |
115 |
> |
116 |
> -- |
117 |
> Joshua ChaitinPollak |
118 |
> Software Engineer |
119 |
> Kiva Systems |
120 |
> |
121 |
> |
122 |
> -- |
123 |
> gentoo-embedded@g.o mailing list |
124 |
> |
125 |
> |
126 |
|
127 |
-- |
128 |
Joshua ChaitinPollak |
129 |
Software Engineer |
130 |
Kiva Systems |
131 |
|
132 |
|
133 |
-- |
134 |
gentoo-embedded@g.o mailing list |
135 |
|
136 |
-- |
137 |
gentoo-embedded@g.o mailing list |