• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: logout and auto-login
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: logout and auto-login


  • Subject: Re: logout and auto-login
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 10 Dec 2001 11:26:03 +0100

On Sunday, December 9, 2001, at 12:51 PM, Jake wrote:

It is a security application. If it detects an anomaly, it is to terminate
the current session and logout the user "gracefully by force". It appears
that killing either the "loginwindow" or "WindowServer" does the job. But
I can't seem to be able to get the pid of those process from within my
program without resorting to a shell scripts: getpgrp() doesn't yet exist
in OSX, and I can't walk the process table because of permission issues.
(ps is suid). Any suggestions?

IMHO, the appropriate solution would be to send an AppleEvent to LoginWindow.app to logout the user.

Yet I'm a bit dubitative to ever see a description on how to do this, since it's the same issue that the one with the restart and shutdown Apple events.

It looks like this is a feature that we are not allowed to use.


  • Follow-Ups:
    • Re: logout and auto-login
      • From: Matt Rollefson <email@hidden>
References: 
 >Re: logout and auto-login (From: Jake <email@hidden>)

  • Prev by Date: Main thread to another
  • Next by Date: Re: Main thread to another
  • Previous by thread: Re: logout and auto-login
  • Next by thread: Re: logout and auto-login
  • Index(es):
    • Date
    • Thread