New Code!
But this code isn't by me; Guy Baconniere has written a couple of patches for my plugh program. One patch just modifies the code so that it will compile on Debian 3.1, and the other one is a somewhat more involved patch that moves command options around to be more compatable with the options provided to getty on Debian, plus uses login -f to log the user in instead of doing it by hand.
I've not yet merged either of these patches into my version of plugh, but I've looked at them and don't see any gaping security holes beyond the ones that came with my original code, so I'm publishing them now under the assumption that I'm flaky and may not integrate them for a long time.