You can use Applescript to create a Keychain entry for the wireless network. To find the relevant commands specific to the task, in script editor go to:
File -> Open Dictionary -> Keychain Scripting All you need to do is get your head around the mindblowingly awful syntax and grammar of Applescript. :) Gil On Tue, Mar 24, 2009 at 8:29 AM, Stefan <[email protected]> wrote: > see if: > > $man networksetup > > reveals anything of use ... > > Stefan > > On Tue, Mar 24, 2009 at 1:08 AM, Ski Kacoroski <[email protected]> wrote: >> Hi, >> >> This should be a simple thing, but I keep running into walls. We need >> to change the wireless password on one of our schools network (WPA2 >> encryption) and move another network into production. The server side >> is easy. The problem I have is that I cannot figure out a way to add a >> wireless network and change a wireless network password on OSX without >> using the GUI as the local user (and I really do not want to touch 6000 >> workstations by hand). >> >> I can use the networksetup and airport commands to set it temporarily, >> but once the machine reboots the changes are lost. I can create >> passwords in the system keychain as root, but not in the user's login >> keychain and for some reason, the network chooser requires an entry in >> the user's login keychain. >> >> Any ideas or hints on how other people manage wireless passwords on OSX >> are most appreciated. >> >> cheers, >> >> ski >> >> -- >> "When we try to pick out anything by itself, we find it >> connected to the entire universe" John Muir >> >> Chris "Ski" Kacoroski, [email protected], 206-501-9803 >> or ski98033 on most IM services >> >> >> _______________________________________________ >> Tech mailing list >> [email protected] >> http://lopsa.org/cgi-bin/mailman/listinfo/tech >> This list provided by the League of Professional System Administrators >> http://lopsa.org/ >> > > _______________________________________________ > sage-members mailing list > [email protected] > http://mailman.sage.org/mailman/listinfo/sage-members > _______________________________________________ Tech mailing list [email protected] http://lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
