Re: Scripting a Sys Pref
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