Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Who's on the console? Message-ID: <9010011253.AA22019@expire.lcs.mit.edu> Date: 1 Oct 90 12:53:11 GMT References: <1990Sep30.151744.19871@caen.engin.umich.edu> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 8 How can you tell if the person running your program is logged in at the console? This will be easier in R5, but have your xdm run a special startup/reset script for the server on the console. Have the startup script chown /dev/console to $USER, and have the reset script chown it back to root and chmod it back to 622.