I'm trying to write a auto-logout facility and am using vhangup to reinitialise a users tty. This does some bizarre things, and several people have suggested that I kill the users shell process instead. I was wondering if anyone had any experiences( pleasant or unpleasant) with the vhangup() call. I'd appreciate any suggestions...