[BusyBox] What am I missing, please ?

Shaun Savage savages at savages.net
Sat Dec 27 22:14:18 UTC 2003


 > Hi All,
 >
 > $ su
 > su: BusyBox binary has insufficient rights to set proper GID for applet!
 >
 > I have setup busybox.conf :-
 >
 > $ cat /etc/busybox.conf
 > [SUID]
 > su = ssx root.0 # applet su can be run by anyone and runs with
 > euid=0/egid=0
 >

 >You have to make the busybox binary suid/sgid root:

 ># chown root.root /bin/busybox
 ># chmod 6775 /bin/busybox


I have done this but I still get the message!
I am using bb1.00-pre5 with uClibc 0.9.23  kernel 2.6.0

root nfs mounted files system on kernel 2.6.0,  RH9 base

I have tried setgid(), setegid(), setregid() same error. I have added 
fprintf(stderr,"setgid %d %d %s\n",sct->m_gid,errno,strerror(errno))

I am lost

Shaun







More information about the busybox mailing list