[BusyBox] login buggy also in 1.00pre5

farmatito at tiscali.it farmatito at tiscali.it
Tue Jan 6 16:22:29 UTC 2004


>-- Messaggio Originale --
>Date: Tue, 06 Jan 2004 16:54:19 +0100
>From: Friedrich Lobenstock <fl at fl.priv.at>
>To: Tito <farmatito at tiscali.it>
>Subject: Re: [BusyBox] Re: login buggy also in 1.00pre5
>
>
>Tito wrote on 06.01.2004 17:26 MET:
>

> maybe something like :
>  	if ( check_nologin ( (pw-> pw_uid == 0) ) == 1)
>  		return EXIT_FAILURE;
> would be easier to understand for the non-gurus. ;-)
>
>Sorry but that is to obvious.
>
>"if (x == 1)" can most of the time be written as "
f (x)"
>
>BUT that actually means
>  if (x != 0)

......Yes I know......

BTW I forgot to mention that bb's login on my box (i686 MDK 9.0) works good
if substituted to /bin/login.
Ciao
Tito

--
MfG / Regards
Friedrich Lobenstock






__________________________________________________________________
Tiscali ADSL SENZA CANONE:
Attivazione GRATIS, contributo adesione GRATIS, modem GRATIS,
50 ore di navigazione GRATIS.  ABBONARTI TI COSTA SOLO UN CLICK!
http://point.tiscali.it/adsl/index.shtml






More information about the busybox mailing list