Gentoo Archives: gentoo-embedded

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

Replies

Subject Author
Re: [gentoo-embedded] Busybox login requires root priviledges?? Joshua ChaitinPollak <jpollak@×××××××××××.com>