[gmail] Re: su - without password in 1.3.0

Tito farmatito at tiscali.it
Tue Jan 16 06:08:45 PST 2007


On Tuesday 16 January 2007 14:48, Marc Leeman wrote:
> > before running busybox?
> 
> # ls -al /bin/busybox
> -rwsr-xr-x    1 1000     1004       318344 Jan 16  2007 /bin/busybox
> 
Hi,
This works for me:

/etc/busybox.conf
[SUID]
su = ssx root.0 # applet su can be run by anyone and runs with euid=0/e
#su = ssx        # exactly the same

BusyBox v1.4.0.svn (2007-01-16 15:01:41 CET) multi-call binary
Copyright (C) 1998-2006  Erik Andersen, Rob Landley, and others.
Licensed under GPLv2.  See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: [function] [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as!

Currently defined functions:
        su

chmod + busybox
cp busybox /bin/busybox
ls -la /bin/busybox
-rwsr-sr-x 1 root root 18032 2007-01-16 15:04 /bin/busybox

login as simple user dina

busybox su
Password:
root at localhost:/home/dina#

login as root
busybox su dina
dina at localhost:/root/Desktop/busybox$                      

Ciao,
Tito


More information about the busybox mailing list