su: This applet requires root priviledges!

Rob Landley rob at landley.net
Thu Mar 9 10:25:24 PST 2006


On Thursday 09 March 2006 12:30 pm, yan seiner wrote:
> I am running on an embedded system.  I installed busybox and dropbear.
>
> I can get root shell immediately without loging in at the console, which
> is fine.
>
> The problem comes in when I try to su once I ssh in as an ordinary user.
>
> I get:
>
> ~ $ su
> su: This applet requires root priviledges!
> ~ $
>
> How can I get root priveledges after I ssh in?

Set the suid bit on the busybox executable?  (We'll drop privs for apps that 
don't require them.)

Rob

P.S. Once make standalone goes in you'll be able to set the suid bit on just 
the apps that need it.  It's slated for 1.1.2.
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list