Alternate Shells
Ken Arnold%CGL
arnold at ucsfcgl.UUCP
Fri Aug 23 15:36:20 AEST 1985
In article <782 at brl-tgr.ARPA> gwyn at brl-tgr.ARPA (Doug Gwyn <gwyn>) writes:
>> [explanation by me of why chsh is limited to two shells in order to avoid
>> pranks being played on people in the bathroom, or wherever]
>
>But that doesn't help. The prankster can always add something like
> exec echo goodbye
>as the last line of a .profile (or .login) even if chsh never existed.
>The solution to unattended logged-in terminals is to not have any.
You can never convince people that if they just run off and relieve
themselves or get a candy bar that they can't just leave the terminal
alone (just for a second). At least until somebody has screwed them
up at least once. There are a large number of ways to mess up such
people, but even messing with a .profile can at least potentially be
bypassed by leaning on a repeating delete key as you log in, and hope
to interrupt processing of the .cshrc/.login/.profile file. With
chsh pranks, you can (by definition) do nothing.
Ken Arnold
More information about the Comp.unix
mailing list