• 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: Scripting a Sys Pref
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting a Sys Pref


  • Subject: Re: Scripting a Sys Pref
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 14 Jul 2010 23:54:42 +0200

Le 11 juil. 2010 à 13:30:46, Joy Seeley a écrit :

> Hello all,
>
> I've been trying to find the command line for a specific option in the Systems Preferences and have posted my question to a few other groups, but haven't heard anything yet.  So I'm trying my luck here.
>
> Under the Accounts Pane, in 10.6.3 and up only, under Login Options, there is an Option to only allow specific users to login to your machine, whether they be local or network.  I'm trying to figure out how to add the first user that logs into that machine, only, as the allowed user to login.  So basically this would only need to run once and that's it.
>
> Does anyone have any information on this?

Hello Joy,

If I correctly understood your question, the related setting is stored in Directory Service's local node, as a matter of nested groups; you could experiment by changing the config in the Accounts Pane and have a look at the output of following shell command:

	dscl . read /Groups/com.apple.access_loginwindow

Could you confirm this is what you were considering?

HTH,
Axel



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Scripting a Sys Pref
      • From: Joy <email@hidden>
References: 
 >Scripting a Sys Pref (From: Joy Seeley <email@hidden>)

  • Prev by Date: Automatic audio capture
  • Next by Date: Re: Automatic audio capture
  • Previous by thread: Re: Scripting a Sys Pref
  • Next by thread: Re: Scripting a Sys Pref
  • Index(es):
    • Date
    • Thread