exit after auth (root): couldn't change user as non-root

Rob Landley rob at landley.net
Fri May 19 03:35:31 WST 2006


On Tuesday 16 May 2006 4:36 pm, Sebastian Haag wrote:
> I changed the exit message and got as return value -1. Thats funny cause
> getuid() shouldn´t return error codes... ;-)
>
> So I checked my kernel config and found under "General setup" the option
> "Enable 16 bit UID calls", activated it and getuid() now works properly.

Upgrade your uClibc.  I believe the current one (0.9.28) doesn't make obsolete 
syscalls anymore.

Rob
-- 
Never bet against the cheap plastic solution.



More information about the Dropbear mailing list