We wrote our own shell when I was at university (which was completely offensive, not at all obedient and generally no help whatsoever) and chsh'ed them if they left a terminal open :)
(for ref, we had to do very naughty things to SunOS 4 to add it to /etc/shells)
(for ref, we had to do very naughty things to SunOS 4 to add it to /etc/shells)