1 |
On Tue, 2005-11-08 at 12:51 +0100, gringo wrote: |
2 |
> thanks, have seen this before asking here and im doing things like |
3 |
> explained in that link. |
4 |
> I tried several combinations and ended up with something like : |
5 |
> |
6 |
> [SUID] |
7 |
> su = ssx root.root |
8 |
> sulogin = ssx root.root |
9 |
> passwd = ssx root.root |
10 |
> |
11 |
> (/var/...p/epia/etc)-(17:49Kb)--> ls -la busybox.conf |
12 |
> -rw------- 1 root root 92 nov 7 19:28 busybox.conf |
13 |
> |
14 |
> (/var/...p/epia/bin)-(150:1,3Mb)--> ls -la busybox |
15 |
> -rwsr-xr-x 1 root root 601860 nov 7 20:10 busybox |
16 |
> |
17 |
> and no joy till now ... |
18 |
> |
19 |
> What really confuses me is why im hitting this ... more or less i |
20 |
> followed the guide at bulah.com and i believe i did something similiar a |
21 |
> few months ago for a cf install and it went very smoth. I cant even |
22 |
> remember having playied with the busybox.conf file before ... |
23 |
> |
24 |
> Any tip ? |
25 |
|
26 |
Our default behavior of busybox should not require any suid privs at |
27 |
all. So you probably have misconfiguration problem. |
28 |
|
29 |
Here is a quick way to test. (I just tested with BusyBox v1.01 and worked fine) |
30 |
|
31 |
USE=sdl emerge qemu busybox genext2fs |
32 |
|
33 |
cd /usr/src/linux/ |
34 |
mkdir root |
35 |
cd root |
36 |
wget http://dev.gentoo.org/~solar/busybox/bbemu |
37 |
sh ./bbemu $PWD |
38 |
qemu -kernel /usr/src/linux/arch/i386/boot/bzImage -append "root=/dev/hda init=/sbin/init rootfstype=ext2 ro" ../root_fs |
39 |
|
40 |
|
41 |
-- |
42 |
Ned Ludd <solar@g.o> |
43 |
Gentoo Linux |
44 |
|
45 |
-- |
46 |
gentoo-embedded@g.o mailing list |