[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] What am I missing, please ?
From:       Shaun Savage <savages () savages ! net>
Date:       2003-12-27 22:14:18
[Download RAW message or body]

> 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






_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic