[BusyBox] my_getpw(u/g)id

Tito farmatito at tiscali.it
Sun Sep 12 12:42:11 UTC 2004


On Sunday 12 September 2004 OO:31, you wrote:
> On Sun, 12 Sep 2004 3:26am  -0000, Tito wrote:
> 
> > > Thanks for notifying about the issue and have a good weekend,
> > Hi,
> > Let me know what's their opinion on it,
> > I just copied the behaviour of id on my 
> > Linux box.
> 
> Hi Tito,
> Yes, and I'll try to convince them to change the behavior  ;-)
Hi Felipe,
Just one more test for you to worry about.
This is from vodz.
root at localhost:/dev/pts/1:/root# cp /bin/id .
root at localhost:/dev/pts/1:/root# chown 777.777 id
root at localhost:/dev/pts/1:/root# chmod 7655 id
root at localhost:/dev/pts/1:/root# ./id
uid=0(root) gid=0(root) euid=777 egid=777 groups=0(root),80(cdwriter)
root at localhost:/dev/pts/1:/root# echo $?
1
root at localhost:/dev/pts/1:/root#

Busybox's id would show:
root at localhost:/dev/pts/2:/root/Desktop/busybox# chmod 7655 busybox
root at localhost:/dev/pts/2:/root/Desktop/busybox# chown 777.777 busybox
root at localhost:/dev/pts/2:/root/Desktop/busybox# chmod 7655 busybox
root at localhost:/dev/pts/2:/root/Desktop/busybox# ./id
uid=777 gid=777
root at localhost:/dev/pts/2:/root/Desktop/busybox# echo $?
1

Ciao,
Tito
> -- 
> Felipe Kellermann
> 
> 



More information about the busybox mailing list