tags:

views:

86

answers:

2

Hi,

I am trying to create a program which will receive user credentials from a remote machine (where the user will be working), and forward these credentials to the login window of OS X. I know it can be done using AppleScript, but this is not always working as expected. In particular it is not working when the Mac is booted and no user has logged in yet. Is there another way to do this ?

Cheers
Alan J. Caruana

A: 

Can you use the existing Apple Remote Desktop solution? This allows users to login directly to OS X from any machine that has a VNC client. And if you don't need a GUI connection, there's always ssh.

Ned Deily
No. I am creating a different solution that uses a different protocol to VNC, meaning I cannot either use Screen Sharing, or any readily-available products. I am creating a product.
ajcaruana
+1  A: 

You'll need to write an authorization plugin. You can think of your task as something like using a smartcard reader to log in.

Nicholas Riley
Thanks. I wrote a plugin which (for testing purposes) always tries to give a hard-coded set of credentials. The plugin is being loaded, but nothing seems to be working. Do you have any idea how I should pass the credentials ?
ajcaruana