Skip to main content
Question

Off-topic Scripting Question


Forum|alt.badge.img+9

First, sorry for the off-topic post.

Is there a way to script the Login Option in the Accounts pane in System Preferences to "Allow network users to log in at login window" and set it to "Only these network users:" followed by a network user or two? I can't do this via WGM for several reasons, and instead of creating a new base image with that option, I'd prefer to throw a script in the configuration, if it's possible.

Any help is appreciated.

Thanks,

Jeffrey A. Strauss
Systems Administrator
Department of Educational Technology
Loyola High School of Los Angeles
1901 Venice Boulevard
Los Angeles, Ca 90006
213.381.5121 x. 265

2 replies

Forum|alt.badge.img+24
  • Valued Contributor
  • 1892 replies
  • August 25, 2010

You can script dscl commands. The com.apple.loginwindow.netaccounts group is what you want to edit group membership of.

j
--
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436


Forum|alt.badge.img+9
  • Author
  • Contributor
  • 113 replies
  • August 25, 2010

Thanks.

Jeffrey A. Strauss
Systems Administrator
Department of Educational Technology
Loyola High School of Los Angeles
1901 Venice Boulevard
Los Angeles, Ca 90006
213.381.5121 x. 265


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings