deceptive mail
aeb at turing.UUCP
aeb at turing.UUCP
Sat Nov 17 05:29:07 AEST 1984
>> It is even worse: if you are working at a terminal, somebody comes along
>> and in order to show you something logs in recursively: (login x)
>> then after his login process has finished your identity will be reported
>> as x by programs like who and routines like getlogin().
>> --
>> Andries Brouwer -- CWI, Amsterdam -- {philabs,decvax}!mcvax!aeb
>
>
> Say What!
>
> If someone comes up to your terminal and types "login name" you
> will be logged out and he will be logged in. If his login process
> "finishes" i.e. he logs out, the system will display a login
> banner. YOU WILL BE GONE! I'd say whoever did this when you were
> at a terminal walked away without logging off. Are you confusing
> login with su???
>
> Mike @ AMD
Please read carefully: if x says (login x) to my shell and his login
process finishes then I am back in my shell again. He might also have
said /bin/login x . What you are thinking of is that most shells
recognize login as a special command and execute it directly without
forking.
--
Andries Brouwer -- CWI, Amsterdam -- {philabs,decvax}!mcvax!aeb
More information about the Comp.unix.wizards
mailing list