From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EZzXN-0005BK-Hs for garchives@archives.gentoo.org; Wed, 09 Nov 2005 23:39:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jA9NcnxE018522; Wed, 9 Nov 2005 23:38:49 GMT Received: from skinny.southernlinux.net (ns2.rednecks.net [64.192.52.5]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jA9Ncm45024690 for ; Wed, 9 Nov 2005 23:38:48 GMT Received: (qmail 32187 invoked by uid 210); 9 Nov 2005 18:32:34 -0500 Received: from 64.192.53.45 by skinny (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.82/1166. f-prot: 4.4.2/3.14.11. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(64.192.53.45):. Processed in 0.059455 secs); 09 Nov 2005 23:32:34 -0000 Received: from unknown (HELO montgomery-45.epproach.net) (64.192.53.45) by 0 with SMTP; 9 Nov 2005 18:32:34 -0500 Subject: Re: [gentoo-embedded] Applets priviledges From: Ned Ludd To: gentoo-embedded@lists.gentoo.org In-Reply-To: <43709138.9030107@fentlinux.com> References: <436FB251.9080506@fentlinux.com> <20051107202437.GF11617@toucan.gentoo.org> <43709138.9030107@fentlinux.com> Content-Type: text/plain Organization: Gentoo Linux Date: Wed, 09 Nov 2005 18:37:02 -0500 Message-Id: <1131579422.18856.14.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0a510b08-adf0-4735-9f67-7d634148e7b2 X-Archives-Hash: 0ec6213017326550247474b342b0abc9 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 Gentoo Linux -- gentoo-embedded@gentoo.org mailing list