Changing tty drivers (was Re: Finding Passwords)
Dan Bernstein
brnstnd at kramden.acf.nyu.edu
Thu Oct 18 07:36:13 AEST 1990
In article <KGH600D at xds13.ferranti.com> peter at ficc.ferranti.com (Peter da Silva) writes:
> There do exist terminals for which ^G is not a Bell. On some ADM terminals
> it is a *transmit screen* command! Just the sort of thing to put in the
> password prompt.
Well, then, I guess we'll have to use some character that all terminals
will accept without strange modifications. Like... e. Yeah, that's it.
e. Double all e's, except those output by root processes. Note that all
unprintable characters must be trashed, since otherwise they could be
used to mask one of the repeated characters.
I suggest that it's better to use existing utilities than to muck in
weird and wonderful ways with the kernel.
---Dan
More information about the Comp.unix.internals
mailing list