Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!caen!caen.engin.umich.edu!grue From: grue@caen.engin.umich.edu (Paul Howell) Newsgroups: comp.windows.x Subject: Who's on the console? Keywords: XDM Message-ID: <1990Sep30.151744.19871@caen.engin.umich.edu> Date: 30 Sep 90 15:17:44 GMT Sender: news@caen.engin.umich.edu (CAEN Netnews) Reply-To: grue@caen.engin.umich.edu (Paul Howell) Organization: University of Michigan Engineering, Ann Arbor Lines: 13 We're running X11R4 on DECstations (Ultrix 3.1d) and using XDM to log people in. We have a program (not an X client) that we want only the person logged in at the console to be able to run. But unlike login, XDM doesn't change the ownership of /dev/console to the person currently logged in. So you can't stat /dev/console and get the person logged in. How can you tell if the person running your program is logged in at the console? Thanks. --- Paul Howell grue@caen.engin.umich.edu