Re: Some questions about linux kernel.

From: Jesse Pollard (pollard@cats-chateau.net)
Date: Mon Mar 20 2000 - 06:56:02 EST


On Sun, 19 Mar 2000, Horst von Brand wrote:
>"Rask Ingemann Lambertsen" <rask-linux@kampsax.k-net.dk> said.
>> Den 16-Mar-00 15:28:28 skrev Horst von Brand følgende om
>> "Re: Some questions about linux kernel. ":
>
>[...]
>
>> > How do you know it is a root login, and not Jane Random Luser?
>
>> Jane Random Luser's login shell doesn't run as root (I hope).
>
>getty(8) forks and exec(2)s login(1), all this runs as root. Then login(1)
>ends up exec(2)ing the user's shell. It is at this point where you know if
>it will be root or jane, and it's too late: You just used up the reserved
>space.

If you used it up then it wasn't large enough in the first place - second
if there are 50 user logins and 1 more for root (not used). ONLY ONE MORE
ATTEMPT IS ALLOWED. If that user is not root - it is terminated without
login success.
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@cats-chateau.net

Any opinions expressed are solely my own.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:29 EST