问题描述
我想创建一个程序,它会从远程计算机接收用户凭据(用户将工作),并转发这些凭证OS X的登录窗口,我知道它可以使用AppleScript来完成,但这是不总是按预期工作。特别是当在Mac引导,也没有用户已登录但它不工作。是否有另一种方式来做到这一点?
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 ?
干杯结果
阿兰·卡鲁阿纳J.
Cheers
Alan J. Caruana
推荐答案
您将需要编写一个授权插件。你可以把你的任务,因为像使用智能卡阅读器登录。
You'll need to write an authorization plugin. You can think of your task as something like using a smartcard reader to log in.
这篇关于编程方式登录到OS X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!