UID is -1, can't login?

Mike Frysinger vapier at gentoo.org
Tue Jun 27 14:37:39 PDT 2006


On Tuesday 27 June 2006 17:25, Joshua ChaitinPollak wrote:
> On Jun 27, 2006, at 5:16 PM, Rob Landley wrote:
> >> What I get when I run this is:
> >>
> >> Soekris login: root
> >> Effective UID = -1, ruid = -1
> >> login: This applet requires root priviledges!
> >
> > Huh, geteuid() is _failing_.  That's nice.  Is there an errno?
> >
> > The man page says "these functions are always successful", which is
> > just
> > WEIRD.  What libc are you using, and what kernel version?
>
> uclibc version 0.9.28 and linux 2.6.16.19.

did you disable the 16-bit UID syscall option in the kernel ?  uClibc 0.9.28 
and older require that option as it still uses the 16bit interface for 
userids ... ive fixed up svn to use the 32bit interface where available
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20060627/31f66276/attachment.pgp


More information about the busybox mailing list