On Tue, 2005-11-08 at 12:51 +0100, gringo wrote:
> thanks, have seen this before asking here and im doing things like 
> explained in that link.
> I tried several combinations and ended up with something like :
> 
> [SUID]
> su = ssx root.root
> sulogin = ssx root.root
> passwd = ssx root.root
> 
> (/var/...p/epia/etc)-(17:49Kb)--> ls -la busybox.conf
> -rw------- 1 root root 92 nov 7 19:28 busybox.conf
> 
> (/var/...p/epia/bin)-(150:1,3Mb)--> ls -la busybox
> -rwsr-xr-x 1 root root 601860 nov 7 20:10 busybox
> 
> and no joy till now ...
> 
> What really confuses me is why im hitting this ... more or less i 
> followed the guide at bulah.com and i believe i did something similiar a 
> few months ago for a cf install and it went very smoth. I cant even 
> remember having playied with the busybox.conf file before ...
> 
> Any tip ?

Our default behavior of busybox should not require any suid privs at
all. So you probably have misconfiguration problem.

Here is a quick way to test. (I just tested with BusyBox v1.01 and worked fine)

USE=sdl emerge qemu busybox genext2fs

cd /usr/src/linux/
mkdir root
cd root
wget http://dev.gentoo.org/~solar/busybox/bbemu
sh ./bbemu $PWD
qemu -kernel /usr/src/linux/arch/i386/boot/bzImage -append "root=/dev/hda 
init=/sbin/init rootfstype=ext2 ro" ../root_fs


-- 
Ned Ludd <[EMAIL PROTECTED]>
Gentoo Linux

-- 
[email protected] mailing list

Reply via email to