• 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: Finlay Dobbie <email@hidden>
  • Date: Sun, 9 Dec 2001 10:38:21 +0000

On Sunday, December 9, 2001, at 09:14 am, Jake wrote:

What is a preferred method to log the user out of the system
programmatically? I tried kill(-1, x). It did indeed log the user out.
However, this rendered the system to an unusable state, as now the login
just hangs with the progress bar spinning.

You could kill the windowserver, but that's a bit evil. I'm not sure of the recommended way of doing it, in fact, I wouldn't be surprised if there was no recommended way of doing it -- why are you doing it?

Also what exactly happens behind the scene when a user modifieds the
"Automatically Login As" checkbox in the login preference? Is it set
in the NI database, the user preference or some system preference?

It's /localconfig/autologin in NetInfo. (key = "username", value = "theusernametologinas")

-- Finlay


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

  • Prev by Date: Document-Based, but not really...
  • Next by Date: Re: logout and auto-login
  • Previous by thread: logout and auto-login
  • Next by thread: Re: logout and auto-login
  • Index(es):
    • Date
    • Thread