deceptive mail and /bin/login

William LeFebvre phil at RICE.ARPA
Sat Nov 17 14:20:57 AEST 1984


> Make /bin/login mode 500 owned by root and it will fail on exec,
> usually causing /etc/init to fork another copy of itself and the
> new user to thus get a fresh copy of /bin/login for normal login,

Of course, if you are dialed up or are connected through a switch on a
line that has the TIOCHPCL bit set, the line gets dropped before init
has the chance to start a new getty (getty execs login after it gets
the login name).  I'm afraid I don't like that idea much.  Especially
since we have a ROLM switch and getty sets the TIOCHPCL bit on every
switch line.  Being able to just say "login user" rather than
struggling with the switch is a big win.

                                William LeFebvre
				Department of Computer Science
				Rice University
                                <phil at Rice.arpa>



More information about the Comp.unix.wizards mailing list